| commit | fcf8239ad6a5de54fa7ce18e464c6b5951b982cb | [log] [tgz] |
|---|---|---|
| author | Borislav Petkov (AMD) <bp@alien8.de> | Wed Aug 20 11:58:57 2025 +0200 |
| committer | Borislav Petkov (AMD) <bp@alien8.de> | Wed Aug 27 10:24:10 2025 +0200 |
| tree | fe648b78f5f88f97b71bf9fb4e6cd2154aa4827f | |
| parent | 24963ae1b0b6596dc36e352c18593800056251d8 [diff] |
x86/microcode/AMD: Handle the case of no BIOS microcode
Machines can be shipped without any microcode in the BIOS. Which means,
the microcode patch revision is 0.
Handle that gracefully.
Fixes: 94838d230a6c ("x86/microcode/AMD: Use the family,model,stepping encoded in the patch ID")
Reported-by: Vítek Vávra <vit.vavra.kh@gmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>