From patchwork Wed Dec 19 22:46:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sinan Kaya X-Patchwork-Id: 10738257 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 8461E6C2 for ; Wed, 19 Dec 2018 22:47:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 72068286B5 for ; Wed, 19 Dec 2018 22:47:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 651BB286C1; Wed, 19 Dec 2018 22:47:36 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EEC46286B5 for ; Wed, 19 Dec 2018 22:47:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NEUcHVJNwVcK1MtsWkmhYoOx7/CzX9L5HkTf3vphAeM=; b=XZKPHKSN/mKAry eXgIa5+2b7+qR5mNEo/OvBBzjTt2zgQiUe+ArjsG3ICP0CxWdsGDyxGHkgTbYh4wZ6FYXzsMl3TX/ gfUshGYDVs6un2Kmcsip/UosD5Ow1llYT1KMID9M841qz7+8ihesmilEcd6rl2T0pP09BVqwDmWHj sMy/s7d1UatgvaTCnTPzXRX/lofKt8OoicGrIXtdYyVqeH51yvMf9xz8QsXeQ4kuRjhfu5gW20BmR qDn0KBM+KVTJsJIuULwusRxtk9GZ0lkyH/p4t3CVJlFAlVi4iLMz/DsxjqPezs4UzsWnebXFkqyHG tnKrpLPpl2IaPS8SSHNw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZkcj-000301-AT; Wed, 19 Dec 2018 22:47:29 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZkcg-0002xw-DN for linux-arm-kernel@lists.infradead.org; Wed, 19 Dec 2018 22:47:27 +0000 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 DEFA22133F; Wed, 19 Dec 2018 22:47:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545259634; bh=MLMGWi5cjWSTIwETIFeyETUoUs3RMVxywCoyrYA70gs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XPuJI5KNCbXGa58tERvHVox0nCuJO+PLThx+7ooxBqV7f3Je3h4N+XU4DOQWHoh98 bQaUS09hzd11ZuzU0HNmc99OSrHQsSX6m6mEApld6ko34p/rkxFlVDygYfUUmgoqwi +/FjvsJ7+qcodApjPr7jdR8QjFDMcdKDXlQ/tzuc= From: Sinan Kaya To: linux-acpi@vger.kernel.org Subject: [PATCH v12 5/7] arm64: select ACPI PCI code only when both features are enabled Date: Wed, 19 Dec 2018 22:46:57 +0000 Message-Id: <20181219224659.4802-6-okaya@kernel.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181219224659.4802-1-okaya@kernel.org> References: <20181219224659.4802-1-okaya@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181219_144726_463878_0BE09E5C X-CRM114-Status: GOOD ( 10.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Catalin Marinas , Sinan Kaya , "moderated list:ARM64 PORT AARCH64 ARCHITECTURE" , Will Deacon , open list Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP ACPI and PCI are no longer coupled to each other. Specify requirements for both when pulling in code. Signed-off-by: Sinan Kaya Acked-by: Catalin Marinas --- arch/arm64/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index ea2ab0330e3a..bcb6262044d8 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -5,7 +5,7 @@ config ARM64 select ACPI_GTDT if ACPI select ACPI_IORT if ACPI select ACPI_REDUCED_HARDWARE_ONLY if ACPI - select ACPI_MCFG if ACPI + select ACPI_MCFG if (ACPI && PCI) select ACPI_SPCR_TABLE if ACPI select ACPI_PPTT if ACPI select ARCH_CLOCKSOURCE_DATA @@ -163,7 +163,7 @@ config ARM64 select OF select OF_EARLY_FLATTREE select OF_RESERVED_MEM - select PCI_ECAM if ACPI + select PCI_ECAM if (ACPI && PCI) select POWER_RESET select POWER_SUPPLY select REFCOUNT_FULL