Received: by 10.223.185.116 with SMTP id b49csp7547448wrg; Thu, 1 Mar 2018 07:15:23 -0800 (PST) X-Google-Smtp-Source: AG47ELswh5VbsB6g1tFpZ1ZcejL6ZhUxkAHYyyMgn+a5ERX36dVJotQM/MIFhOBWb6dQZYXaWEWP X-Received: by 2002:a17:902:7d94:: with SMTP id a20-v6mr2258079plm.184.1519917322979; Thu, 01 Mar 2018 07:15:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519917322; cv=none; d=google.com; s=arc-20160816; b=fIxbZv90+r3AexmURtJAZNp5asmbTB/lEUNaNuElhbwEPjzhZ3X4rmM28C6+qufVbd WDE6UXbc6K+oI60TAXAt3m2OoIzzqVHHTi0SVuXE6cNwrw8Nd8BDaOBdLjZtUUfVrPeP UMfvA+vbn6H2ht6x3gjL1Hfs2XdAfP25gV1P/bw00MJDqfJKrHCUitIxd5enJXpjKZZM nxYVjrPC6ExyYTUyKSwMbtfc+q+XGhLtWQteI1+6zLAqVHLZDp911G2ieEbqn7FKsOFE +SMYK/v9doR+/foQrIRceyG0R4aXqcdgHtRTVjb0XnpONi9xHonKCw1HRYLRsEvu9jOK eUjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=+Hsl6MIrYhsLByxsjTAj8vAGhIRQ8bfwa9DBJl1umPI=; b=LI28bNcABWOedtMixzFHToglLnwzYXkutsUzK6HVDQDFkLo+AiOztn/DJIEGVdRERe CVEnvdhLN1sYPCrFvMxSRH+L8hfSmZRD2mZO5gckonaBLA5X5FPwH2Gs8iK82yZPpwGY VwWPfZ7mXbiMO3ILRBIX7VMLbJg0ajBivHS51dcboYTE5/VpWgoW6Be0PbPk5ZtiRmhv 4rK60pJvxxlUJH3MnIGfFFZ8AWiaNumrM0ACBXgm2nudkWxzAhwQA+XNctgwu3m2qbsM GyuEJ+GHhSKOGpxdxKpjmxNaYoLZVHiMIxmFS4ZeA2yZygxGyG4fLj7Ysx3Kv0sLM4Hq orwg== 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 70-v6si3199502ple.465.2018.03.01.07.15.04; Thu, 01 Mar 2018 07:15:22 -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 S1031805AbeCAPOH (ORCPT + 99 others); Thu, 1 Mar 2018 10:14:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:56276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031631AbeCAPOE (ORCPT ); Thu, 1 Mar 2018 10:14:04 -0500 Received: from localhost (50-81-63-165.client.mchsi.com [50.81.63.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9B3E72177C; Thu, 1 Mar 2018 15:14:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9B3E72177C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=helgaas@kernel.org Date: Thu, 1 Mar 2018 09:13:59 -0600 From: Bjorn Helgaas To: Jan Kiszka Cc: Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Bjorn Helgaas , x86@kernel.org, Linux Kernel Mailing List , jailhouse-dev@googlegroups.com, linux-pci@vger.kernel.org, virtualization@lists.linux-foundation.org, Andy Shevchenko Subject: Re: [PATCH v3 4/6] x86: Consolidate PCI_MMCONFIG configs Message-ID: <20180301151359.GC13722@bhelgaas-glaptop.roam.corp.google.com> References: <8527c92b2e2920b8cd9096ddcbbb6d0f4004eb69.1519882849.git.jan.kiszka@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8527c92b2e2920b8cd9096ddcbbb6d0f4004eb69.1519882849.git.jan.kiszka@siemens.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 01, 2018 at 06:40:47AM +0100, Jan Kiszka wrote: > 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. Thanks for mentioning this difference. It's probably trivial, but if you have any other reason to respin this series, I would split this into two patches: - allow PCI_MMCONFIG on x86_64 with SFI - consolidate PCI_MMCONFIG with no logical change at all > Signed-off-by: Jan Kiszka But either way, Acked-by: Bjorn Helgaas > --- > 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 >