Skip to content

Commit

Permalink
x86, amd-ucode: Remove needless log messages
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <20091029134742.GD30802@alberich.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Andreas Herrmann authored and Ingo Molnar committed Nov 10, 2009
1 parent 506f90e commit 6e18da7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions arch/x86/kernel/microcode_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 6e18da7

Please sign in to comment.