Skip to content

Commit a2aabcf

Browse files
andyhhpingomolnar
authored andcommitted
x86/cpu/amd: Use ZEN_MODEL_STEP_UCODE() for erratum_1386_microcode[]
... 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
1 parent fb7bfa3 commit a2aabcf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/x86/kernel/cpu/amd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,8 +873,8 @@ static void init_amd_bd(struct cpuinfo_x86 *c)
873873
}
874874

875875
static const struct x86_cpu_id erratum_1386_microcode[] = {
876-
X86_MATCH_VFM_STEPS(VFM_MAKE(X86_VENDOR_AMD, 0x17, 0x01), 0x2, 0x2, 0x0800126e),
877-
X86_MATCH_VFM_STEPS(VFM_MAKE(X86_VENDOR_AMD, 0x17, 0x31), 0x0, 0x0, 0x08301052),
876+
ZEN_MODEL_STEP_UCODE(0x17, 0x01, 0x2, 0x0800126e),
877+
ZEN_MODEL_STEP_UCODE(0x17, 0x31, 0x0, 0x08301052),
878878
{}
879879
};
880880

0 commit comments

Comments
 (0)