[PATCH] arm64: defconfig: Fix unintentional disablement of PCI on i.MX

Hongxing Zhu hongxing.zhu at nxp.com
Mon Feb 20 18:57:16 PST 2023


> -----Original Message-----
> From: Mark Brown <broonie at kernel.org>
> Sent: 2023年2月21日 3:10
> To: Catalin Marinas <catalin.marinas at arm.com>; Will Deacon
> <will at kernel.org>; soc at kernel.org; Hongxing Zhu <hongxing.zhu at nxp.com>;
> Lorenzo Pieralisi <lpieralisi at kernel.org>; Hongxing Zhu
> <hongxing.zhu at nxp.com>; Lucas Stach <l.stach at pengutronix.de>
> Cc: Michael Walle <michael at walle.cc>; Krzysztof Wilczyński
> <kw at linux.com>; Kishon Vijay Abraham I <kishon at kernel.org>;
> linux-pci at vger.kernel.org; linux-arm-kernel at lists.infradead.org; Manivannan
> Sadhasivam <mani at kernel.org>; kernelci.org bot <bot at kernelci.org>; Mark
> Brown <broonie at kernel.org>
> Subject: [PATCH] arm64: defconfig: Fix unintentional disablement of PCI on
> i.MX
> 
> A recent update to support PCI endpoint mode on i.MX platforms
> unintentionally disabled PCI host support for i.MX in defconfig.  The existing
> PCI_IMX6 was made a hidden option, selected by new options
> PCI_IMX6_HOST (for the existing support) and PCI_IMX6_EP (for the endpoint
> mode), but there has been no corresponding update to defconfig so the
> PCI_IMX6 ends up getting disabled.  Switch defconfig to PCI_IMX6_HOST to
> preserve the existing functionality.
> 
> Fixes: 75c2f26da03f ("PCI: imx6: Add i.MX PCIe EP mode support")
> Reported-by: "kernelci.org bot" <bot at kernelci.org>
> Signed-off-by: Mark Brown <broonie at kernel.org>
> ---
Thanks a lot for your fix.
Reviewed-by: Richard Zhu <hongxing.zhu at nxp.com>

Best Regards
Richard Zhu

>  arch/arm64/configs/defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index b452d8d7a32c..36f5c9ecc871 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -219,7 +219,7 @@ CONFIG_PCI_HOST_THUNDER_ECAM=y
> CONFIG_PCIE_ROCKCHIP_HOST=m  CONFIG_PCIE_MEDIATEK_GEN3=m
> CONFIG_PCIE_BRCMSTB=m -CONFIG_PCI_IMX6=y
> +CONFIG_PCI_IMX6_HOST=y
>  CONFIG_PCI_LAYERSCAPE=y
>  CONFIG_PCI_HISI=y
>  CONFIG_PCIE_QCOM=y
> 
> ---
> base-commit: d2af0fa4bfa4ec29d03b449ccd43fee39501112d
> change-id: 20230220-imx-pci-defconfig-8a3a283b798a
> 
> Best regards,
> --
> Mark Brown <broonie at kernel.org>



More information about the linux-arm-kernel mailing list