x86: ucode-amd: Don't warn when no ucode is available for a CPU revision
authorAndreas Herrmann <[email protected]>
Tue, 10 Nov 2009 11:08:25 +0000 (12:08 +0100)
committerIngo Molnar <[email protected]>
Tue, 10 Nov 2009 11:15:49 +0000 (12:15 +0100)
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 <[email protected]>
Cc: dimm <[email protected]>
LKML-Reference: <20091110110825[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/microcode_amd.c

index 75538f64719300d2ed88e5a13de13df28fe1daf2..9f13324054cefd8fe61638beff0257a6e9310de4 100644 (file)
@@ -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;