diff options
| author | Len Brown <len.brown@intel.com> | 2025-12-02 11:29:27 -0500 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2025-12-02 16:11:14 -0500 |
| commit | 951845d51d1dd27ecd28a3743af3a8b22bc930ac (patch) | |
| tree | 9601c89f5aec12331eb1e0438eb1f7059935cc81 /tools/lib/python/kdoc/python_version.py | |
| parent | 68769a0b5ada367d6911a8dfe50fc1e480c89fd1 (diff) | |
tools/power turbostat: Validate APERF access for VMWARE
VMWARE correctly enumerates lack of APERF and MPERF in CPUID,
but turbostat didn't consult that before attempting to access them.
Since VMWARE allows access, but always returns 0, turbostat
got confusd into an infinite reset loop.
Head this off by listening to CPUID.6.APERF_MPERF
(and rename the existing variable to make this more clear)
Reported-by: David Arcari <darcari@redhat.com>
Tested-by: David Arcari <darcari@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
