WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] x86: ucode-amd: Don't warn when no ucode is availabl

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] x86: ucode-amd: Don't warn when no ucode is available for a CPU revision
From: "Jan Beulich" <JBeulich@xxxxxxxx>
Date: Thu, 22 Sep 2011 16:19:07 +0100
Cc: herrmann.der.user@xxxxxxxxxxxxxx, Thomas Renninger <trenn@xxxxxxx>
Delivery-date: Thu, 22 Sep 2011 08:20:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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>

--- a/xen/arch/x86/microcode_amd.c
+++ b/xen/arch/x86/microcode_amd.c
@@ -96,11 +96,7 @@ static int microcode_fits(void *mc, int 
     }
 
     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 )
     {



Attachment: x86-microcode-amd-silent.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] x86: ucode-amd: Don't warn when no ucode is available for a CPU revision, Jan Beulich <=