2011-11-28 20:34:40 +01:00
|
|
|
References: bnc#719700
|
|
|
|
|
|
|
|
# HG changeset patch
|
|
|
|
# User Jan Beulich <jbeulich@suse.com>
|
|
|
|
# Date 1321018008 -3600
|
|
|
|
# Node ID 69f8b6f4c29cb2fb2d11e27c391090f543e6b393
|
|
|
|
# Parent 8b08b2166aa82e7df0b1fa620ed57078810f8c12
|
|
|
|
x86/amd-ucode: further turn down verbosity
|
|
|
|
|
|
|
|
Turn up the log level on various (mostly debug-only) messages.
|
|
|
|
|
|
|
|
Signed-off-by: Jan Beulich <jbeulich@suse.com>
|
|
|
|
Acked-by: Keir Fraser <keir@xen.org>
|
|
|
|
|
2012-08-10 23:38:41 +02:00
|
|
|
Index: xen-4.1.3-testing/xen/arch/x86/microcode_amd.c
|
|
|
|
===================================================================
|
|
|
|
--- xen-4.1.3-testing.orig/xen/arch/x86/microcode_amd.c
|
|
|
|
+++ xen-4.1.3-testing/xen/arch/x86/microcode_amd.c
|
2011-11-28 20:34:40 +01:00
|
|
|
@@ -59,7 +59,7 @@ static int collect_cpu_info(int cpu, str
|
|
|
|
|
|
|
|
rdmsrl(MSR_AMD_PATCHLEVEL, csig->rev);
|
|
|
|
|
|
|
|
- printk(KERN_INFO "microcode: collect_cpu_info: patch_id=0x%x\n",
|
|
|
|
+ printk(KERN_DEBUG "microcode: collect_cpu_info: patch_id=0x%x\n",
|
|
|
|
csig->rev);
|
|
|
|
|
|
|
|
return 0;
|
2012-08-10 23:38:41 +02:00
|
|
|
@@ -96,7 +96,7 @@ static int microcode_fits(const struct m
|
2011-11-28 20:34:40 +01:00
|
|
|
|
|
|
|
if ( (mc_header->processor_rev_id) != equiv_cpu_id )
|
|
|
|
{
|
|
|
|
- printk(KERN_INFO "microcode: CPU%d patch does not match "
|
|
|
|
+ printk(KERN_DEBUG "microcode: CPU%d patch does not match "
|
|
|
|
"(patch is %x, cpu base id is %x) \n",
|
|
|
|
cpu, mc_header->processor_rev_id, equiv_cpu_id);
|
|
|
|
return -EINVAL;
|
2012-08-10 23:38:41 +02:00
|
|
|
@@ -105,7 +105,7 @@ static int microcode_fits(const struct m
|
2011-11-28 20:34:40 +01:00
|
|
|
if ( mc_header->patch_id <= uci->cpu_sig.rev )
|
2012-08-10 23:38:41 +02:00
|
|
|
return 0;
|
2011-11-28 20:34:40 +01:00
|
|
|
|
|
|
|
- printk(KERN_INFO "microcode: CPU%d found a matching microcode "
|
|
|
|
+ printk(KERN_DEBUG "microcode: CPU%d found a matching microcode "
|
|
|
|
"update with version 0x%x (current=0x%x)\n",
|
|
|
|
cpu, mc_header->patch_id, uci->cpu_sig.rev);
|
|
|
|
|
2012-08-10 23:38:41 +02:00
|
|
|
@@ -148,7 +148,7 @@ static int apply_microcode(int cpu)
|
2011-11-28 20:34:40 +01:00
|
|
|
return -EIO;
|
|
|
|
}
|
|
|
|
|
|
|
|
- printk("microcode: CPU%d updated from revision "
|
2012-08-10 23:38:41 +02:00
|
|
|
+ printk(KERN_INFO "microcode: CPU%d updated from revision "
|
|
|
|
"0x%x to 0x%x \n",
|
|
|
|
cpu, uci->cpu_sig.rev, hdr->patch_id);
|
2011-11-28 20:34:40 +01:00
|
|
|
|
2012-08-10 23:38:41 +02:00
|
|
|
@@ -179,7 +179,7 @@ static int get_next_ucode_from_buffer_am
|
|
|
|
return -EINVAL;
|
|
|
|
}
|
2011-11-28 20:34:40 +01:00
|
|
|
|
2012-08-10 23:38:41 +02:00
|
|
|
- printk(KERN_INFO "microcode: size %lu, total_size %u, offset %ld\n",
|
|
|
|
+ printk(KERN_DEBUG "microcode: size %lu, total_size %u, offset %ld\n",
|
|
|
|
bufsize, mpbuf->len, off);
|
2011-11-28 20:34:40 +01:00
|
|
|
|
2012-08-10 23:38:41 +02:00
|
|
|
if ( (off + mpbuf->len) > bufsize )
|