Commit 2ab7f183 authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86_64: Quieten down microcode update driver

Only log data in microcode driver when something is changed Otherwise it
was far too noisy on large systems.

Also remove the printk when it is unloaded.

Cc: tigran@veritas.com
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4bdc3b7f
...@@ -202,8 +202,6 @@ static inline void mark_microcode_update (int cpu_num, microcode_header_t *mc_he ...@@ -202,8 +202,6 @@ static inline void mark_microcode_update (int cpu_num, microcode_header_t *mc_he
} else if (mc_header->rev == uci->rev) { } else if (mc_header->rev == uci->rev) {
/* notify the caller of success on this cpu */ /* notify the caller of success on this cpu */
uci->err = MC_SUCCESS; uci->err = MC_SUCCESS;
printk(KERN_ERR "microcode: CPU%d already at revision"
" 0x%x (current=0x%x)\n", cpu_num, mc_header->rev, uci->rev);
goto out; goto out;
} }
...@@ -369,7 +367,6 @@ static void do_update_one (void * unused) ...@@ -369,7 +367,6 @@ static void do_update_one (void * unused)
struct ucode_cpu_info *uci = ucode_cpu_info + cpu_num; struct ucode_cpu_info *uci = ucode_cpu_info + cpu_num;
if (uci->mc == NULL) { if (uci->mc == NULL) {
printk(KERN_INFO "microcode: No new microcode data for CPU%d\n", cpu_num);
return; return;
} }
...@@ -511,7 +508,6 @@ static int __init microcode_init (void) ...@@ -511,7 +508,6 @@ static int __init microcode_init (void)
static void __exit microcode_exit (void) static void __exit microcode_exit (void)
{ {
misc_deregister(&microcode_dev); misc_deregister(&microcode_dev);
printk(KERN_INFO "IA-32 Microcode Update Driver v" MICROCODE_VERSION " unregistered\n");
} }
module_init(microcode_init) module_init(microcode_init)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment