On Tue, 24 Aug 2021 09:14:30 -0000, SeongJae Park said: > > > ERROR: modpost: "cpu_scale" [drivers/cpufreq/qcom-cpufreq-hw.ko] undefined! > > > > That's a different patch, am working on fixing that one now.. > > I didn't take a deep look here, so I unsure if this is an appropriate fix, but > I was able to work-around this issue for my use case with below change. > > DEFINE_PER_CPU(unsigned long, cpu_scale) = SCHED_CAPACITY_SCALE; > +EXPORT_PER_CPU_SYMBOL_GPL(cpu_scale); Aha. That's the part I wasn't finding. Would you like to submit your patch, or shall I send it in with a "Suggested-by" for you?