x86/CPU/AMD: Update the Zenbleed microcode revisions
[ Upstream commit 5c84b051bd4e777cf37aaff983277e58c99618d5 ]
Update them to the correct revision numbers.
Fixes: 522b1d6921
("x86/cpu/amd: Add a Zenbleed fix")
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Родитель
d8ae3bf07e
Коммит
2031b61be8
|
@ -1021,11 +1021,11 @@ static bool cpu_has_zenbleed_microcode(void)
|
||||||
u32 good_rev = 0;
|
u32 good_rev = 0;
|
||||||
|
|
||||||
switch (boot_cpu_data.x86_model) {
|
switch (boot_cpu_data.x86_model) {
|
||||||
case 0x30 ... 0x3f: good_rev = 0x0830107a; break;
|
case 0x30 ... 0x3f: good_rev = 0x0830107b; break;
|
||||||
case 0x60 ... 0x67: good_rev = 0x0860010b; break;
|
case 0x60 ... 0x67: good_rev = 0x0860010c; break;
|
||||||
case 0x68 ... 0x6f: good_rev = 0x08608105; break;
|
case 0x68 ... 0x6f: good_rev = 0x08608107; break;
|
||||||
case 0x70 ... 0x7f: good_rev = 0x08701032; break;
|
case 0x70 ... 0x7f: good_rev = 0x08701033; break;
|
||||||
case 0xa0 ... 0xaf: good_rev = 0x08a00008; break;
|
case 0xa0 ... 0xaf: good_rev = 0x08a00009; break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче