From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omzsmtpe03.verizonbusiness.com ([199.249.25.208]:9345 "EHLO omzsmtpe03.verizonbusiness.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754393AbdDDTc5 (ORCPT ); Tue, 4 Apr 2017 15:32:57 -0400 From: alexander.levin@verizon.com To: "gregkh@linuxfoundation.org" CC: "stable@vger.kernel.org" Subject: [PATCH for 4.9 29/98] PCI: Explain ARM64 ACPI/MCFG quirk Kconfig and build strategy Date: Tue, 4 Apr 2017 19:32:13 +0000 Message-ID: <20170404193158.19041-30-alexander.levin@verizon.com> References: <20170404193158.19041-1-alexander.levin@verizon.com> In-Reply-To: <20170404193158.19041-1-alexander.levin@verizon.com> Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: From: Bjorn Helgaas [ Upstream commit ca5ab37b19dfd1d77787d0474b767ec1185670f4 ] Add Makefile comments to explain the Kconfig and build strategy for ARM64 drivers that work around not-quite-ECAM issues. No functional change intended. Signed-off-by: Bjorn Helgaas Signed-off-by: Sasha Levin --- drivers/pci/host/Makefile | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/drivers/pci/host/Makefile b/drivers/pci/host/Makefile index 6cc84b4..bfe3179 100644 --- a/drivers/pci/host/Makefile +++ b/drivers/pci/host/Makefile @@ -15,7 +15,6 @@ obj-$(CONFIG_PCIE_SPEAR13XX) +=3D pcie-spear13xx.o obj-$(CONFIG_PCI_KEYSTONE) +=3D pci-keystone-dw.o pci-keystone.o obj-$(CONFIG_PCIE_XILINX) +=3D pcie-xilinx.o obj-$(CONFIG_PCIE_XILINX_NWL) +=3D pcie-xilinx-nwl.o -obj-$(CONFIG_ARM64) +=3D pci-xgene.o obj-$(CONFIG_PCI_XGENE_MSI) +=3D pci-xgene-msi.o obj-$(CONFIG_PCI_LAYERSCAPE) +=3D pci-layerscape.o obj-$(CONFIG_PCI_VERSATILE) +=3D pci-versatile.o @@ -25,11 +24,23 @@ obj-$(CONFIG_PCIE_IPROC_PLATFORM) +=3D pcie-iproc-platf= orm.o obj-$(CONFIG_PCIE_IPROC_BCMA) +=3D pcie-iproc-bcma.o obj-$(CONFIG_PCIE_ALTERA) +=3D pcie-altera.o obj-$(CONFIG_PCIE_ALTERA_MSI) +=3D pcie-altera-msi.o -obj-$(CONFIG_ARM64) +=3D pcie-hisi.o obj-$(CONFIG_PCIE_QCOM) +=3D pcie-qcom.o -obj-$(CONFIG_ARM64) +=3D pci-thunder-ecam.o -obj-$(CONFIG_ARM64) +=3D pci-thunder-pem.o obj-$(CONFIG_PCIE_ARMADA_8K) +=3D pcie-armada8k.o obj-$(CONFIG_PCIE_ARTPEC6) +=3D pcie-artpec6.o obj-$(CONFIG_PCIE_ROCKCHIP) +=3D pcie-rockchip.o obj-$(CONFIG_VMD) +=3D vmd.o + +# The following drivers are for devices that use the generic ACPI +# pci_root.c driver but don't support standard ECAM config access. +# They contain MCFG quirks to replace the generic ECAM accessors with +# device-specific ones that are shared with the DT driver. + +# The ACPI driver is generic and should not require driver-specific +# config options to be enabled, so we always build these drivers on +# ARM64 and use internal ifdefs to only build the pieces we need +# depending on whether ACPI, the DT driver, or both are enabled. + +obj-$(CONFIG_ARM64) +=3D pcie-hisi.o +obj-$(CONFIG_ARM64) +=3D pci-thunder-ecam.o +obj-$(CONFIG_ARM64) +=3D pci-thunder-pem.o +obj-$(CONFIG_ARM64) +=3D pci-xgene.o --=20 2.9.3