Re: [PATCH 1/2] PCI: Allow drivers to request exclusive config regions

From: Greg Kroah-Hartman
Date: Tue Aug 23 2022 - 03:19:16 EST


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