module: Add support for default value for module async_probe
authorSaravana Kannan <saravanak@google.com>
Sat, 4 Jun 2022 01:01:00 +0000 (18:01 -0700)
committerLuis Chamberlain <mcgrof@kernel.org>
Mon, 11 Jul 2022 17:49:14 +0000 (10:49 -0700)
commitae39e9ed964f8e450d0de410b5a757e19581dfc5
tree1d88893e7c2f7c6ee348bc2df20c7aa459c12d49
parente69a66147d49506062cd837f3b230ee3e98102ab
module: Add support for default value for module async_probe

Add a module.async_probe kernel command line option that allows enabling
async probing for all modules. When this command line option is used,
there might still be some modules for which we want to explicitly force
synchronous probing, so extend <modulename>.async_probe to take an
optional bool input so that async probing can be disabled for a specific
module.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Reviewed-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
kernel/module/main.c