summaryrefslogtreecommitdiff
path: root/samples/workqueue/stall_detector/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorSerhii Pievniev <spevnev16@gmail.com>2026-02-25 18:16:03 -0500
committerLen Brown <len.brown@intel.com>2026-03-17 23:13:09 -0400
commita444083286434ec1fd127c5da11a3091e6013008 (patch)
treefc418e2821a8477f961ca0ed79e2e7d902e37c70 /samples/workqueue/stall_detector/git@git.tavy.me:linux-stable.git
parent99b38fa34342b227a863948460b7937a97dbce28 (diff)
tools/power/turbostat: Fix microcode patch level output for AMD/Hygon
turbostat always used the same logic to read the microcode patch level, which is correct for Intel but not for AMD/Hygon. While Intel stores the patch level in the upper 32 bits of MSR, AMD stores it in the lower 32 bits, which causes turbostat to report the microcode version as 0x0 on AMD/Hygon. Fix by shifting right by 32 for non-AMD/Hygon, preserving the existing behavior for Intel and unknown vendors. Fixes: 3e4048466c39 ("tools/power turbostat: Add --no-msr option") Signed-off-by: Serhii Pievniev <spevnev16@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'samples/workqueue/stall_detector/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions