* [PATCH] x86/cpu/amd: Use ZEN_MODEL_STEP_UCODE() for erratum_1386_microcode[]
@ 2025-11-26 11:34 Andrew Cooper
2025-12-15 7:18 ` [tip: x86/cpu] " tip-bot2 for Andrew Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cooper @ 2025-11-26 11:34 UTC (permalink / raw)
To: LKML; +Cc: Andrew Cooper, Borislav Petkov, Mario Limonciello, x86
... to simplify the result.
No functional change.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Borislav Petkov <bp@alien8.de>
CC: Mario Limonciello <mario.limonciello@amd.com>
CC: x86@kernel.org
CC: linux-kernel@vger.kernel.org
---
arch/x86/kernel/cpu/amd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index a92750f3079a..505ff37b850c 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -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),
{}
};
--
2.39.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip: x86/cpu] x86/cpu/amd: Use ZEN_MODEL_STEP_UCODE() for erratum_1386_microcode[]
2025-11-26 11:34 [PATCH] x86/cpu/amd: Use ZEN_MODEL_STEP_UCODE() for erratum_1386_microcode[] Andrew Cooper
@ 2025-12-15 7:18 ` tip-bot2 for Andrew Cooper
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Andrew Cooper @ 2025-12-15 7:18 UTC (permalink / raw)
To: linux-tip-commits
Cc: Andrew Cooper, Ingo Molnar, Borislav Petkov, Mario Limonciello,
x86, linux-kernel
The following commit has been merged into the x86/cpu branch of tip:
Commit-ID: a2aabcfc6015b6196f161b6bf4df1519ab09c3e1
Gitweb: https://git.kernel.org/tip/a2aabcfc6015b6196f161b6bf4df1519ab09c3e1
Author: Andrew Cooper <andrew.cooper3@citrix.com>
AuthorDate: Wed, 26 Nov 2025 11:34:42
Committer: Ingo Molnar <mingo@kernel.org>
CommitterDate: Sun, 14 Dec 2025 09:55:47 +01:00
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
---
arch/x86/kernel/cpu/amd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index 86059f2..c04f53f 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -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),
{}
};
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-15 7:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-26 11:34 [PATCH] x86/cpu/amd: Use ZEN_MODEL_STEP_UCODE() for erratum_1386_microcode[] Andrew Cooper
2025-12-15 7:18 ` [tip: x86/cpu] " tip-bot2 for Andrew Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®