[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <35447ba0-21c2-4a12-9d27-033a7be0af3e@aosc.io>
Date: Fri, 12 Sep 2025 00:17:30 +0800
From: Mingcong Bai <jeffbai@...c.io>
To: Chen Wang <unicornxw@...il.com>, kwilczynski@...nel.org,
u.kleine-koenig@...libre.com, aou@...s.berkeley.edu, alex@...ti.fr,
arnd@...db.de, bwawrzyn@...co.com, bhelgaas@...gle.com,
unicorn_wang@...look.com, conor+dt@...nel.org, 18255117159@....com,
inochiama@...il.com, kishon@...nel.org, krzk+dt@...nel.org,
lpieralisi@...nel.org, mani@...nel.org, palmer@...belt.com,
paul.walmsley@...ive.com, robh@...nel.org, s-vadapalli@...com,
tglx@...utronix.de, thomas.richard@...tlin.com, sycamoremoon376@...il.com,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-pci@...r.kernel.org, linux-riscv@...ts.infradead.org,
sophgo@...ts.linux.dev, rabenda.cn@...il.com, chao.wei@...hgo.com,
xiaoguang.xing@...hgo.com, fengchun.li@...hgo.com
Subject: Re: [PATCH v2 3/7] PCI: sg2042: Add Sophgo SG2042 PCIe driver
Hi Chen,
在 2025/9/10 10:08, Chen Wang 写道:
> +config PCIE_SG2042_HOST
> + tristate "Sophgo SG2042 PCIe controller (host mode)"
> + depends on OF && (ARCH_SOPHGO || COMPILE_TEST)
> + select PCIE_CADENCE_HOST
> + help
> + Say Y here if you want to support the Sophgo SG2042 PCIe platform
> + controller in host mode. Sophgo SG2042 PCIe controller uses Cadence
> + PCIe core.
> +
While build testing this patch against v6.16.6, PCIE_SG2042_HOST is set
to "M", the kernel would fail to build during MODPOST:
ERROR: modpost: "cdns_pcie_pm_ops"
[drivers/pci/controller/cadence/pcie-sg2042.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:147: Module.symvers] Error 1
make[1]: *** [[...]/linux-6.16.6/Makefile:1953: modpost] Error 2
make: *** [Makefile:248: __sub-make] Error 2
Best Regards,
Mingcong Bai
Powered by blists - more mailing lists