Received: by 10.223.176.46 with SMTP id f43csp2524298wra; Sun, 21 Jan 2018 22:14:00 -0800 (PST) X-Google-Smtp-Source: AH8x225DH1DMtRZfvUenTQCtlIq/SclstWod8gNrqjkrzu++yG81qNaaR1YHL3G8Kjkfbxsm6tEs X-Received: by 10.98.7.207 with SMTP id 76mr7273068pfh.130.1516601640250; Sun, 21 Jan 2018 22:14:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516601640; cv=none; d=google.com; s=arc-20160816; b=hwreE+AijyIlfdZrw/Bg9u8/4JekdBUF6GPcwH6H1QJLlUElrJarnqLPZ999RvNAm2 hsJLf2Xs8kDDTpNpPUawDnMbbfyASucNAX7qvHk7P6k7t8/TDGEvjaePnJFQvQ8gPpO2 e9df8/XnlK64rEuj1Guv0M8xiAkmJWWkisw8ppYO5TdP0g8S1nB6M1nOIkaxYcokQGSg ARrBVTVvWMU916YuCvkF5r3S9DNgWiqPtbCg6y17tP90pDDyz1p015F1u5b/DyaDjixe Yu1zLo6w4/uUVpfR75SCTfuMa3JpbjV7YrJs2f3hmTcQ2nIhKPfNyNqoZjVOe+XeEXgW KjuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=KFOlIpDvnmWqqfA3oK7+VaTXkvNIpoALhutt1XhkPV0=; b=wQG0O5rcWEG/d/uoGxMyhggeNWfVlTEIXaphbtONTxqWeDP/dEZMWb52HX2HmQ1HCY h2yFju1A/77Xz8AzpObV1BVimwGhe2joVtJgIJvrGOj9NGRn30qsXjOMdS69Ab4eiU18 17rZKLDzEozxJwwjFuflIY+0rRy69qeOmXkCIbJuD1rRA98gdcubctDZk84YKIxWYA24 Tth7TcsmwYymRP1JB3HA6lPDjoDxeGI/G1B9UGnqHf4Na4SGFzMr5KZ8z8lJnTtXmCdW pviI4gk9EbD9iyOJDR4XoZEGhvOnxzlYPSZwQSD0GHBMx4O4b/18WlyMr9OvvX9TzsrU lopA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1-v6si357528pld.310.2018.01.21.22.13.44; Sun, 21 Jan 2018 22:14:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751185AbeAVGNR (ORCPT + 99 others); Mon, 22 Jan 2018 01:13:17 -0500 Received: from thoth.sbs.de ([192.35.17.2]:57575 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751003AbeAVGNN (ORCPT ); Mon, 22 Jan 2018 01:13:13 -0500 Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w0M6Cvfa008084 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Jan 2018 07:12:57 +0100 Received: from md1f2u6c.ww002.siemens.net ([167.87.15.170]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id w0M6Cq6l008276; Mon, 22 Jan 2018 07:12:57 +0100 From: Jan Kiszka To: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Bjorn Helgaas Cc: x86@kernel.org, Linux Kernel Mailing List , jailhouse-dev@googlegroups.com, linux-pci@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: [PATCH 4/6] x86: Consolidate PCI_MMCONFIG configs Date: Mon, 22 Jan 2018 07:12:48 +0100 Message-Id: <5dcaec50bb59140c1cb63c35ce566ccc02188bcb.1516601570.git.jan.kiszka@siemens.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Kiszka Not sure if those two worked by design or just by chance so far. In any case, it's at least cleaner and clearer to express this in a single config statement. Signed-off-by: Jan Kiszka --- arch/x86/Kconfig | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 423e4b64e683..f2038417a590 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2595,8 +2595,9 @@ config PCI_DIRECT depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC || PCI_GOMMCONFIG)) config PCI_MMCONFIG - def_bool y - depends on X86_32 && PCI && (ACPI || SFI) && (PCI_GOMMCONFIG || PCI_GOANY) + bool "Support mmconfig PCI config space access" if X86_64 + default y + depends on PCI && (ACPI || SFI) && (PCI_GOMMCONFIG || PCI_GOANY || X86_64) config PCI_OLPC def_bool y @@ -2611,10 +2612,6 @@ config PCI_DOMAINS def_bool y depends on PCI -config PCI_MMCONFIG - bool "Support mmconfig PCI config space access" - depends on X86_64 && PCI && ACPI - config PCI_CNB20LE_QUIRK bool "Read CNB20LE Host Bridge Windows" if EXPERT depends on PCI -- 2.13.6