diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2010-09-22 09:06:24 -0400 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2011-01-07 05:54:18 -0500 |
commit | 05cd667d668eb08845dd49c02130e5223121b715 (patch) | |
tree | e6133b9f7edccfb41b530400b6d17630a9b63210 /drivers/edac | |
parent | b18434cad1740466f7a1c304ea4af0f4d3c874f1 (diff) |
EDAC, MCE: Add an F15h NB MCE decoder
by (almost) reusing the F10h one since the signatures are the same.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/mce_amd.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c index 44e6cdaff663..efbcb5389e80 100644 --- a/drivers/edac/mce_amd.c +++ b/drivers/edac/mce_amd.c | |||
@@ -556,6 +556,15 @@ static bool f10h_nb_mce(u16 ec, u8 xec) | |||
556 | goto out; | 556 | goto out; |
557 | break; | 557 | break; |
558 | 558 | ||
559 | case 0x19: | ||
560 | if (boot_cpu_data.x86 == 0x15) | ||
561 | pr_cont("Compute Unit Data Error.\n"); | ||
562 | else | ||
563 | ret = false; | ||
564 | |||
565 | goto out; | ||
566 | break; | ||
567 | |||
559 | case 0x1c ... 0x1f: | 568 | case 0x1c ... 0x1f: |
560 | offset = 24; | 569 | offset = 24; |
561 | break; | 570 | break; |
@@ -804,6 +813,7 @@ static int __init mce_amd_init(void) | |||
804 | xec_mask = 0x1f; | 813 | xec_mask = 0x1f; |
805 | fam_ops->dc_mce = f15h_dc_mce; | 814 | fam_ops->dc_mce = f15h_dc_mce; |
806 | fam_ops->ic_mce = f15h_ic_mce; | 815 | fam_ops->ic_mce = f15h_ic_mce; |
816 | fam_ops->nb_mce = f10h_nb_mce; | ||
807 | break; | 817 | break; |
808 | 818 | ||
809 | default: | 819 | default: |