Received: by 10.223.185.116 with SMTP id b49csp4747097wrg; Tue, 6 Mar 2018 23:43:30 -0800 (PST) X-Google-Smtp-Source: AG47ELu4KCIkW85PdZSGVQnZr9wPEX8+BVMO/B9oq3/VB+PPka6n55rllSguU/Pa5XJOrcMPn2g7 X-Received: by 10.99.182.76 with SMTP id v12mr17107771pgt.158.1520408609967; Tue, 06 Mar 2018 23:43:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520408609; cv=none; d=google.com; s=arc-20160816; b=Zd4lqU1SWPzz8Ax7btyZPXctiJ1tbqlG5NfA5fcrmpd0OtZn8DpV4Ge7u9GFdZZqx8 60RMpAVfLHdgGlju/ejeM8tOrTlg8VD45pYehqI9yjRdAzS8WrsnjywdqLoU3fPb3LhW PQxLkE0/GhopL9yTJc4+bWZIYAxadgfi6HmNKKUjBao0FL9s/P2MDxBwOBR1JxLRTFCi 9AwadE6ACCBNROmZafIIt3ECKAMjfVytc3+Fp+CanOMeWsUxjNeEesDttLZgu2146noM ZFeFTvZZdRr8gZwlF99PJmt3HnYHqJqTRZA6onShBJuX93LhHL8Q6MqgplbSiwhFaW+o INHg== 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=uxJUXLQLxNgvRubDSn/vQUj9iOigY/p/AsHXhOVj4V1IwHpFJIq0aHhHMbB+X8RLmC WKAzEszQ8qe1i/HbtdKlJcNx7ulgbjCMrBBrmJCEKVzNZEyZ4nt+s52b5fSzVHZzwH1h p4EtGG8BE43lm74+O4pfefnthlZJpHwcqpgQt6I2lDaJyBdFvDXbG/jso90QHcSebUF5 w/mva/YcDFq0atauZNBhoGQXUcVcwwUpRifA3XHww+kU/bT7c7+lHn0tfFxdbb8XxpVS bi5+B6zXTTTnj67O0Ek59/lAKhILknd5gB5oGY5O2YNB2JKA7XzG1mFuqNO8pv1+j3dw CrUg== 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 b185si10942503pga.370.2018.03.06.23.43.15; Tue, 06 Mar 2018 23:43:29 -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 S1754167AbeCGHkz (ORCPT + 99 others); Wed, 7 Mar 2018 02:40:55 -0500 Received: from david.siemens.de ([192.35.17.14]:35654 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751127AbeCGHji (ORCPT ); Wed, 7 Mar 2018 02:39:38 -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 w277dMqr015260 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 7 Mar 2018 08:39:23 +0100 Received: from md1f2u6c.ww002.siemens.net ([167.87.11.133]) by mail3.siemens.de (8.15.2/8.15.2) with ESMTP id w277dIAl004697; Wed, 7 Mar 2018 08:39:22 +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 v5 5/7] x86: Consolidate PCI_MMCONFIG configs Date: Wed, 7 Mar 2018 08:39:16 +0100 Message-Id: <2a0ccd51ea6f7996e07162918228e23bdc1fbb03.1520408357.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