Message ID | 1452691267-32240-7-git-send-email-tn@semihalf.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DEB249F744 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 13 Jan 2016 13:28:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E7EF620351 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 13 Jan 2016 13:28:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 09D0420490 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 13 Jan 2016 13:28:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aJLNl-0001fN-ML; Wed, 13 Jan 2016 13:22:37 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aJLMz-0001Be-Bh for linux-arm-kernel@lists.infradead.org; Wed, 13 Jan 2016 13:21:53 +0000 Received: by mail-wm0-x22a.google.com with SMTP id f206so293983785wmf.0 for <linux-arm-kernel@lists.infradead.org>; Wed, 13 Jan 2016 05:21:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dHc49EinJL8EzNEAoedlpfAdW4QqQ8G27Jt7XandV1c=; b=Ym/vhxDdpketllqn/V8JoX+sfd70jS8Jp+leyV9slayaFoaNBNfdTAGSKPRMfNj+lr dec4xVi7vs2ti3lpG2xR6NsuiuKgiX8OHDbM/JgtyXyqx5kkshIidzFAGEO1prC/DDOF ayLnmDrAysux7RmjbDV/UKLIX6w0Pj2dXjmDeXV1I86zm9akPfXEZ1FG7y9I/adrqxzi /h9ogvRWLJGIR0hG+RqlqsfS0dYyb667ubW0iGN+p9RaX5ZkMcVPdJM52Ul/fnxEvi+d 10IMS0HO9NqZlzB6f3b5R3+H9nltPdzXRqb5rAroj+ql6TCgEAHWOybryDFhbrKOswSL lQeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dHc49EinJL8EzNEAoedlpfAdW4QqQ8G27Jt7XandV1c=; b=O3Jx7VhxPOn8qUzR9Y7CGRNnWhMPnSokGnniSha1kbi29FXgKj5WNGiPb2oVmN2ZmI 0oj66rEUvL5yglyNub/oGclgiZ6Iy4/nrnyCDxSutwWP22DIjRHcOO3H0dcLwFNtamCG NgX1jNrcbsmbqJAnVnRSDk20PyJU6n8VcCJo76i2mnFT8DGLCYEgKa/5RTqHMrK7ShOa 1AcSwk/wAeYx0s8CF+EiTdc9gd/E+v7VhWz0mPSATDNuWxSWe7AEpiGL3nmtG9WRSW29 Myxvt0lJJY8946Y6E0IbPVcEMOmttR4ZJamPoqKoarMeOfWJn+KXElE6ENXpBDLdxi5M iz4Q== X-Gm-Message-State: ALoCoQn3z68Wqm4I7Nmm71OshzInzi+cBfdDOJxVAqasmJkvwpp9OVQVTUHbYvJsBNNCC6ZQVRyCRDOdES77ULnVrymIPDoIDQ== X-Received: by 10.28.3.134 with SMTP id 128mr24177716wmd.92.1452691290009; Wed, 13 Jan 2016 05:21:30 -0800 (PST) Received: from tn-HP-4.semihalf.local (cardhu.semihalf.com. [213.17.239.108]) by smtp.gmail.com with ESMTPSA id y124sm8858741wmg.3.2016.01.13.05.21.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Jan 2016 05:21:29 -0800 (PST) From: Tomasz Nowicki <tn@semihalf.com> To: bhelgaas@google.com, arnd@arndb.de, will.deacon@arm.com, catalin.marinas@arm.com, rjw@rjwysocki.net, hanjun.guo@linaro.org, Lorenzo.Pieralisi@arm.com, okaya@codeaurora.org, jiang.liu@linux.intel.com, Stefano.Stabellini@eu.citrix.com Subject: [PATCH V3 06/21] XEN / PCI: Remove the dependence on arch x86 when PCI_MMCONFIG=y Date: Wed, 13 Jan 2016 14:20:52 +0100 Message-Id: <1452691267-32240-7-git-send-email-tn@semihalf.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1452691267-32240-1-git-send-email-tn@semihalf.com> References: <1452691267-32240-1-git-send-email-tn@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160113_052149_829925_8C8A8C31 X-CRM114-Status: GOOD ( 13.68 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: jchandra@broadcom.com, jcm@redhat.com, linaro-acpi@lists.linaro.org, linux-pci@vger.kernel.org, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>, Liviu.Dudau@arm.com, ddaney@caviumnetworks.com, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, robert.richter@caviumnetworks.com, Suravee.Suthikulpanit@amd.com, msalter@redhat.com, wangyijing@huawei.com, Tomasz Nowicki <tn@semihalf.com>, tglx@linutronix.de, mw@semihalf.com, Boris Ostrovsky <boris.ostrovsky@oracle.com>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/xen/pci.c b/drivers/xen/pci.c index 6785ebb..9a8dbe3 100644 --- a/drivers/xen/pci.c +++ b/drivers/xen/pci.c @@ -28,9 +28,6 @@ #include <asm/xen/hypervisor.h> #include <asm/xen/hypercall.h> #include "../pci/pci.h" -#ifdef CONFIG_PCI_MMCONFIG -#include <asm/pci_x86.h> -#endif static bool __read_mostly pci_seg_supported = true; @@ -222,9 +219,6 @@ static int __init xen_mcfg_late(void) if (!xen_initial_domain()) return 0; - if ((pci_probe & PCI_PROBE_MMCONF) == 0) - return 0; - if (list_empty(&pci_mmcfg_list)) return 0;