Re: [PATCH 0/2] Clear AMD's microcode cache on load failure

From: boris . ostrovsky
Date: Thu Mar 27 2025 - 17:45:04 EST



On 3/27/25 5:33 PM, Ingo Molnar wrote:
* Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> wrote:

Drop microcode cache when load operation fails to update microcode.

Also make __apply_microcode_amd() return correct error.

Boris Ostrovsky (2):
x86/microcode/AMD: Fix __apply_microcode_amd()'s return value
x86/microcode/AMD: Clean the cache if update did not load microcode

arch/x86/kernel/cpu/microcode/amd.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
Should these be Cc: stable perhaps?


Definitely the first patch. The second one is not really a fix but rather an improvement.

Will resend. Thanks.


-boris