Skip to content

Commit 6dbef74

Browse files
cristiccbp3tk0v
authored andcommitted
x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
Commit 522b1d6 ("x86/cpu/amd: Add a Zenbleed fix") provided a fix for the Zen2 VZEROUPPER data corruption bug affecting a range of CPU models, but the AMD Custom APU 0405 found on SteamDeck was not listed, although it is clearly affected by the vulnerability. Add this CPU variant to the Zenbleed erratum list, in order to unconditionally enable the fallback fix until a proper microcode update is available. Fixes: 522b1d6 ("x86/cpu/amd: Add a Zenbleed fix") Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20230811203705.1699914-1-cristian.ciocaltea@collabora.com
1 parent 1b8b1aa commit 6dbef74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/kernel/cpu/amd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ static const int amd_erratum_1054[] =
7373
static const int amd_zenbleed[] =
7474
AMD_LEGACY_ERRATUM(AMD_MODEL_RANGE(0x17, 0x30, 0x0, 0x4f, 0xf),
7575
AMD_MODEL_RANGE(0x17, 0x60, 0x0, 0x7f, 0xf),
76+
AMD_MODEL_RANGE(0x17, 0x90, 0x0, 0x91, 0xf),
7677
AMD_MODEL_RANGE(0x17, 0xa0, 0x0, 0xaf, 0xf));
7778

7879
static bool cpu_has_amd_erratum(struct cpuinfo_x86 *cpu, const int *erratum)

0 commit comments

Comments
 (0)