From patchwork Wed Jan 13 13:21:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Nowicki X-Patchwork-Id: 8025611 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 77673BEEE5 for ; Wed, 13 Jan 2016 13:32:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7885F2047D for ; Wed, 13 Jan 2016 13:32:55 +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 9C0EA20461 for ; Wed, 13 Jan 2016 13:32:54 +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 1aJLUD-0000Eo-9B; Wed, 13 Jan 2016 13:29:17 +0000 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aJLNS-0001LM-JH for linux-arm-kernel@lists.infradead.org; Wed, 13 Jan 2016 13:22:21 +0000 Received: by mail-wm0-x232.google.com with SMTP id b14so371545670wmb.1 for ; Wed, 13 Jan 2016 05:21:59 -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=tATz5hNIXvi0vddnqHbLxMPN9/U/REf3Kb4MCjBN7iM=; b=c4UpZle20xUpa+71DOTD+dHP+ro/N6TWsHdXA/8Cf+rkwSxnN4L4eTGCiffyKkEk8T EMYhA/nLn4baBLFWzfRYU9Z2TjkWkUwlUquuD+r5rR6s+piMH62i6mrx0eB5QdqfOkqw bFLpeDM/xshE+jhNBCekJBCVxB5NEIYYhXcpHg0LSLo8kQWUxIULZDCaueNZu2QCuBNh FecQZOU+MI529G4NvW8OfYQa79u4V2GoT3yQnAU/oJsJaTdDYMJHdD5RwACIhHRrDKMw WB2u4ch1M4inL93x4FFibLOf/Q3EBKI5hGbq8ZImepPSiPK0tK8buKzEIx/e1cBSQDw6 v4Mw== 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=tATz5hNIXvi0vddnqHbLxMPN9/U/REf3Kb4MCjBN7iM=; b=KaVlPMdexCd0ktNK488lya4bK1rHAwhzdD+KDJk9nZo1slc0ymPI8r2O35Vo5OdfRB 0v4WeWe750i8HLAnGYnkyV/1wKbFeyYkqMhJGWta8TMMpY5t7l1p7+pDVK914I0MWJi8 nhFKRyHW1c4r0oeYQn75AWMWwWVBTpVIVe17arP66Jfdb5apauWheLTlM1agW1VcMdCp I/r444etDcmQstbfd9KmRuhFzdkLBCGkfRTpi+Zbb0M3uI2nwXN3/BWOgKQYmXzO5l8h Y320nZjS0be/gy5Gz236WuQ7jks+xfVMVb4jy9PHvs/En/Y3xMFTUZ0muMPUAMMlG2FC kryA== X-Gm-Message-State: ALoCoQlKh4eAas6B7dAMZy+O3GDxk4iAS3TvxTP74VK4hTnAwQZrYe5PNszUd6rz7beTKX7vW9SrtpPJ3AQPrmDRVi2UIuvidQ== X-Received: by 10.194.114.1 with SMTP id jc1mr145205187wjb.78.1452691318771; Wed, 13 Jan 2016 05:21:58 -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.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Jan 2016 05:21:57 -0800 (PST) From: Tomasz Nowicki 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 21/21] arm64, pci, acpi: Start using ACPI based PCI host bridge driver for ARM64. Date: Wed, 13 Jan 2016 14:21:07 +0100 Message-Id: <1452691267-32240-22-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_052219_186679_F2BEB1EE X-CRM114-Status: GOOD ( 10.84 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jchandra@broadcom.com, jcm@redhat.com, linaro-acpi@lists.linaro.org, linux-pci@vger.kernel.org, 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 , tglx@linutronix.de, mw@semihalf.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" 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 Lets get rid of empty PCI init stub, related ACPI header and go with full-blown PCI host bridge driver. Signed-off-by: Tomasz Nowicki CC: Arnd Bergmann CC: Catalin Marinas CC: Liviu Dudau CC: Lorenzo Pieralisi CC: Will Deacon --- arch/arm64/Kconfig | 1 + arch/arm64/kernel/pci.c | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index d65d315..573bebc 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -2,6 +2,7 @@ config ARM64 def_bool y select ACPI_CCA_REQUIRED if ACPI select ACPI_GENERIC_GSI if ACPI + select ACPI_PCI_HOST_GENERIC if ACPI select ACPI_REDUCED_HARDWARE_ONLY if ACPI select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select ARCH_HAS_ELF_RANDOMIZE diff --git a/arch/arm64/kernel/pci.c b/arch/arm64/kernel/pci.c index 023b983..a0929a6 100644 --- a/arch/arm64/kernel/pci.c +++ b/arch/arm64/kernel/pci.c @@ -10,7 +10,6 @@ * */ -#include #include #include #include @@ -60,12 +59,3 @@ int pcibios_add_device(struct pci_dev *dev) return 0; } - -#ifdef CONFIG_ACPI -/* Root bridge scanning */ -struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) -{ - /* TODO: Should be revisited when implementing PCI on ACPI */ - return NULL; -} -#endif