diff options
author | Prarit Bhargava <[email protected]> | 2018-07-31 07:27:39 -0400 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-09-02 14:10:54 +0200 |
commit | 370a132bb2227ff76278f98370e0e701d86ff752 (patch) | |
tree | afab066cc0e9a56a2ab1dc197b52e5a07aee599a /tools/perf/scripts | |
parent | ff924c5a1ec7548825cc2d07980b03be4224ffac (diff) |
x86/microcode: Make sure boot_cpu_data.microcode is up-to-date
When preparing an MCE record for logging, boot_cpu_data.microcode is used
to read out the microcode revision on the box.
However, on systems where late microcode update has happened, the microcode
revision output in a MCE log record is wrong because
boot_cpu_data.microcode is not updated when the microcode gets updated.
But, the microcode revision saved in boot_cpu_data's microcode member
should be kept up-to-date, regardless, for consistency.
Make it so.
Fixes: fa94d0c6e0f3 ("x86/MCE: Save microcode revision in machine check records")
Signed-off-by: Prarit Bhargava <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions