All of lore.kernel.org
 help / color / mirror / Atom feed
* [TRIVIAL PATCH] Microcode: show results on success too plus fix typo
@ 2008-03-26 20:22 Ben Castricum
  2008-03-26 20:40 ` Randy Dunlap
  2008-03-26 21:50 ` Ingo Molnar
  0 siblings, 2 replies; 4+ messages in thread
From: Ben Castricum @ 2008-03-26 20:22 UTC (permalink / raw)
  To: linux-kernel

Show a bit more info when updating microcode. It used to be there but 
no with DEBUG unset makes it very silent.

This is my first patch, please let me know if I did anything wrong.

Signed-off-by: Ben Castricum <lk08@bencastricum.nl>

diff --git a/arch/x86/kernel/microcode.c b/arch/x86/kernel/microcode.c
index f2702d0..ca1fd52 100644
--- a/arch/x86/kernel/microcode.c
+++ b/arch/x86/kernel/microcode.c
@@ -336,11 +336,11 @@ static void apply_microcode(int cpu)

  spin_unlock_irqrestore(&microcode_update_lock, flags);
  if (val[1] != uci->mc->hdr.rev) {
-  printk(KERN_ERR "microcode: CPU%d updated from revision "
+  printk(KERN_ERR "microcode: CPU%d update from revision "
    "0x%x to 0x%x failed\n", cpu_num, uci->rev, val[1]);
   return;
  }
- pr_debug("microcode: CPU%d updated from revision "
+ printk(KERN_INFO "microcode: CPU%d updated from revision "
         "0x%x to 0x%x, date = %08x \n",
         cpu_num, uci->rev, val[1], uci->mc->hdr.date);
  uci->rev = val[1];


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-26 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26 20:22 [TRIVIAL PATCH] Microcode: show results on success too plus fix typo Ben Castricum
2008-03-26 20:40 ` Randy Dunlap
2008-03-26 21:04   ` Jesper Juhl
2008-03-26 21:50 ` Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.