[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250319214704.GA1064668@bhelgaas>
Date: Wed, 19 Mar 2025 16:47:04 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Thippeswamy Havalige <thippeswamy.havalige@....com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Krzysztof WilczyĆski <kw@...ux.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Rob Herring <robh@...nel.org>, Bjorn Helgaas <bhelgaas@...gle.com>,
Shashank Babu Chinta Venkata <quic_schintav@...cinc.com>,
Johan Hovold <johan+linaro@...nel.org>,
Niklas Cassel <cassel@...nel.org>, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] PCI: dwc: PCIE_AMD_MDB should depend on ARM64
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@...der.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
>
Powered by blists - more mailing lists