diff options
Diffstat (limited to 'drivers/edac/Kconfig')
-rw-r--r-- | drivers/edac/Kconfig | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 956982f8739b..ab4f3592a11c 100644 --- a/drivers/edac/Kconfig +++ b/drivers/edac/Kconfig | |||
@@ -49,7 +49,6 @@ config EDAC_DEBUG_VERBOSE | |||
49 | 49 | ||
50 | config EDAC_MM_EDAC | 50 | config EDAC_MM_EDAC |
51 | tristate "Main Memory EDAC (Error Detection And Correction) reporting" | 51 | tristate "Main Memory EDAC (Error Detection And Correction) reporting" |
52 | default y | ||
53 | help | 52 | help |
54 | Some systems are able to detect and correct errors in main | 53 | Some systems are able to detect and correct errors in main |
55 | memory. EDAC can report statistics on memory error | 54 | memory. EDAC can report statistics on memory error |
@@ -58,6 +57,31 @@ config EDAC_MM_EDAC | |||
58 | occurred so that a particular failing memory module can be | 57 | occurred so that a particular failing memory module can be |
59 | replaced. If unsure, select 'Y'. | 58 | replaced. If unsure, select 'Y'. |
60 | 59 | ||
60 | config EDAC_AMD64 | ||
61 | tristate "AMD64 (Opteron, Athlon64) K8, F10h, F11h" | ||
62 | depends on EDAC_MM_EDAC && K8_NB && X86_64 && PCI | ||
63 | help | ||
64 | Support for error detection and correction on the AMD 64 | ||
65 | Families of Memory Controllers (K8, F10h and F11h) | ||
66 | |||
67 | config EDAC_AMD64_ERROR_INJECTION | ||
68 | bool "Sysfs Error Injection facilities" | ||
69 | depends on EDAC_AMD64 | ||
70 | help | ||
71 | Recent Opterons (Family 10h and later) provide for Memory Error | ||
72 | Injection into the ECC detection circuits. The amd64_edac module | ||
73 | allows the operator/user to inject Uncorrectable and Correctable | ||
74 | errors into DRAM. | ||
75 | |||
76 | When enabled, in each of the respective memory controller directories | ||
77 | (/sys/devices/system/edac/mc/mcX), there are 3 input files: | ||
78 | |||
79 | - inject_section (0..3, 16-byte section of 64-byte cacheline), | ||
80 | - inject_word (0..8, 16-bit word of 16-byte section), | ||
81 | - inject_ecc_vector (hex ecc vector: select bits of inject word) | ||
82 | |||
83 | In addition, there are two control files, inject_read and inject_write, | ||
84 | which trigger the DRAM ECC Read and Write respectively. | ||
61 | 85 | ||
62 | config EDAC_AMD76X | 86 | config EDAC_AMD76X |
63 | tristate "AMD 76x (760, 762, 768)" | 87 | tristate "AMD 76x (760, 762, 768)" |