[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.1-testing] x86: ucode-amd: Don't warn when no ucode is available for a CPU



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1317655926 -3600
# Node ID 3ea6112b3a0144f7715477293a5c48d8f8a1b703
# Parent  8e6b081e80442ab2c868f47f5dcdb6beec3df601
x86: ucode-amd: Don't warn when no ucode is available for a CPU
revision

This patch originally comes from the Linus mainline kernel (2.6.33),
find below the patch details:

From: Andreas Herrmann <herrmann.der.user@xxxxxxxxxxxxxx>

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: Thomas Renninger <trenn@xxxxxxx>
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
xen-unstable changeset:   23871:503ee256fecf
xen-unstable date:        Thu Sep 22 18:35:30 2011 +0100
---


diff -r 8e6b081e8044 -r 3ea6112b3a01 xen/arch/x86/microcode_amd.c
--- a/xen/arch/x86/microcode_amd.c      Mon Oct 03 16:31:12 2011 +0100
+++ b/xen/arch/x86/microcode_amd.c      Mon Oct 03 16:32:06 2011 +0100
@@ -96,11 +96,7 @@
     }
 
     if ( !equiv_cpu_id )
-    {
-        printk(KERN_ERR "microcode: CPU%d cpu_id "
-               "not found in equivalent cpu table\n", cpu);
-        return -EINVAL;
-    }
+           return 0;
 
     if ( (mc_header->processor_rev_id) != equiv_cpu_id )
     {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.