Received: by 10.223.185.116 with SMTP id b49csp6499517wrg; Wed, 28 Feb 2018 10:24:29 -0800 (PST) X-Google-Smtp-Source: AG47ELtLIHCObZA13f8pWGfwCHXIyEL7suzWfy4TRHxnugE/6NU3SVfYHvSvpG7OIRujxXeo69k1 X-Received: by 2002:a17:902:6b:: with SMTP id 98-v6mr12178718pla.403.1519842269271; Wed, 28 Feb 2018 10:24:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519842269; cv=none; d=google.com; s=arc-20160816; b=HIfKT4libD08QYFBXcjtcI9h1jopaxDKDIh3+g/P/Mtforf+xiCg/VLEtnPxI3zQEN l7p5c+Ap4o1FkhSTkKDM2oILC7u5RiBPhuwwB/KyKSBIlHHVDthhIxousHZlOEH+CqZU awea0MfnppkUUz8t4K2EnK7bmRQbdXIkqhu2zoVjgOpBjasaMi8s58RAk7TKvxXkokOp UJK2ulBuSGGFUmzJTNi3T3I2+puxVsZE0iSQ45JlHxhhWR1G2qI/IZESdLGG/MgotCX/ kmIhYfj5HbNu7v4rKrpuE6vNZUEJW7l+CeetyYSbJOEQ5qJx26s2M8GV6NdjQEAJhgpG /sww== 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=z8cbjtAlx5lbTT5StbQbG1tfe08jcsH9fYuDllWRrSU=; b=VRqpFRUW8vH6BvgLYyLv6+zsO/yrQUnhw3S818guEesBZTb/ACjaMmrsbo3a7lCZbU vbXXo7WIsB3DojnG42ZmosqyD4+VBCF/4aD5bx1G9IBUFdiBUOwBsTa26o2Y0DldMsbh 7LfR4SwzWJtLPwFe76S1j0MG+wYyOa0MLuv56kV2lR3NiKA6pnS02s8ERvfGHZ0x40RB NJPYcwIWpfNqaOdrL4xq5PZIV/24+T9+CJqLLsL/44TCTsmL24xHc4b5KB1C70zzeXcp 2YkbSjQN6wKcEe9mdHipQ5GuB8He0dTcfCjqaG8jces1u2elDvcj3ERwLrtZzxHzJSut BaLg== 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 a16si1326088pgw.58.2018.02.28.10.24.13; Wed, 28 Feb 2018 10:24: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 S932750AbeB1SWz (ORCPT + 99 others); Wed, 28 Feb 2018 13:22:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:54732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932126AbeB1SWx (ORCPT ); Wed, 28 Feb 2018 13:22:53 -0500 Received: from localhost (unknown [69.55.156.246]) (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 2F11F21748; Wed, 28 Feb 2018 18:22:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F11F21748 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: Wed, 28 Feb 2018 12:22:52 -0600 From: Bjorn Helgaas To: Andy Shevchenko Cc: Jan Kiszka , 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 Subject: Re: [PATCH v2 4/6] x86: Consolidate PCI_MMCONFIG configs Message-ID: <20180228182252.GG127842@bhelgaas-glaptop.roam.corp.google.com> References: <76a05abd818c89032161585ba130511a5bd673f0.1519799691.git.jan.kiszka@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Wed, Feb 28, 2018 at 05:45:37PM +0200, Andy Shevchenko wrote: > On Wed, Feb 28, 2018 at 8:34 AM, Jan Kiszka wrote: > > 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. It would be nice if this were a complete statement of what the patch does, but without the subject, it's not. E.g., as I'm composing this response in an editor window, I can't see the subject, so it seems incomplete. > > 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) > > Looking to the above context I would rather put it like > > depends on PCI && (ACPI || SFI) && (X86_64 || (PCI_GOANY || PCI_GOMMCONFIG)) The changelog doesn't point out any intended functional change, but I think both these proposals add some new configs that previously could not occur, e.g., CONFIG_X86_64=y CONFIG_SFI=y # CONFIG_ACPI is unset CONFIG_PCI_MMCONFIG=y If this is intended, the changelog should mention it.