[PATCH] x86/microcode/amd: update outdated comment

kexinsun posted 1 patch 1 month, 1 week ago
arch/x86/kernel/cpu/microcode/amd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] x86/microcode/amd: update outdated comment
Posted by kexinsun 1 month, 1 week ago
The function mc_bp_resume() was renamed microcode_bsp_resume() by
commit f9e14dbbd454 ("x86/cpu: Load microcode during
restore_processor_state()").  Update the comment accordingly.

Signed-off-by: kexinsun <kexinsun@smail.nju.edu.cn>
---
 arch/x86/kernel/cpu/microcode/amd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c
index e533881284a1..197990e6164b 100644
--- a/arch/x86/kernel/cpu/microcode/amd.c
+++ b/arch/x86/kernel/cpu/microcode/amd.c
@@ -958,7 +958,7 @@ static int collect_cpu_info_amd(int cpu, struct cpu_signature *csig)
 
 	/*
 	 * a patch could have been loaded early, set uci->mc so that
-	 * mc_bp_resume() can call apply_microcode()
+	 * microcode_bsp_resume() can call apply_microcode()
 	 */
 	p = find_patch(cpu);
 	if (p && (p->patch_id == csig->rev))
-- 
2.25.1
Re: [PATCH] x86/microcode/amd: update outdated comment
Posted by Borislav Petkov 4 weeks, 1 day ago
On Tue, Feb 24, 2026 at 10:20:53AM +0800, kexinsun wrote:
> The function mc_bp_resume() was renamed microcode_bsp_resume() by
> commit f9e14dbbd454 ("x86/cpu: Load microcode during
> restore_processor_state()").  Update the comment accordingly.

Please merge your three patches into one. It would still be trivial enough.

> Signed-off-by: kexinsun <kexinsun@smail.nju.edu.cn>

Please use your proper name when you sign off on your work.

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette