diff options
author | Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com> | 2013-04-17 15:57:13 -0400 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2013-04-19 06:46:50 -0400 |
commit | 94c1acf2c85b03a59a42d931a94a13a76c123a62 (patch) | |
tree | f5cb13964ea32a41486f48ba450a4d3f495cdbf7 /drivers/edac/amd64_edac.h | |
parent | 41ef2d5678d83af030125550329b6ae8b74618fa (diff) |
amd64_edac: Add Family 16h support
Add code to handle DRAM ECC errors decoding for Fam16h.
Tested on Fam16h with ECC turned on using the mce_amd_inj facility and
works fine.
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
[ Boris: cleanups and clarifications ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
-rw-r--r-- | drivers/edac/amd64_edac.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index 35637d83f235..2c6f113bae2b 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h | |||
@@ -172,7 +172,8 @@ | |||
172 | */ | 172 | */ |
173 | #define PCI_DEVICE_ID_AMD_15H_NB_F1 0x1601 | 173 | #define PCI_DEVICE_ID_AMD_15H_NB_F1 0x1601 |
174 | #define PCI_DEVICE_ID_AMD_15H_NB_F2 0x1602 | 174 | #define PCI_DEVICE_ID_AMD_15H_NB_F2 0x1602 |
175 | 175 | #define PCI_DEVICE_ID_AMD_16H_NB_F1 0x1531 | |
176 | #define PCI_DEVICE_ID_AMD_16H_NB_F2 0x1532 | ||
176 | 177 | ||
177 | /* | 178 | /* |
178 | * Function 1 - Address Map | 179 | * Function 1 - Address Map |
@@ -296,6 +297,7 @@ enum amd_families { | |||
296 | K8_CPUS = 0, | 297 | K8_CPUS = 0, |
297 | F10_CPUS, | 298 | F10_CPUS, |
298 | F15_CPUS, | 299 | F15_CPUS, |
300 | F16_CPUS, | ||
299 | NUM_FAMILIES, | 301 | NUM_FAMILIES, |
300 | }; | 302 | }; |
301 | 303 | ||