aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util
diff options
context:
space:
mode:
authorAshok Raj <[email protected]>2018-02-28 11:28:41 +0100
committerThomas Gleixner <[email protected]>2018-03-08 10:19:25 +0100
commitc182d2b7d0ca48e0d6ff16f7d883161238c447ed (patch)
treedd43afcf1c29fba71f5c3fbf680de823a9daa2d5 /tools/perf/util
parent854857f5944c59a881ff607b37ed9ed41d031a3b (diff)
x86/microcode/intel: Check microcode revision before updating sibling threads
After updating microcode on one of the threads of a core, the other thread sibling automatically gets the update since the microcode resources on a hyperthreaded core are shared between the two threads. Check the microcode revision on the CPU before performing a microcode update and thus save us the WRMSR 0x79 because it is a particularly expensive operation. [ Borislav: Massage changelog and coding style. ] Signed-off-by: Ashok Raj <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Tom Lendacky <[email protected]> Tested-by: Ashok Raj <[email protected]> Cc: Arjan Van De Ven <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions