Received: by 10.223.185.116 with SMTP id b49csp1823139wrg; Sun, 4 Mar 2018 10:47:33 -0800 (PST) X-Google-Smtp-Source: AG47ELs+V2vMaTlWVR5jbD9Mmuyob83FRhuluIN69YZ+ch3T4zizDAf7DkoA9T1X+7yPS7Biweox X-Received: by 2002:a17:902:183:: with SMTP id b3-v6mr10735565plb.80.1520189253853; Sun, 04 Mar 2018 10:47:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520189253; cv=none; d=google.com; s=arc-20160816; b=gjjv8/lwkxLt1LWhKyv7TOamM4jWbOcgdoVE9HkhPXYuuX7f6JrIRKO1LkkeB/4PYE AQ8lEY6kddtYfOCh0ML0OdRgEddWX5GtUkGXQl4xRF7mRDPCJLxBjve+C/p0QDkwyBm3 bsLpAjBSkv/S+lz20PHGwcWt2Kyb9tBaeYEVmGh4IOP/PKbcu5vsCZl7EJBuoDkCxoCQ MdLD9jw6lD3kJk3f+aKCfc1GdvfYExiTIiS86j2b7Ucp4dw0HJZqEk2gXKPuk19UN0A1 PxWFC/jC4C6nS2tj1X/n4ockAdqse0TbDmWdj70GKFbiHkMnaQcEV48IQxAQ0A0t24Pg TY5g== 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=NPLSSEb12iAV6U/AdLbXEzxzxjTLfzF60oxJb6aZqH8=; b=CVmxtD3R32stNdDhulNLQn08KuR7mLMxIVDPAIqv6d11G12Xbw9o+up4a3crXxE7AN mTlwawGpXiAvxYNo8DPX7aPXnY9FA8rbhaIQqdT83eXNLkNy58HspoLsoje1qaRNwuDo BsWxgXqbENs2X/3KnfYKy6iKDbJnPQDDfH+Fly6APk+Xy46RXXk15g9yWJXZ8ERNCNG7 a9MpbmBYxjlLzRVg0lUAAvRMryPRQbjxipG2NQp0hJdfQFJoMLAs104y+vGt7ebfPR0U iUoBkRPd22WAIVUIPsEE1CLhnXVXuZPiSTYVzxICsJ4K766Kyf8jzNQAxsdeP1QF2psw iBPg== 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 n6-v6si1747786plp.574.2018.03.04.10.47.19; Sun, 04 Mar 2018 10:47:33 -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 S932112AbeCDScK (ORCPT + 99 others); Sun, 4 Mar 2018 13:32:10 -0500 Received: from goliath.siemens.de ([192.35.17.28]:60005 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751838AbeCDSb6 (ORCPT ); Sun, 4 Mar 2018 13:31:58 -0500 Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w24IViHF022891 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 4 Mar 2018 19:31:44 +0100 Received: from md1f2u6c.ww002.siemens.net ([167.87.43.202]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w24IVdj9022006; Sun, 4 Mar 2018 19:31:43 +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, Andy Shevchenko Subject: [PATCH v4 5/7] x86: Consolidate PCI_MMCONFIG configs Date: Sun, 4 Mar 2018 19:31:37 +0100 Message-Id: <544801a13f892a18a0cba0a55ab1d8d2885ca8f6.1520188299.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 Since e279b6c1d329 ("x86: start unification of arch/x86/Kconfig.*"), we have two PCI_MMCONFIG entries, one from the original i386 and another from x86_64. This consolidates both entries into a single one. Signed-off-by: Jan Kiszka --- arch/x86/Kconfig | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index c19f5342ec2b..8986a6b6e3df 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2641,8 +2641,10 @@ 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) + depends on X86_64 || (PCI_GOANY || PCI_GOMMCONFIG) config PCI_OLPC def_bool y @@ -2657,11 +2659,6 @@ config PCI_DOMAINS def_bool y depends on PCI -config PCI_MMCONFIG - bool "Support mmconfig PCI config space access" - default y - depends on X86_64 && PCI && (ACPI || SFI) - config PCI_CNB20LE_QUIRK bool "Read CNB20LE Host Bridge Windows" if EXPERT depends on PCI -- 2.13.6