EDAC, MCE: No F15h LS MCE decoder
Borislav Petkov [Wed, 22 Sep 2010 09:53:32 +0000 (11:53 +0200)]
F15h BD doesn't generate LS MCEs so warn about it.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>

drivers/edac/mce_amd.c

index 7eb2706..44e6cda 100644 (file)
@@ -467,7 +467,7 @@ static void amd_decode_ls_mce(struct mce *m)
        u16 ec = m->status & 0xffff;
        u8 xec = (m->status >> 16) & xec_mask;
 
-       if (boot_cpu_data.x86 == 0x14) {
+       if (boot_cpu_data.x86 >= 0x14) {
                pr_emerg("You shouldn't be seeing an LS MCE on this cpu family,"
                         " please report on LKML.\n");
                return;