Re: [PATCH 07/15] modules: Document the global async_probe parameter
Nikolay Borisov <[email protected]>
| Newsgroups | dev.linux.lists.linux-coco,dev.linux.lists.driver-core,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <[email protected]> |
On 7/6/26 01:08, Dan Williams wrote: > In preparation for adding another /sys/module/module/parameters entry, > document the existing async_probe parameter. > > Cc: Saravana Kannan <[email protected]> > Cc: Luis Chamberlain <[email protected]> > Signed-off-by: Dan Williams <[email protected]> > --- > Documentation/ABI/stable/sysfs-module | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/ABI/stable/sysfs-module b/Documentation/ABI/stable/sysfs-module > index 41b1f16e8795..397c5c850894 100644 > --- a/Documentation/ABI/stable/sysfs-module > +++ b/Documentation/ABI/stable/sysfs-module > @@ -45,3 +45,13 @@ Date: Jun 2005 > Description: > If the module source has MODULE_VERSION, this file will contain > the version of the source code. > + > +What: /sys/module/module/parameters/async_probe > +Description: > + (RW) Emits "1" if drivers from loadable modules attempt async > + probing by default. Emits "0" if drivers from loadable modules nit: I think there is some tautology happening here, i.e a module is a driver, no ? I.e perhaps just remove the driver word so this reads "emits 1 if modules atempts async probing". > + attempt synchronous probing by default. This value is overridden > + (in priority order) by: the module's built-in "PROBE_FORCE_*" > + requests, the "driver_async_probe=..." kernel command line, the > + "async_probe" module option, then this default. Write a valid > + boolean value to toggle this policy.