Skip to content

Commit 14c5694

Browse files
Andreas HerrmannIngo Molnar
authored andcommitted
x86: ucode-amd: Don't warn when no ucode is available for a CPU revision
There is no point in warning when there is no ucode available for a specific CPU revision. Currently the container-file, which provides the AMD ucode patches for OS load, contains only a few ucode patches. It's already clearly indicated by the printed patch_level whenever new ucode was available and an update happened. So the warning message is of no help but rather annoying on systems with many CPUs. Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> Cc: dimm <dmitry.adamushko@gmail.com> LKML-Reference: <20091110110825.GI30802@alberich.amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent d1c84f7 commit 14c5694

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎arch/x86/kernel/microcode_amd.c‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,8 @@ static int get_matching_microcode(int cpu, void *mc, int rev)
105105
i++;
106106
}
107107

108-
if (!equiv_cpu_id) {
109-
printk(KERN_WARNING "microcode: CPU%d: cpu revision "
110-
"not listed in equivalent cpu table\n", cpu);
108+
if (!equiv_cpu_id)
111109
return 0;
112-
}
113110

114111
if (mc_header->processor_rev_id != equiv_cpu_id)
115112
return 0;

0 commit comments

Comments
 (0)