diff options
| author | Ashok Raj <[email protected]> | 2018-02-28 10:28:41 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-03-08 09:19:25 +0000 |
| commit | c182d2b7d0ca48e0d6ff16f7d883161238c447ed (patch) | |
| tree | dd43afcf1c29fba71f5c3fbf680de823a9daa2d5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | x86/microcode: Get rid of struct apply_microcode_ctx (diff) | |
| download | kernel-c182d2b7d0ca48e0d6ff16f7d883161238c447ed.tar.gz kernel-c182d2b7d0ca48e0d6ff16f7d883161238c447ed.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
