aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorAnnie Li <jiayanli@google.com>2025-04-30 05:34:24 +0000
committerBorislav Petkov (AMD) <bp@alien8.de>2025-04-30 17:10:46 +0200
commitb43dc4ab097859c24e2a6993119c927cffc856aa (patch)
treec710a193ae018934adbd14125e49fa85172d27f1 /scripts/gdb/linux/utils.py
parentx86/microcode/AMD: Use sha256() instead of init/update/final (diff)
downloadlinux-rng-b43dc4ab097859c24e2a6993119c927cffc856aa.tar.xz
linux-rng-b43dc4ab097859c24e2a6993119c927cffc856aa.zip
x86/microcode/AMD: Do not return error when microcode update is not necessary
After 6f059e634dcd("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: 6f059e634dcd ("x86/microcode: Clarify the late load logic") Signed-off-by: Annie Li <jiayanli@google.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/20250430053424.77438-1-jiayanli@google.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions