]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
x86/cpu/amd: Use ZEN_MODEL_STEP_UCODE() for erratum_1386_microcode[]
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 26 Nov 2025 11:34:42 +0000 (11:34 +0000)
committerIngo Molnar <mingo@kernel.org>
Sun, 14 Dec 2025 08:55:47 +0000 (09:55 +0100)
... to simplify the result.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/20251126113442.877024-1-andrew.cooper3@citrix.com
arch/x86/kernel/cpu/amd.c

index 86059f2c0fcd45c0405e7f623d86769c4c90f79f..c04f53f43af1dc4d6bcbda2163e57f49d0480ec3 100644 (file)
@@ -873,8 +873,8 @@ static void init_amd_bd(struct cpuinfo_x86 *c)
 }
 
 static const struct x86_cpu_id erratum_1386_microcode[] = {
-       X86_MATCH_VFM_STEPS(VFM_MAKE(X86_VENDOR_AMD, 0x17, 0x01), 0x2, 0x2, 0x0800126e),
-       X86_MATCH_VFM_STEPS(VFM_MAKE(X86_VENDOR_AMD, 0x17, 0x31), 0x0, 0x0, 0x08301052),
+       ZEN_MODEL_STEP_UCODE(0x17, 0x01, 0x2, 0x0800126e),
+       ZEN_MODEL_STEP_UCODE(0x17, 0x31, 0x0, 0x08301052),
        {}
 };