From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH v6 1/5] APCI: MCFG: Move mmcfg_list management to drivers/acpi Date: Thu, 14 Jan 2016 10:33:54 +0000 Message-ID: <56977992.7060808__31042.1935203069$1452768225$gmane$org@citrix.com> References: <1452756761-29584-1-git-send-email-jchandra@broadcom.com> <1452756761-29584-2-git-send-email-jchandra@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aJfMJ-0001O9-BV for xen-devel@lists.xenproject.org; Thu, 14 Jan 2016 10:42:27 +0000 In-Reply-To: <1452756761-29584-2-git-send-email-jchandra@broadcom.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jayachandran C , linux-pci@vger.kernel.org, Bjorn Helgaas , linux-acpi@vger.kernel.org, Arnd Bergmann , linux-arm-kernel@lists.infradead.org, "Rafael J. Wysocki" Cc: Tomasz Nowicki , Lorenzo Pieralisi , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On 14/01/16 07:32, Jayachandran C wrote: > Move pci_mmcfg_list handling to a drivers/acpi/pci_mcfg.c. This is > to share the API and code with ARM64 later. The corresponding > declarations are moved from asm/pci_x86.h to linux/pci-acpi.h [...] > --- a/drivers/xen/pci.c > +++ b/drivers/xen/pci.c > @@ -27,9 +27,6 @@ > #include > #include > #include "../pci/pci.h" > -#ifdef CONFIG_PCI_MMCONFIG > -#include > -#endif > > static bool __read_mostly pci_seg_supported = true; > > @@ -221,7 +218,7 @@ static int __init xen_mcfg_late(void) > if (!xen_initial_domain()) > return 0; > > - if ((pci_probe & PCI_PROBE_MMCONF) == 0) > + if (!pci_mmconfig_enabled()) > return 0; > > if (list_empty(&pci_mmcfg_list)) Xen parts: Acked-by: David Vrabel David