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: 8024831 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 3DBE09F744 for ; Wed, 13 Jan 2016 13:22:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 579C020498 for ; Wed, 13 Jan 2016 13:22:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6CB4E20490 for ; Wed, 13 Jan 2016 13:22:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760282AbcAMNWJ (ORCPT ); Wed, 13 Jan 2016 08:22:09 -0500 Received: from mail-wm0-f45.google.com ([74.125.82.45]:36471 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760280AbcAMNV7 (ORCPT ); Wed, 13 Jan 2016 08:21:59 -0500 Received: by mail-wm0-f45.google.com with SMTP id l65so293174633wmf.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=iC6RmcuKNhr4Q8kWs8AeBivwrQEpuvyw38t0EYpWIZ2wYeCWDK86SyUXZiv4PU/uXj mOllq9gqfp3CNC3VscTtKA6CBZl058lJBNGkcVU+b1/UynaoUHsTs/TZtJF8jaiynse1 BRI/GFBF0b8W9Xl9ZHZz0JQsxPplWRgqQXJoigFKDyxCk0lEgAUlDzemNJqJkUGljvIv r8cNIUc5zFoAosZ//MN2ikfaFBDJ+4fbTqwTevnMNgOU8mrtxHH31HixrzXCJkN0jqu2 WB4iEziFIPvTs82ycIq9P0SRBYKu3N7bebwankJYV/S26+N2NYYl7dHWv9Od1r4H1ALo 2Jjw== X-Gm-Message-State: ALoCoQlAIWINh4hSlffoAr4xiE9Upq/PniGgVUn3ii2dxL+KmGIEaYqt1i9FQia9U4eh+fnL5tadO9luK2kP4gtJXtFsYhw6Nw== 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 Cc: robert.richter@caviumnetworks.com, mw@semihalf.com, Liviu.Dudau@arm.com, ddaney@caviumnetworks.com, tglx@linutronix.de, 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 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> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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