x86/microcode/AMD: Pay attention to the stepping dynamically
Commit in Fixes changed how a microcode patch is loaded on Zen and newer but the patch matching needs to happen with different rigidity, depending on what is being done: 1) When the patch is added to the patches cache, the stepping must be ignored because the driver still supports different steppings per system 2) When the patch is matched for loading, then the stepping must be taken into account because each CPU needs the patch matching its exact stepping Take care of that by making the matching smarter. Fixes: 94838d23 ("x86/microcode/AMD: Use the family,model,stepping encoded in the patch ID") Reported-by:Jens Axboe <axboe@kernel.dk> Signed-off-by:
Borislav Petkov (AMD) <bp@alien8.de> Tested-by:
Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/r/91194406-3fdf-4e38-9838-d334af538f74@kernel.dk
Loading
Please register or sign in to comment