Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3240173rwa; Tue, 23 Aug 2022 00:57:11 -0700 (PDT) X-Google-Smtp-Source: AA6agR4IPLSMD3Kpji9zOs2qTAz1jPD2+K75GVyFdwnxlQ4F16D81nBSDFlIYVtZjypIX7iROEVT X-Received: by 2002:a65:57c1:0:b0:42a:aaf6:c3b3 with SMTP id q1-20020a6557c1000000b0042aaaf6c3b3mr7466084pgr.26.1661241431162; Tue, 23 Aug 2022 00:57:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661241431; cv=none; d=google.com; s=arc-20160816; b=hmaabhByvgH6XldOlqrXTia1gFw6ZCA6FfKm40qUpuq/DXDKylRf/IlnDGfiC93f6U cuzDuLAiLtnBq+YytJHrveua0g9NuwGFssGsx+Z+uhAkRPB5M6abBRP07bAf4cc0roJh CnEpj2m14xcNF7oGn70CL9CafCyQ9YEH6UWGzlJ+NZXtN8LPzqtluFLciD+JjqaspsIp RwjiGQWj95OKh70dRlWkh1eqN2UF1XTcKJPAQ1paqi7rX98By8EvkiakwvR8/YT3AW+5 +70lMlE3+7NrNeXOteVUnVte6IrfnIuLd5PfojUbAEbval/DF4u3QSXsBDJy48rBQ+tg 70Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kyNruXgW94oT3v4+YnmcpBWQW62iYbLMJDYV4NlwhFM=; b=FyWvbbHng+dzf8HskiUXu0LVduXxP3MobnBjhqRIObDQXn3RpgCs/ISll4hKrWXPu+ 9gKlDXPPlNlx5gufcYU+Us4hk///gRuwFwWt6H82U24Z20Zn3/5tzbkHGyNPphslk/y/ Q4OtzTM+S7ehyPTIkO35OxMsru81/omT6zaBw2s54tCJBSGORUP9p00d8fl10N5q/OaP KwpE7ZjfLHQ0FtAIipPnTc2thZbvuaQ/DzSrlKHUbydLE3oSqBdUkZVXo+xhRuzU1yc/ LpQmbd1WGqWCvrQ6vOr/Pv3FquDF+VmVzTKHBslpChhV8ci2tMwWAc5HBzLcFrOTNqZH UjpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UAR0Nn3W; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj9-20020a17090b4d8900b001fb23bb1c9csi6394648pjb.43.2022.08.23.00.56.59; Tue, 23 Aug 2022 00:57:11 -0700 (PDT) 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 header.i=@linuxfoundation.org header.s=korg header.b=UAR0Nn3W; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240444AbiHWHTN (ORCPT + 99 others); Tue, 23 Aug 2022 03:19:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239169AbiHWHTM (ORCPT ); Tue, 23 Aug 2022 03:19:12 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 699CC61B17; Tue, 23 Aug 2022 00:19:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 14E9CB81BDE; Tue, 23 Aug 2022 07:19:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F621C433C1; Tue, 23 Aug 2022 07:19:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661239148; bh=V375TAzPRg9BeBuHWxGCgFy2erOrU34+A80dlNEX2V0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UAR0Nn3W/bDHu9dpc9KR+5zJFUo2BGq5g0PcfGzu8DbbKLbioUkUmUBuRr4kHGySG IqCRJCv9sQFPMPCI88DSginXtYNFI/sjKj4w6id1Q9YKexd4r1JDRnpcGBxQohsovx /Bas05hvt7cmPWCoBZxwmTqm75hYI8VMV27l7m3c= Date: Tue, 23 Aug 2022 09:19:06 +0200 From: Greg Kroah-Hartman To: Dan Williams Cc: Ira Weiny , Bjorn Helgaas , Jonathan Cameron , Alison Schofield , Vishal Verma , Ben Widawsky , linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH 1/2] PCI: Allow drivers to request exclusive config regions Message-ID: References: <20220822005237.540039-1-ira.weiny@intel.com> <20220822005237.540039-2-ira.weiny@intel.com> <6303dcb63e3e1_1b32294d9@dwillia2-xfh.jf.intel.com.notmuch> <6303f298ef92c_1b322944c@dwillia2-xfh.jf.intel.com.notmuch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6303f298ef92c_1b322944c@dwillia2-xfh.jf.intel.com.notmuch> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Mon, Aug 22, 2022 at 02:18:17PM -0700, Dan Williams wrote: > Ira Weiny wrote: > > > Similar to CONFIG_IO_STRICT_DEVMEM, just turn this warning off if you > > > are a distribution kernel vendor who does not care about DOE vendor > > > tools affecting system state, and turn on CONFIG_LOCK_DOWN_KERNEL if you > > > are on the other end of the spectrum and want protection from such > > > things. The warn is middle-road option that I expect most distros would > > > use. > > > > FWIW I did not add any Kconfig for the feature. Should I? > > I think so, especially as it is a distro configuration policy about what > user-mode PCI tooling it wants to support / warn about. No, no need for that, distros are forced to just "enable everything" as they don't want to make any policy decision like that. So just make it always present, no one will turn it off. thanks, greg k-h