Commit b43dc4ab authored by Annie Li's avatar Annie Li Committed by Borislav Petkov (AMD)
Browse files

x86/microcode/AMD: Do not return error when microcode update is not necessary



After

  6f059e63("x86/microcode: Clarify the late load logic"),

if the load is up-to-date, the AMD side returns UCODE_OK which leads to
load_late_locked() returning -EBADFD.

Handle UCODE_OK in the switch case to avoid this error.

  [ bp: Massage commit message. ]

Fixes: 6f059e63 ("x86/microcode: Clarify the late load logic")
Signed-off-by: default avatarAnnie Li <jiayanli@google.com>
Signed-off-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250430053424.77438-1-jiayanli@google.com
parent c0a62ead
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment