How to pass software configuration to driver built as module in boot up phase

From: Tingwei Zhang
Date: Mon Oct 30 2023 - 07:22:00 EST


Hi Masami, Greg and Rafael,

I have one driver that needs a bunch to software configuration like 1000 settings. These settings can be different according to the use case.

They are required in boot up phase so we can't reply on user space to make the configuration.

Boot config is not preferred since we'd like to build that driver as dynamic load Kernel module.

Could you let me know if there's any mechanism in Kernel to do that?

--
Thanks,
Tingwei