From patchwork Thu Feb 4 17:29:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Nowicki X-Patchwork-Id: 8225851 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 0EEF3BEEE5 for ; Thu, 4 Feb 2016 17:31:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CA92C20395 for ; Thu, 4 Feb 2016 17:31:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C94CA20122 for ; Thu, 4 Feb 2016 17:31:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161196AbcBDRbb (ORCPT ); Thu, 4 Feb 2016 12:31:31 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:33354 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966606AbcBDR3t (ORCPT ); Thu, 4 Feb 2016 12:29:49 -0500 Received: by mail-wm0-f44.google.com with SMTP id g62so15111452wme.0 for ; Thu, 04 Feb 2016 09:29:49 -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=ojBlANUQHYZ8aqnsXu9kvj/6GY+pQv2gJY/3obstrtE=; b=m8oe6oOb8OPmes7tAm3yrC3OhD3i9c2aAx714emq3aeK9WcXJ1IeizyWJNgyA3VzYV 7oHBqrWTpylhS3PWpqdElc0x6DXL4zY00w93r3bLRdfkCONri/1srZDr2noYjAO5e95a 4AraiyaD4VcD3Oa9WXzDaMm3GPre/c95EoTMVk8S6ZfPlgB/eJwfRpj30nvYFjFFspUD QDTcilSW16mRU/hCi7gMmr2XBNqnA4cjEqekc+Jjw5wtwzc21cyKE4c/quCKVNI3/sty rrhvxCcxMrnUYOKXGEvAifmv9gBfpd0/frucm/o1LzKuDfVmoKctLXtqe33e6UC2ph0M 1Y7A== 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=ojBlANUQHYZ8aqnsXu9kvj/6GY+pQv2gJY/3obstrtE=; b=AIlTtheCpAHzaca+87uq/rshxHipmYTfGd7rF8u26Z8qzVEy9tyHnyUCIg8h9pMWDF +PIaQeIdv9bELy9w1TGSxHjkUiSZfWZx9UctKlPEVbCU3Xq+t7FxhAJzZumMlWqpXo9o dE82B1nXK/6epg6iId6gRhQrhR5yBr/SObPqdBYOL753JmpFbnSr6mEWL8N3DQ8fkhDq 9/Q5GNFYkhSGCUqVfIpF0Do8xUcOzbDg4ghP4v192Kgk918oLyGWCheJQGisgZtg5Rz7 NVxQnCe4Jr0OM2mk9yXsfo6niuSB60jD80OXZR1sAoF/7jNDLvM/2aDeUw33Jm544xZ4 0olg== X-Gm-Message-State: AG10YOTbR6ERrLapvbGjK4qM94FUjrqWQGCqIFeTbe8xOtBdA8+DnBVo13OC+3sYNZNBhw== X-Received: by 10.194.176.170 with SMTP id cj10mr9509129wjc.165.1454606988340; Thu, 04 Feb 2016 09:29:48 -0800 (PST) Received: from tn-HP-4.semihalf.local (cardhu.semihalf.com. [213.17.239.108]) by smtp.gmail.com with ESMTPSA id w8sm12238889wjx.21.2016.02.04.09.29.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Feb 2016 09:29:47 -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 Cc: robert.richter@caviumnetworks.com, mw@semihalf.com, Liviu.Dudau@arm.com, ddaney@caviumnetworks.com, wangyijing@huawei.com, Suravee.Suthikulpanit@amd.com, msalter@redhat.com, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, jchandra@broadcom.com, jcm@redhat.com, Tomasz Nowicki Subject: [PATCH V4 23/23] arm64, pci, acpi: Start using ACPI based PCI host bridge driver for ARM64. Date: Thu, 4 Feb 2016 18:29:01 +0100 Message-Id: <1454606941-9523-24-git-send-email-tn@semihalf.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1454606941-9523-1-git-send-email-tn@semihalf.com> References: <1454606941-9523-1-git-send-email-tn@semihalf.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 Tested-by: Duc Dang Tested-by: Dongdong Liu Tested-by: Hanjun Guo Tested-by: Graeme Gregory Tested-by: Sinan Kaya --- arch/arm64/Kconfig | 1 + arch/arm64/kernel/pci.c | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 4f45ea4..567523b 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_DEVMEM_IS_ALLOWED select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE diff --git a/arch/arm64/kernel/pci.c b/arch/arm64/kernel/pci.c index d1a701f..0b53262 100644 --- a/arch/arm64/kernel/pci.c +++ b/arch/arm64/kernel/pci.c @@ -70,12 +70,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