]> Gentwo Git Trees - linux/.git/commit
tools/power turbostat: Validate RAPL MSRs for AWS Nitro Hypervisor
authorLen Brown <len.brown@intel.com>
Sun, 30 Nov 2025 05:11:22 +0000 (00:11 -0500)
committerLen Brown <len.brown@intel.com>
Tue, 2 Dec 2025 21:11:14 +0000 (16:11 -0500)
commit19476a592bf255b9eb0308999a9ccf96b314d314
tree0412a0ece563aef0caf7a952a8140102241b6dc6
parent51860d6330b6cda355a7e30b3e09e7a22ec4b6ae
tools/power turbostat: Validate RAPL MSRs for AWS Nitro Hypervisor

Even though the platform->plat_rapl_msrs enumeration may be accurate,
a VM, such as AWS Nitro Hypervisor, may deny access to the underlying MSRs.

Probe if PKG_ENERGY is readable and non-zero.
If no, ignore all RAPL MSRs.

Reported-by: Emily Ehlert <ehemily@amazon.de>
Tested-by: Emily Ehlert <ehemily@amazon.de>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c