Re: [PATCH] cpufreq: acpi: Don't enable boost on policy exit
From: Viresh Kumar
Date: Thu Apr 17 2025 - 01:09:25 EST
Copying more information from Bugzilla here (Nicholas, it would be
faster if you can put all your observations here first, more people
are looking at emails than bugzilla).
> Nicholas Chin wrote:
> I did some more testing and debugging and it seems like when
> cpufreq_online() runs after waking the system, policy->boost_enabled
> and cpufreq_boost_enabled() are both 0, so the set_boost() at the end
> of that function is never run.
Right, this is what I wanted to do with the $Subject patch. Don't
update boost anymore in suspend/resume
> cpufreq_boost_enabled() being 0 indicates that the MSR has boosting
> disabled, but when I read out that MSR using rdmsr the bit seems to
> indicate that it is actually enabled (I am aware of the inverted logic
> of that bit). set_boost() seems to be the only place in the kernel
> that causes that MSR to be modified, and I didn't see any extra calls
> to it in my debug logs, so it seems like something else (outside the
> kernel?) is setting that MSR.
And this is what I feel too, something else in kernel or outside of it
is doing something tricky.
--
viresh