Skip to contentSkip to conversation

x86, Remove AMD microcode warning

PATCH In review Prarit Bhargava 1 participant 2 messages Feb 6, 2012 – Feb 7, 2012 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86, Remove AMD microcode warning

AMD processors will never support /dev/cpu/microcode updating so just silently fail instead of printing out a warning for every cpu.

---
 arch/x86/kernel/microcode_amd.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/x86/kernel/microcode_amd.c +0 -1
index ac0417b..73465aa 100644
@@ -360,7 +360,6 @@ out:
 static enum ucode_state
 request_microcode_user(int cpu, const void __user *buf, size_t size)
 {
-	pr_info("AMD microcode update via /dev/cpu/microcode not supported\n");
 	return UCODE_ERROR;
 }
 
Signature · 1 line
1.7.1
#1 lore raw

[tip:x86/urgent] x86/microcode: Remove noisy AMD microcode warning

Commit-ID:  c1d2f1bccf4259384e581b937e694ee8a350fe55
Gitweb:     http://git.kernel.org/tip/c1d2f1bccf4259384e581b937e694ee8a350fe55
Author:     Prarit Bhargava <[email protected]>
AuthorDate: Mon, 6 Feb 2012 13:28:55 -0500
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 7 Feb 2012 10:53:42 +0100

x86/microcode: Remove noisy AMD microcode warning

AMD processors will never support /dev/cpu/microcode updating so just silently fail instead of printing out a warning for every cpu.

---
 arch/x86/kernel/microcode_amd.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/x86/kernel/microcode_amd.c +0 -1
index ac0417b..73465aa 100644
@@ -360,7 +360,6 @@ out:
 static enum ucode_state
 request_microcode_user(int cpu, const void __user *buf, size_t size)
 {
-	pr_info("AMD microcode update via /dev/cpu/microcode not supported\n");
 	return UCODE_ERROR;
 }