Skip to content

Commit

Permalink
x86: ucode-amd: Don't warn when no ucode is available for a CPU revision
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andreas Herrmann authored and Ingo Molnar committed Nov 10, 2009
1 parent d1c84f7 commit 14c5694
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/x86/kernel/microcode_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,8 @@ static int get_matching_microcode(int cpu, void *mc, int rev)
i++;
}

if (!equiv_cpu_id) {
printk(KERN_WARNING "microcode: CPU%d: cpu revision "
"not listed in equivalent cpu table\n", cpu);
if (!equiv_cpu_id)
return 0;
}

if (mc_header->processor_rev_id != equiv_cpu_id)
return 0;
Expand Down

0 comments on commit 14c5694

Please sign in to comment.