From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:50798 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751648AbdDKEir (ORCPT ); Tue, 11 Apr 2017 00:38:47 -0400 Date: Tue, 11 Apr 2017 06:38:38 +0200 From: "gregkh@linuxfoundation.org" To: alexander.levin@verizon.com Cc: "stable@vger.kernel.org" Subject: Re: [PATCH for 4.9 27/98] PCI: Add MCFG quirks for Cavium ThunderX pass1.x host controller Message-ID: <20170411043838.GA3607@kroah.com> References: <20170404193158.19041-1-alexander.levin@verizon.com> <20170404193158.19041-28-alexander.levin@verizon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170404193158.19041-28-alexander.levin@verizon.com> Sender: stable-owner@vger.kernel.org List-ID: On Tue, Apr 04, 2017 at 07:32:12PM +0000, alexander.levin@verizon.com wrote: > From: Tomasz Nowicki > > [ Upstream commit 648d93fc77da4f655cf13108417f33c91d745e2c ] > > ThunderX pass1.x requires to emulate the EA headers for on-chip devices > hence it has to use custom pci_thunder_ecam_ops for accessing PCI config > space (pci-thunder-ecam.c). Add new entries to MCFG quirk array where it > can be applied while probing ACPI based PCI host controller. > > ThunderX pass1.x is using the same way for accessing off-chip devices > (so-called PEM) as silicon pass-2.x so we need to add PEM quirk entries > too. > > Quirk is considered for ThunderX silicon pass1.x only which is identified > via MCFG revision 2. > > ThunderX pass 1.x requires the following accessors: > > NUMA node 0 PCI segments 0- 3: pci_thunder_ecam_ops (MCFG quirk) > NUMA node 0 PCI segments 4- 9: thunder_pem_ecam_ops (MCFG quirk) > NUMA node 1 PCI segments 10-13: pci_thunder_ecam_ops (MCFG quirk) > NUMA node 1 PCI segments 14-19: thunder_pem_ecam_ops (MCFG quirk) > > [bhelgaas: change Makefile/ifdefs so quirk doesn't depend on > CONFIG_PCI_HOST_THUNDER_ECAM] > Signed-off-by: Tomasz Nowicki > Signed-off-by: Bjorn Helgaas > > Signed-off-by: Sasha Levin > --- > drivers/acpi/pci_mcfg.c | 15 +++++++++++++++ > drivers/pci/host/Kconfig | 3 ++- > drivers/pci/host/Makefile | 2 +- > drivers/pci/host/pci-thunder-ecam.c | 9 ++++++++- > include/linux/pci-ecam.h | 3 ++- > 5 files changed, 28 insertions(+), 4 deletions(-) This broke the build (with the later patches), so I've dropped it, and others in the series that depended on it. Please fix up the build issues on arm if you want them applied there. thanks, greg k-h