mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
UPSTREAM: x86/microcode/AMD: Load late on both threads too
commita32b0f0db3upstream. Do the same as early loading - load on both threads. Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Cc: <stable@kernel.org> Link: https://lore.kernel.org/r/20230605141332.25948-1-bp@alien8.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Change-Id: I857794a1b78974200aad02098a31c41576aed562 (cherry-picked from commit94a69d6999) Signed-off-by: Suren Baghdasaryan <surenb@google.com>
This commit is contained in:
committed by
Treehugger Robot
parent
53048f151c
commit
5c9836e66d
@@ -705,7 +705,7 @@ static enum ucode_state apply_microcode_amd(int cpu)
|
||||
rdmsr(MSR_AMD64_PATCH_LEVEL, rev, dummy);
|
||||
|
||||
/* need to apply patch? */
|
||||
if (rev >= mc_amd->hdr.patch_id) {
|
||||
if (rev > mc_amd->hdr.patch_id) {
|
||||
ret = UCODE_OK;
|
||||
goto out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user