[PATCH] PM: EM: do not allow pd creation prior to debugfs initialization
Lukasz Luba
lukasz.luba at arm.com
Tue Oct 19 10:05:24 PDT 2021
On 10/19/21 4:28 PM, Lingutla Chandrasekhar wrote:
> em_dev_register_perf_domain() can be called from any initcall level before
The EM is registered by cpufreq drivers (or devfreq), which is later
than fs_initcall, so the debugfs is setup. We even have added recently
a dedicated callback into the cpufreq (register_em()) for that.
Do you have such code which registers EM for CPUs (or some devfreq)
earlier than this fs_initcall?
I cannot find such code in mainline.
Regards,
Lukasz
More information about the linux-arm-kernel
mailing list