]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/power turbostat: Fix AMD RAPL regression on big systems
authorLen Brown <len.brown@intel.com>
Tue, 21 Apr 2026 21:26:33 +0000 (17:26 -0400)
committerLen Brown <len.brown@intel.com>
Tue, 21 Apr 2026 21:35:40 +0000 (17:35 -0400)
commit3ae6bafa104d93ddc525b8de547bf66b43fcaf10
treea6f0f1229c2bdaa5bf9b56a7537c37a95b50dc6f
parent028ef9c96e96197026887c0f092424679298aae8
tools/power turbostat: Fix AMD RAPL regression on big systems

turbostat.c:8688: rapl_perf_init: Assertion `next_domain < num_domains' failed.

The initial fix for this regression was incomplete, as it did not
handle multi-package systems with sparse core ids.

Fixes: ef0e60083f76 ("tools/power turbostat: Fix AMD RAPL regression")
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c