From patchwork Wed Dec 19 22:46:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sinan Kaya X-Patchwork-Id: 10738249 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 16BD96C2 for ; Wed, 19 Dec 2018 22:47:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3B61286B5 for ; Wed, 19 Dec 2018 22:47:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4094286C1; Wed, 19 Dec 2018 22:47:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8AEA6286B5 for ; Wed, 19 Dec 2018 22:47:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727151AbeLSWrF (ORCPT ); Wed, 19 Dec 2018 17:47:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:59636 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726716AbeLSWrF (ORCPT ); Wed, 19 Dec 2018 17:47:05 -0500 Received: from sinanubuntu1604.mkjiurmyylmellclgttazegk5f.bx.internal.cloudapp.net (unknown [13.90.192.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 23D7C20869; Wed, 19 Dec 2018 22:47:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545259624; bh=g5Gahq0q/nOPq53NCrqlb+Wb59kyNfDtwYYwpHZKA6Q=; h=From:To:Cc:Subject:Date:From; b=VU1pnOLQXzWqasYOVgOmoVcfrdEihfkOfD7ZvvJtbbYmbk/HE68BYgc103wI62MX7 0zvZb7fSNDzzynWDeW89rDX6bhU6HI+BlgQ3iOQnmW0ZYxNCicabUL1ZLMR7x9bOrT qMFKUG4Sy6H6GdwgPHMxWuPFeTXxb+vw4JsWJ8iA= From: Sinan Kaya To: linux-acpi@vger.kernel.org Cc: Sinan Kaya Subject: [PATCH v12 0/7] ACPI: Allow ACPI to be built without CONFIG_PCI set Date: Wed, 19 Dec 2018 22:46:52 +0000 Message-Id: <20181219224659.4802-1-okaya@kernel.org> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Changes from v11: collect acked by for ACPI/IORT split ACPI reboot into is own function per feedback from Christoph. Removed more ACPICA functions that depend on PCI and moved #ifdef outside of acpi_os_(read/write)_pci_configurations() Sinan Kaya (7): ACPI: Move PCI reset to a separate function ACPI: Allow CONFIG_PCI to be unset for reboot ACPICA: Remove PCI bits from ACPICA when CONFIG_PCI is unset PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set arm64: select ACPI PCI code only when both features are enabled ACPI/IORT: Stub out ACS functions when CONFIG_PCI is not set ACPI: Make PCI slot detection driver depend on PCI arch/arm64/Kconfig | 4 ++-- arch/x86/include/asm/pci_x86.h | 7 ++++++ drivers/acpi/Kconfig | 3 +-- drivers/acpi/Makefile | 2 +- drivers/acpi/acpica/Makefile | 2 +- drivers/acpi/acpica/achware.h | 9 ++++++++ drivers/acpi/acpica/evhandler.c | 8 +++---- drivers/acpi/acpica/exregion.c | 4 ++++ drivers/acpi/arm64/iort.c | 20 +++++++++++------ drivers/acpi/internal.h | 5 +++++ drivers/acpi/osl.c | 2 ++ drivers/acpi/reboot.c | 40 ++++++++++++++++++++++----------- drivers/pci/Makefile | 2 +- include/acpi/acpi_drivers.h | 7 ++++++ include/acpi/platform/aclinux.h | 4 ++++ include/linux/acpi.h | 7 ++++++ include/linux/pci.h | 4 ++++ 17 files changed, 99 insertions(+), 31 deletions(-)