Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3167041pxm; Mon, 28 Feb 2022 13:32:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyMSTndEVZM5x2V8rpvqtowKep0GeDP/4W0J1IK1uxUaPlfbfIXtZXZEB1jgIqcUMrNF1Y2 X-Received: by 2002:a17:902:6e09:b0:151:76bc:8af9 with SMTP id u9-20020a1709026e0900b0015176bc8af9mr2624175plk.152.1646083975100; Mon, 28 Feb 2022 13:32:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646083975; cv=none; d=google.com; s=arc-20160816; b=k6UuBROqRAnhdU8miiOrhRXFn4sIO4MEC4arCoSr+r2oKr27whTgonBCogREDN2vQG gcRd4bUmbS6zvwh0oOD1kSzMWqSz4wZDaDada3o8IpSR4bdL/5sKCGsfraiahHo0/UMl PWwE85zkBABNX3SNqJZhQ45TmgVMZBEGEGIdqVH6W6d0PqRGWCGDwSU+/l0RlQHcVgab uAkiTyD7SWK4NY2TimVIfS87Il6GRoygM6lSIbtK4jYEv7wVXgXTsBmg88gamJmZ3V6K 4HMFfffzjnV55FzTdjkm92xOou8paNo7gyIime1Np9SM1PlgBWg9Owdm1ZgPmvonCE8r Jjsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=R47dyKXhZrNyWcaemDPWHPDh8RGtge9AC+8p1bH68C8=; b=k8HGf4itnhNOOQCN4f02vuGVSTeh2ALwUxZVpvmm+1JD5aYhCAVge8vWJK4EuTBxx1 5sn/tJZf7pZJBYA/VI1wn1A86BSJWmEWOBDYMxlsVNqMyceBMF2tf23Xl74tA9dixfpT blMwvEt4AixilMqOwSqpzSQBLt0vLprdFh+kITaZTeBstichJln8VMu4EiEUZ0+m/cES jDQuQ4jKapMqUFvJqQjd7Y0iA6apWXOfgcoEWsDafAYeuoYmQDKoFrUcj5WWawa5BX3T YtJuUSX7RllZ1WgEID19qcqRAlyG5fkKPISe3xwUC1onpAE1GD2urRFkfF+ZzagCSUyM vIVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@o2.pl header.s=1024a header.b=O81dfkkn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=o2.pl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b16-20020a17090a991000b001bd0e552d55si506131pjp.76.2022.02.28.13.32.39; Mon, 28 Feb 2022 13:32:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@o2.pl header.s=1024a header.b=O81dfkkn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=o2.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230057AbiB1V34 (ORCPT + 99 others); Mon, 28 Feb 2022 16:29:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230413AbiB1V3u (ORCPT ); Mon, 28 Feb 2022 16:29:50 -0500 Received: from mx-out.tlen.pl (mx-out.tlen.pl [193.222.135.175]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB02112F409 for ; Mon, 28 Feb 2022 13:29:09 -0800 (PST) Received: (wp-smtpd smtp.tlen.pl 6006 invoked from network); 28 Feb 2022 22:29:05 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1646083746; bh=R47dyKXhZrNyWcaemDPWHPDh8RGtge9AC+8p1bH68C8=; h=From:To:Cc:Subject; b=O81dfkknIQLl4uFEAPyeeveVT720KcbY/1fWYAPXRhlTS+jq/gq5uChYssCRdF7nD vOmmaDqXKCVd+Gb5iOytNEyJjSu8AKIizSlPq31XtYzi8Iyn7gkkZrjOqM1XYaLcLz 5ArdYboVfbfVWbKCNAiD9BpWSEnFCjFiNooQWJ/E= Received: from aafa139.neoplus.adsl.tpnet.pl (HELO localhost.localdomain) (mat.jonczyk@o2.pl@[83.4.130.139]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with SMTP for ; 28 Feb 2022 22:29:05 +0100 From: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: =?UTF-8?q?Mateusz=20Jo=C5=84czyk?= , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Jan Kiszka Subject: [PATCH 07/10] x86/Kconfig: add help text to CONFIG_PCI_MMCONFIG Date: Mon, 28 Feb 2022 22:28:23 +0100 Message-Id: <20220228212826.27080-8-mat.jonczyk@o2.pl> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220228212826.27080-1-mat.jonczyk@o2.pl> References: <20220228212826.27080-1-mat.jonczyk@o2.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-WP-MailID: c422f2b36ff4682aedc7c1c31297ae52 X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0000000 [gSM0] X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This configuration option had no help text, so add it. CONFIG_EXPERT is enabled on some distribution kernels, so people using a distribution kernel's configuration as a starting point will see this option. Signed-off-by: Mateusz Jończyk Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x86@kernel.org Cc: "H. Peter Anvin" Cc: Jan Kiszka --- I would like someone to confirm that PCI Express is required for MMCONFIG support. --- arch/x86/Kconfig | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index c55a837a00ab..27d21ef518b0 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2645,6 +2645,19 @@ config PCI_MMCONFIG default y depends on PCI && (ACPI || JAILHOUSE_GUEST) depends on X86_64 || (PCI_GOANY || PCI_GOMMCONFIG) + help + Add support for accessing the PCI configuration space as a memory + mapped area. It is the recommended method if the system supports + this (it must have PCI Express and ACPI for it to be available). + + In the unlikely case that enabling this configuration option causes + problems, the mechanism can be switched off with the 'pci=nommconf' + command line parameter. + + Say 'n' only if you are sure that your platform does not support this + access method or you have problems caused by it. + + Say 'y' otherwise. config PCI_OLPC def_bool y -- 2.25.1