News: 0001553028

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 6.16 Lands Proper Power Management Fix For Code That Caused Power Regression

([Hardware] 2 Hours Ago All Good Now)


Linux 6.15 [1]mistakenly shipped with a nasty power regression for some systems , such as those relying on the "nosmt" option to disable Simultaneous Multi-Threading / Hyper Threading. That [2]idle power regression was fixed for Linux 6.15.2 and Linux 6.16 Git by reverting the troubled patch that introduced the regression. Now merged ahead of Linux 6.16-rc2 is a proper fix for that problematic patch so it could be re-merged without the power fallout.

Intel engineer and Linux power management subsystem maintainer Rafael Wysocki fixed up the code and sent it out as part of this week's Linux 6.16-rc2 power management fixes:

"Eliminate mwait_play_dead_cpuid_hint() again after reverting its elimination during the 6.16 merge window due to a problem with handling "dead" SMT siblings, but this time prevent leaving them in C1 after initialization by taking them online and back offline when a proper cpuidle driver for the platform has been registered (Rafael Wysocki)."

The reverted patch was re-applied while now adjusting the Intel Idle driver as well as the ACPI processor code to rescan "dead" SMT siblings during initialization. With this the power regression should be resolved as the proper solution beyond the original revert.

See [3]this pull for all of the merged power management changes ahead of tomorrow's Linux 6.16-rc2 release.



[1] https://www.phoronix.com/news/Linux-6.15-nosmt-Power-Regress

[2] https://www.phoronix.com/news/Linux-6.15.2-Released

[3] https://lore.kernel.org/lkml/CAJZ5v0jYie5HkuPkRiWrvaG3szhVO2HyHbN5=D0KQsNjrwMzZQ@mail.gmail.com/



phoronix

If you go on with this nuclear arms race, all you are going to do is
make the rubble bounce.
-- Winston Churchill