Received: by 10.223.185.116 with SMTP id b49csp7040932wrg; Wed, 28 Feb 2018 21:43:30 -0800 (PST) X-Google-Smtp-Source: AG47ELv6OI/jA1vwzeXJ1Na1iCQtELQILhvzfs+6zV9dgXr+6hEwb1UAzD+MvZU/+Y9cf5VDZeUp X-Received: by 10.99.168.75 with SMTP id i11mr594887pgp.420.1519883010739; Wed, 28 Feb 2018 21:43:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519883010; cv=none; d=google.com; s=arc-20160816; b=ibC+x9j1c7bOzw5qrTR8Mac5zwGHNIlOv8N3PneDxqIv0phk1T8715N88TbUdlNwcb bljnY21Ae04KlTfeSI5wL0R7bK1nPDdi+oZdimFGpiJAE3vNkjK7QeTXVaYpD8pAIIvE hOMFkF/YK9i6C8giyDnIx0xUp6rvq26kSjjmLlnUUN/dfT0TIyIufFnusL8hAFc7yUXo v2BN5HKyKd30FgqhQW3HAdUtK2BkPeDfITi9vzJFfdFMsuGF2BmJYnZy35Chl7R40+94 uiK8mPSbZxxSTwS/aiJxp2sitwR2f7awEBYDxshdLzR+6+gnXgKd6GGemTxKKNUgdwF/ LwAA== 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=/iCOxh0WgpEsD53tswBXG/oOJZH4TmlSFJIoQ6YQ2ZA=; b=s9wWINv+7P5DXDr8i3oM/4OYlc3iUEw7HXsKE3pa39v94TCr6a9oYawQtzgh1H9FuF /xscO/EeFA9ZtAaAaso/7NIxOKfF0m8IuNJPEWQ+gV2pOqwGWFeqS9w/TAD4GGA/Fvp5 2W+vSuOJOm+Oe+bYj1g8iE6feE4Nsdnrq3GvvcXRZAfeWj3tC9NrQVLHdRp3bQol5CyR UJ+bfcFVhNTKuHc68vnNcPJlS+dRJ9eltjXVbtWzWvgKy+2tmU1lz86gY1q8vkG48P4G PHVXjkm9iXePagD3C5/KzHLnEs5XvI1oQ8RQgxBGSO+LfAIEX/S7P510dFjBj9ARtY25 ZV3A== 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 b1si1987600pgs.815.2018.02.28.21.43.16; Wed, 28 Feb 2018 21:43:30 -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 S966175AbeCAFmJ (ORCPT + 99 others); Thu, 1 Mar 2018 00:42:09 -0500 Received: from thoth.sbs.de ([192.35.17.2]:47577 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966070AbeCAFlK (ORCPT ); Thu, 1 Mar 2018 00:41:10 -0500 Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w215er3K021959 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 1 Mar 2018 06:40:53 +0100 Received: from md1f2u6c.ww002.siemens.net ([167.87.33.50]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w215eo93000453; Thu, 1 Mar 2018 06:40:52 +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 v3 4/6] x86: Consolidate PCI_MMCONFIG configs Date: Thu, 1 Mar 2018 06:40:47 +0100 Message-Id: <8527c92b2e2920b8cd9096ddcbbb6d0f4004eb69.1519882849.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. The logic for x86_32, where this option was not under user control, remains identical. On x86_64, PCI_MMCONFIG becomes additionally configurable for SFI systems even if ACPI was disabled. This just simplifies the logic without restricting the configurability in any way. 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 eb7f43f23521..aef9d67ac186 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2641,8 +2641,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) && (X86_64 || (PCI_GOANY || PCI_GOMMCONFIG)) config PCI_OLPC def_bool y @@ -2657,10 +2658,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