• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[Kernel editing] - Adding governors

Search This thread

lucahack

Senior Member
Oct 26, 2015
50
18
Hi, I tried adding about 10 governors in Pixel 3a android 11 kernel. However I get these errors:

> [email protected]:~/git/kernels/private/msm-google$ make perfect_defconfig
> drivers/cpufreq/Kconfig:57:error: recursive dependency detected!
> For a resolution refer to Documentation/kbuild/kconfig-language.txt
> subsection "Kconfig recursive dependency limitations"
> drivers/cpufreq/Kconfig:57: choice <choice> contains symbol CPU_FREQ_GOV_ZZMOOVE
> drivers/cpufreq/Kconfig:73: symbol CPU_FREQ_GOV_ZZMOOVE is part of choice CPU_FREQ_DEFAULT_GOV_ZZMOOVE
> drivers/cpufreq/Kconfig:190: symbol CPU_FREQ_DEFAULT_GOV_ZZMOOVE is part of choice <choice>
[...]
> # configuration written to .config
My drivers/cpufreq/Kconfig is attached below.
Need help.
Thanks a lot in advance !
Luca
 

lucahack

Senior Member
Oct 26, 2015
50
18
PS: it works fine for other governors. Maybe it doesnt work for zzmoove because of drivers/cpufreq/cpufreq_zzmoove_profiles.h
 

lucahack

Senior Member
Oct 26, 2015
50
18
Edit solved. I wrote config CPU_FREQ_GOV_ZZMOOVE in the wrong place
I will soon post my kernel for you guys.
Moderator, please close this thread as it is solved.