Received: by 10.223.185.116 with SMTP id b49csp7259337wrg; Thu, 1 Mar 2018 02:33:53 -0800 (PST) X-Google-Smtp-Source: AG47ELt4DiFJ8a2I50hlhUFoHjqDnDX5oxVw+Fkh8rHsenWV1f8yq0yNocLjtzfeRJ5RGL5oWGqH X-Received: by 10.99.175.87 with SMTP id s23mr1168003pgo.328.1519900433127; Thu, 01 Mar 2018 02:33:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519900433; cv=none; d=google.com; s=arc-20160816; b=iS3e/xMkUPuC/c2HCB95odQbhLKMgYoRoxw8/RFfAe7PraO/d3nro1OYfXp2u10NE0 tz0mkGlDFScs2aawzJKI3G7OiS7NGNLG9RTfGidHfNFvcjtLP9p4v4PVTXaMOFhR9aH4 wpKRgPd1Qxg838UuLJdKkPA1Lrny7hk4UR8GxOqZoIMcG1+mewiCusgaPJdSsNwme7kt Zr+nXTKYYvruxN63qz2Y9+gG/E24NsrHJ30yNYtz9NWxej0kmn46dFtYS37s5caubh5s wOwFRuoT00CcJG5HADVww+IF++zfuBya6jxxwQ/Qlm2DWXxkCyJvpF3Ri8WCTbWXLJ4R hSGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=KMN6TdEivkWX3QMVIoot1RelspO2NXYwYgkD+OuHxyA=; b=oLrVBbBXvhKsqoabCyJRe8VQWE8NBz391hjIPF49baGRsUPIIQE6+kAAFJFLqH+awM PL+ngtnvhNLhZeF7pYWHWPnYM5Z8vfTgkBeZSfy4A3AsK9pBxTxfK9ERxDRejswEAGC6 /stSU57uJWjMGqpHHN3WEpsmdXzkibeMDB1nxZnNRYGnMeyJ5CoBzHWfc8SxceafGME9 nvI3U2kogirKbbM3hr2Vqhg+E4j18TrlO9rokn4GfAOR4Iytvk/F39gqzb81LkUMqrh/ rj4Dhfx2d2NQVKDoLpEEjsGz7z//ONQMH7gx4bNl1Oxg4vGgYdqW/Pl/P0BGx2o2wk2M hLnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pjAirOvQ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si2301810pgr.135.2018.03.01.02.33.38; Thu, 01 Mar 2018 02:33:53 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pjAirOvQ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967287AbeCAKcE (ORCPT + 99 others); Thu, 1 Mar 2018 05:32:04 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:46870 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935832AbeCAKb7 (ORCPT ); Thu, 1 Mar 2018 05:31:59 -0500 Received: by mail-qt0-f196.google.com with SMTP id m13so6832670qtg.13; Thu, 01 Mar 2018 02:31:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KMN6TdEivkWX3QMVIoot1RelspO2NXYwYgkD+OuHxyA=; b=pjAirOvQxnMd6/vvY9Qm5n+imoIByDRok89F8x2q5RKnPkf6I/xZ3uIno9FaVRQvAw ZKDbDvkofW7YhpvCEmxzRWTWBEpEeSUgvOacQCy37PhnlwspJHt4ezND5469wqqtjzAd SSZvcYJjoXHR63KBlkQQJzqr2zTF4DtHL2BxqqVuIu3/jmPDjC08tBREuJk9N74O5yzn K+yd+XKXbXAlYYOL6gLpfxA2vBZLv+GHePjThrcw4YJ567E9kNqqj0sKUOlV/rpRAIfE +g6FU8Dt2y24xl0yYw3qneRPTuT+H8UVUIjoy3EhgTNLZmC174REvnTr5EV22HzoW+x9 FwLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KMN6TdEivkWX3QMVIoot1RelspO2NXYwYgkD+OuHxyA=; b=RK65BgLNt38IH0c5w+jzz5hJEEbWT1vEZw36hCDGCd7oxm2ggYdTosCdZJLGbkm0R4 TLlKdJYY8r6CagqKrfhrPemSbtopp8K4dsuUN8EHJb1bjKegoNCS1tDi4ca3w0xoVA1l OxhSiH1YqB3h/HMxyVsghgysKxckfN8+/9RZxhbBX+Eg3kAuTgH7qGM4x6X2HCedZC4N n/gGFhQ/M6O3rXvG8yXBBWCk+rfAEdMFs2Ao9k6VIsocknNrrNjrDsQJDaop+4JLnbon Ytag8nwRHTDjRI7prYr41BoOX09FS3dUi03JyQceXWWPFW5trsbWnb3RajxKYM/6gov8 aB4w== X-Gm-Message-State: AElRT7GYRc3D1s1JiGScHiJaumT+GflQj8J2Ij00vBLgz4ULWjtPDn9O RC5ygo8LuyfY9z1w6zofGJSxFz8Xxa8QadQ/UXk= X-Received: by 10.237.59.232 with SMTP id s37mr2040758qte.83.1519900318738; Thu, 01 Mar 2018 02:31:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.195.80 with HTTP; Thu, 1 Mar 2018 02:31:58 -0800 (PST) In-Reply-To: <8527c92b2e2920b8cd9096ddcbbb6d0f4004eb69.1519882849.git.jan.kiszka@siemens.com> References: <8527c92b2e2920b8cd9096ddcbbb6d0f4004eb69.1519882849.git.jan.kiszka@siemens.com> From: Andy Shevchenko Date: Thu, 1 Mar 2018 12:31:58 +0200 Message-ID: Subject: Re: [PATCH v3 4/6] x86: Consolidate PCI_MMCONFIG configs 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 1, 2018 at 7:40 AM, 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. > FWIW, Reviewed-by: Andy Shevchenko > 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 > -- With Best Regards, Andy Shevchenko