Received: by 10.223.185.116 with SMTP id b49csp5830817wrg; Tue, 27 Feb 2018 22:36:06 -0800 (PST) X-Google-Smtp-Source: AH8x226k3mznPXM/LL5wSboB/ubuuKOAev4Bxs4CAPRy13f/MMVjVTKRu1Ydh5htc+U/2gXXV0Mc X-Received: by 10.101.68.82 with SMTP id e18mr13290649pgq.329.1519799766386; Tue, 27 Feb 2018 22:36:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519799766; cv=none; d=google.com; s=arc-20160816; b=D8g+MIZFaNWDAObvSBWnCl5aJkJ8Jy7EO59JnGcoE15hz0SnyTQKFC6nFOM/fc14HM XcBfBwMtFW0m2dl1oBlIjqGaO9Co8+rs4R8X8URyLBKmdDRgP3tDvrb/wgIgF0kta3jZ uVFhlyNBx1GhuYSV6ie2qCTvz8hSBryN7V9js1KvPaDYkptsZYx2QR2fMyLA9tWQtkeI m6B7I0Uqj+TFmTYTChdLoFJxKAbKSU+L3ec8JVhFn5qt0qjtcluVyRjXOxBTR5OX4z2z R/V/l8gzqZ3GIFOZ5Nn4c3yw7HlLg9c3xnDvU3TkMn8DqX5oPtC8zRq7geuP2XMD96GS KqbA== 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=tM4XjX6UKRU7P5rtSM6Pn/h6UuXHCr3JFmmpWqcELbg=; b=opANiVQNWEtdcvsKct9mqaBH9SFjLuxxtmwPkEFc5z/3yW+vXMYAurjYsUtAyvNhnc rigIxuUr5SMi3bZkpLSM02JMx3nDxQ6lPDOpOAnCMXtYtvqtCwDgQnnTo5l/aCuBchzw uDNLPhfEvsNNtp/FdFQcb39Bje6isYXDaRJfxayweeQmm7utVgzjNKltlYcoz6bRpj2y 1myBDJnj2tQL4sSq8EiVrHqqXk3v1vl33JVVSZo/TLkqtzctK5uP/YeciLKpHZUsVrjM ZqoktLX5nLVigkuS8hqhdpZvDfN+0fZohhuSyKXBJONS1jeelmbMDeLzomOu0BuC03uT XLuw== 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 v3-v6si802219plo.32.2018.02.27.22.35.51; Tue, 27 Feb 2018 22:36:06 -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 S1751907AbeB1GfO (ORCPT + 99 others); Wed, 28 Feb 2018 01:35:14 -0500 Received: from david.siemens.de ([192.35.17.14]:45976 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751646AbeB1GfM (ORCPT ); Wed, 28 Feb 2018 01:35:12 -0500 Received: from mail3.siemens.de (mail3.siemens.de [139.25.208.14]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id w1S6YvdQ013932 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Feb 2018 07:34:57 +0100 Received: from md1f2u6c.ww002.siemens.net ([167.87.77.211]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w1S6Yqu6013249; Wed, 28 Feb 2018 07:34:56 +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 v2 4/6] x86: Consolidate PCI_MMCONFIG configs Date: Wed, 28 Feb 2018 07:34:49 +0100 Message-Id: <76a05abd818c89032161585ba130511a5bd673f0.1519799691.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 eb7f43f23521..63e85e7da12e 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) && (PCI_GOMMCONFIG || PCI_GOANY || X86_64) 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