How to Override hwp-internal as CPU Governor in QubesOS?

Hey everyone! :blush:

I’ve been trying to gain full control over my CPU frequency scaling in QubesOS, but I’m stuck with hwp-internal as the governor. No matter what I try, Xen (or the kernel) keeps forcing hwp-internal, preventing me from manually setting CPU frequencies.

:hammer_and_wrench: What I’ve Tried So Far:

:white_check_mark: Disabled Turbo Boost using xenpm disable-turbo-mode 0-15 – Worked fine.
:x: Set max frequency with xenpm set-scaling-maxfreq – Ignored, still running at max clock.
:x: Added hwp=0 to Xen GRUB parameters – No effect, still stuck on hwp-internal.

:question: My Question:

:point_right: Is it possible to fully disable or override hwp-internal so I can manually control CPU scaling?
:point_right: Or is my CPU locked into hwp-internal with no way to change it in QubesOS?

:desktop_computer: System Specs:

  • QubesOS Version: 4.2 (R4.2)
  • Kernel Version: 6.6.77-1.qubes.fc37.x86_64
  • Scaling Driver: hwp-cpufreq
  • Current Governor: hwp-internal
  • CPU Model: GenuineIntel 12th Gen Intel(R) Core(TM) i7-12650H

If anyone has experience dealing with this in QubesOS/Xen, I’d really appreciate any guidance! :pray::fire:

Thanks in advance!

You have not mentioned xenpm set-scaling-governor - did you try it?

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.