From patchwork Tue Dec 18 02:55:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sinan Kaya X-Patchwork-Id: 10734621 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 2C1D414E2 for ; Tue, 18 Dec 2018 02:56:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C56B2A5FB for ; Tue, 18 Dec 2018 02:56:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10E5F2A616; Tue, 18 Dec 2018 02:56:18 +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 BD6E92A5FB for ; Tue, 18 Dec 2018 02:56:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726492AbeLRC4K (ORCPT ); Mon, 17 Dec 2018 21:56:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:38060 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726301AbeLRC4J (ORCPT ); Mon, 17 Dec 2018 21:56:09 -0500 Received: from sinanubuntu1604.mkjiurmyylmellclgttazegk5f.bx.internal.cloudapp.net (unknown [40.76.210.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6F31D217D9; Tue, 18 Dec 2018 02:56:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545101768; bh=Beetic0aGNmLIHbu6lCudRc3QDv8JdccxGgSW4P4R60=; h=From:To:Cc:Subject:Date:From; b=uTIqennpaQ1Wenfd0+Lg6pMEz8PDncBMOdpmLrz2WkB4LyK/VAY2T7V3nbTNyqNIL y3J8VGkOFhHwHEHFiF4KqIa/DAZw2fF5PAp5bGt5c7vgicuj8Z+1PlNWK77XDU06oq uzoJMjzLrNZOu0n1p6Be+qHXGANZC/xyiHRU9SAQ= From: Sinan Kaya To: linux-acpi@vger.kernel.org Cc: Sinan Kaya Subject: [PATCH v11 0/7] ACPI: Allow ACPI to be built without CONFIG_PCI set Date: Tue, 18 Dec 2018 02:55:59 +0000 Message-Id: <20181218025606.32668-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 Diff from v10: Rework 6/7 per input from Lorenzo. Collect acked by from Catalin for 5/7 Collect acked by from Ingo for 3/7 Add new patch 7/7 to make ACPI PCI slot detection driver depend on PCI per bug report from Hanjun Sinan Kaya (7): ACPI: Allow CONFIG_PCI to be unset for reboot ACPI / OSL: Stub out acpi_os_(read/write)_pci_configurations() PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set ACPICA: Remove PCI bits from ACPICA when CONFIG_PCI is unset arm64: select ACPI PCI code only 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/arm64/iort.c | 21 ++++++++++++++------- drivers/acpi/internal.h | 5 +++++ drivers/acpi/osl.c | 14 ++++++++++++++ drivers/acpi/reboot.c | 10 +++++++--- 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 ++++ 15 files changed, 84 insertions(+), 17 deletions(-)