diff options
| author | Patryk Wlazlyn <[email protected]> | 2025-01-14 15:11:28 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2025-01-27 17:35:22 +0000 |
| commit | 7c6fee25bdf5c8f8a1bcc6fa3566fffb7fe9eb9a (patch) | |
| tree | c81fb0556267dccf023356f5d1c5775420dba5e7 /drivers/fpga/versal-fpga.c | |
| parent | tools/power turbostat: Enhance turbostat self-performance visibility (diff) | |
| download | kernel-7c6fee25bdf5c8f8a1bcc6fa3566fffb7fe9eb9a.tar.gz kernel-7c6fee25bdf5c8f8a1bcc6fa3566fffb7fe9eb9a.zip | |
tools/power turbostat: Check for non-zero value when MSR probing
For some MSRs, for example, the Platform Energy Counter (RAPL PSYS), it
is required to additionally check for a non-zero value to confirm that
it is present.
From Intel SDM vol. 4:
Platform Energy Counter (R/O)
This MSR is valid only if both platform vendor hardware
implementation and BIOS enablement support it.
This MSR will read 0 if not valid.
Signed-off-by: Patryk Wlazlyn <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/versal-fpga.c')
0 files changed, 0 insertions, 0 deletions
