From: Andreas Herrmann <[email protected]>

Upstream commit: 6e18da75c28b592594fd632cf3e6eb09d3d078de

Cc: <[email protected]> # 32.x
Signed-off-by: Andreas Herrmann <[email protected]>
Cc: Borislav Petkov <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
---
 arch/x86/kernel/microcode_amd.c |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/arch/x86/kernel/microcode_amd.c b/arch/x86/kernel/microcode_amd.c
index f4c538b..c043534 100644
--- a/arch/x86/kernel/microcode_amd.c
+++ b/arch/x86/kernel/microcode_amd.c
@@ -109,12 +109,8 @@ static int get_matching_microcode(int cpu, void *mc, int 
rev)
                return 0;
        }
 
-       if (mc_header->processor_rev_id != equiv_cpu_id) {
-               printk(KERN_ERR "microcode: CPU%d: patch mismatch "
-                      "(processor_rev_id: %x, equiv_cpu_id: %x)\n",
-                      cpu, mc_header->processor_rev_id, equiv_cpu_id);
+       if (mc_header->processor_rev_id != equiv_cpu_id)
                return 0;
-       }
 
        /* ucode might be chipset specific -- currently we don't support this */
        if (mc_header->nb_dev_id || mc_header->sb_dev_id) {
@@ -185,9 +181,6 @@ get_next_ucode(const u8 *buf, unsigned int size, unsigned 
int *mc_size)
 
        total_size = (unsigned long) (section_hdr[4] + (section_hdr[5] << 8));
 
-       printk(KERN_DEBUG "microcode: size %u, total_size %u\n",
-              size, total_size);
-
        if (total_size > size || total_size > UCODE_MAX_SIZE) {
                printk(KERN_ERR "microcode: error: size mismatch\n");
                return NULL;
-- 
1.7.4.rc2

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to