aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Herrmann <herrmann.der.user@googlemail.com>2009-11-10 06:08:25 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-10 06:15:49 -0500
commit14c569425a0ae12cbeed72fdb8ebe78c48455dfd (patch)
tree5c52c2f22f746b2e44026cf9612032ac32f31e72
parentd1c84f79a6ba992dc01e312c44a21496303874d6 (diff)
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>
-rw-r--r--arch/x86/kernel/microcode_amd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/kernel/microcode_amd.c b/arch/x86/kernel/microcode_amd.c
index 75538f647193..9f13324054ce 100644
--- a/arch/x86/kernel/microcode_amd.c
+++ b/arch/x86/kernel/microcode_amd.c
@@ -105,11 +105,8 @@ static int get_matching_microcode(int cpu, void *mc, int rev)
105 i++; 105 i++;
106 } 106 }
107 107
108 if (!equiv_cpu_id) { 108 if (!equiv_cpu_id)
109 printk(KERN_WARNING "microcode: CPU%d: cpu revision "
110 "not listed in equivalent cpu table\n", cpu);
111 return 0; 109 return 0;
112 }
113 110
114 if (mc_header->processor_rev_id != equiv_cpu_id) 111 if (mc_header->processor_rev_id != equiv_cpu_id)
115 return 0; 112 return 0;