* [PATCH] PCI: dwc: PCIE_AMD_MDB should depend on ARM64
@ 2025-03-18 14:00 Geert Uytterhoeven
2025-03-19 21:47 ` Bjorn Helgaas
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2025-03-18 14:00 UTC (permalink / raw)
To: Thippeswamy Havalige, Lorenzo Pieralisi,
Krzysztof Wilczyński, Manivannan Sadhasivam, Rob Herring,
Bjorn Helgaas, Shashank Babu Chinta Venkata, Johan Hovold,
Niklas Cassel
Cc: linux-pci, linux-kernel, Geert Uytterhoeven
The AMD MDB Versal2 PCIe controller is only present on AMD Versal2
ARM64-based SoCs. Hence add a dependency on ARM64, to prevent asking
the user about this driver when configuring a kernel for a different
architecture than ARM64.
Fixes: e229f853f5b277a5 ("PCI: amd-mdb: Add AMD MDB Root Port driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
To be replaced by ARCH_VERSAL, if/when it ever appears for real.
---
drivers/pci/controller/dwc/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
index 39b1a89cb6b7ee80..48f1e3c7825b55e0 100644
--- a/drivers/pci/controller/dwc/Kconfig
+++ b/drivers/pci/controller/dwc/Kconfig
@@ -39,6 +39,7 @@ config PCIE_AL
config PCIE_AMD_MDB
bool "AMD MDB Versal2 PCIe controller"
+ depends on ARM64 || COMPILE_TEST
depends on OF || COMPILE_TEST
depends on PCI_MSI
select PCIE_DW_HOST
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] PCI: dwc: PCIE_AMD_MDB should depend on ARM64
2025-03-18 14:00 [PATCH] PCI: dwc: PCIE_AMD_MDB should depend on ARM64 Geert Uytterhoeven
@ 2025-03-19 21:47 ` Bjorn Helgaas
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2025-03-19 21:47 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Thippeswamy Havalige, Lorenzo Pieralisi,
Krzysztof Wilczyński, Manivannan Sadhasivam, Rob Herring,
Bjorn Helgaas, Shashank Babu Chinta Venkata, Johan Hovold,
Niklas Cassel, linux-pci, linux-kernel
On Tue, Mar 18, 2025 at 03:00:54PM +0100, Geert Uytterhoeven wrote:
> The AMD MDB Versal2 PCIe controller is only present on AMD Versal2
> ARM64-based SoCs. Hence add a dependency on ARM64, to prevent asking
> the user about this driver when configuring a kernel for a different
> architecture than ARM64.
>
> Fixes: e229f853f5b277a5 ("PCI: amd-mdb: Add AMD MDB Root Port driver")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Squashed into e229f853f5b277a5, thanks, Geert!
> ---
> To be replaced by ARCH_VERSAL, if/when it ever appears for real.
> ---
> drivers/pci/controller/dwc/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/controller/dwc/Kconfig b/drivers/pci/controller/dwc/Kconfig
> index 39b1a89cb6b7ee80..48f1e3c7825b55e0 100644
> --- a/drivers/pci/controller/dwc/Kconfig
> +++ b/drivers/pci/controller/dwc/Kconfig
> @@ -39,6 +39,7 @@ config PCIE_AL
>
> config PCIE_AMD_MDB
> bool "AMD MDB Versal2 PCIe controller"
> + depends on ARM64 || COMPILE_TEST
> depends on OF || COMPILE_TEST
> depends on PCI_MSI
> select PCIE_DW_HOST
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-19 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-18 14:00 [PATCH] PCI: dwc: PCIE_AMD_MDB should depend on ARM64 Geert Uytterhoeven
2025-03-19 21:47 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox