aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-03-25 10:30:52 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 12:10:56 -0500
commit2ab7f1833baf0f0a0ca9868ee21f8273e2858132 (patch)
tree58e1a2395f19338ef38bf0b72df3be8aef9ce66a /arch/i386
parent4bdc3b7f1b730c07f5a6ccca77ee68e044036ffc (diff)
[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: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/kernel/microcode.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/i386/kernel/microcode.c b/arch/i386/kernel/microcode.c
index 5390b521aca0..55bc365b8753 100644
--- a/arch/i386/kernel/microcode.c
+++ b/arch/i386/kernel/microcode.c
@@ -202,8 +202,6 @@ static inline void mark_microcode_update (int cpu_num, microcode_header_t *mc_he
202 } else if (mc_header->rev == uci->rev) { 202 } else if (mc_header->rev == uci->rev) {
203 /* notify the caller of success on this cpu */ 203 /* notify the caller of success on this cpu */
204 uci->err = MC_SUCCESS; 204 uci->err = MC_SUCCESS;
205 printk(KERN_ERR "microcode: CPU%d already at revision"
206 " 0x%x (current=0x%x)\n", cpu_num, mc_header->rev, uci->rev);
207 goto out; 205 goto out;
208 } 206 }
209 207
@@ -369,7 +367,6 @@ static void do_update_one (void * unused)
369 struct ucode_cpu_info *uci = ucode_cpu_info + cpu_num; 367 struct ucode_cpu_info *uci = ucode_cpu_info + cpu_num;
370 368
371 if (uci->mc == NULL) { 369 if (uci->mc == NULL) {
372 printk(KERN_INFO "microcode: No new microcode data for CPU%d\n", cpu_num);
373 return; 370 return;
374 } 371 }
375 372
@@ -511,7 +508,6 @@ static int __init microcode_init (void)
511static void __exit microcode_exit (void) 508static void __exit microcode_exit (void)
512{ 509{
513 misc_deregister(&microcode_dev); 510 misc_deregister(&microcode_dev);
514 printk(KERN_INFO "IA-32 Microcode Update Driver v" MICROCODE_VERSION " unregistered\n");
515} 511}
516 512
517module_init(microcode_init) 513module_init(microcode_init)