aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-10-03 16:32:06 +0100
committerJan Beulich <jbeulich@suse.com>2011-10-03 16:32:06 +0100
commit9ceb2a1deda4da3452bcd0f40ba3edac73d023d8 (patch)
tree3c0061ea030cfcd55554be73469e8a9e6fd39fa9
parent040fd561774ea3c672de080e08e45fcd15766ee2 (diff)
downloadxen-9ceb2a1deda4da3452bcd0f40ba3edac73d023d8.tar.gz
xen-9ceb2a1deda4da3452bcd0f40ba3edac73d023d8.tar.bz2
xen-9ceb2a1deda4da3452bcd0f40ba3edac73d023d8.zip
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@googlemail.com> 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@suse.de> Signed-off-by: Jan Beulich <jbeulich@suse.com> xen-unstable changeset: 23871:503ee256fecf xen-unstable date: Thu Sep 22 18:35:30 2011 +0100
-rw-r--r--xen/arch/x86/microcode_amd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/xen/arch/x86/microcode_amd.c b/xen/arch/x86/microcode_amd.c
index f90334439a..177d660bcd 100644
--- 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 cpu)
}
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 )
{