diff options
author | Tony Luck <tony.luck@intel.com> | 2022-01-31 15:01:09 -0800 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-02-01 16:29:26 +0100 |
commit | 822ccfade55b6be7977b364356fcf2d78d8a373a (patch) | |
tree | 801825ff6ecde7e19bad0c0110fccb0cbae18863 /tools/perf/scripts/python/sched-migration.py | |
parent | 00a2f23eef7d1fa6c2dfdc613857b84fbf5e2b3b (diff) |
x86/cpu: Read/save PPIN MSR during initialization
Currently, the PPIN (Protected Processor Inventory Number) MSR is read
by every CPU that processes a machine check, CMCI, or just polls machine
check banks from a periodic timer. This is not a "fast" MSR, so this
adds to overhead of processing errors.
Add a new "ppin" field to the cpuinfo_x86 structure. Read and save the
PPIN during initialization. Use this copy in mce_setup() instead of
reading the MSR.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220131230111.2004669-4-tony.luck@intel.com
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions