aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/Kconfig
diff options
context:
space:
mode:
authorDoug Thompson <dougthompson@xmission.com>2009-04-27 14:01:01 -0400
committerBorislav Petkov <borislav.petkov@amd.com>2009-06-10 06:19:28 -0400
commit7d6034d3213e2dd1c0f8678e11064007413011c4 (patch)
tree636185251f8233b8c2de9f917cf23a8327302777 /drivers/edac/Kconfig
parentf9431992b6227069bc54800d55531c6f78d276a7 (diff)
amd64_edac: add module registration routines
Also, link into Kbuild by adding Kconfig and Makefile entries. Borislav: - Kconfig/Makefile splitting - use zero-sized arrays for the sysfs attrs if not enabled - rename sysfs attrs to more conform values - shorten CONFIG_ names - make multiple structure members assignment vertically aligned - fix/cleanup comments - fix function return value patterns - fix err labels - fix a memleak bug caught by Ingo - remove the NUMA dependency and use num_k8_northbrides for initializing a driver instance per NB. - do not copy the pvt contents into the mci struct in amd64_init_2nd_stage() and save it in the mci->pvt_info void ptr instead. - cleanup debug calls - simplify amd64_setup_pci_device() Reviewed-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Doug Thompson <dougthompson@xmission.com> Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/Kconfig')
-rw-r--r--drivers/edac/Kconfig26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig
index 956982f8739b..3dc650a7422c 100644
--- a/drivers/edac/Kconfig
+++ b/drivers/edac/Kconfig
@@ -58,6 +58,32 @@ config EDAC_MM_EDAC
58 occurred so that a particular failing memory module can be 58 occurred so that a particular failing memory module can be
59 replaced. If unsure, select 'Y'. 59 replaced. If unsure, select 'Y'.
60 60
61config EDAC_AMD64
62 tristate "AMD64 (Opteron, Athlon64) K8, F10h, F11h"
63 depends on EDAC_MM_EDAC && X86 && PCI
64 default m
65 help
66 Support for error detection and correction on the AMD 64
67 Families of Memory Controllers (K8, F10h and F11h)
68
69config EDAC_AMD64_ERROR_INJECTION
70 bool "Sysfs Error Injection facilities"
71 depends on EDAC_AMD64
72 help
73 Recent Opterons (Family 10h and later) provide for Memory Error
74 Injection into the ECC detection circuits. The amd64_edac module
75 allows the operator/user to inject Uncorrectable and Correctable
76 errors into DRAM.
77
78 When enabled, in each of the respective memory controller directories
79 (/sys/devices/system/edac/mc/mcX), there are 3 input files:
80
81 - inject_section (0..3, 16-byte section of 64-byte cacheline),
82 - inject_word (0..8, 16-bit word of 16-byte section),
83 - inject_ecc_vector (hex ecc vector: select bits of inject word)
84
85 In addition, there are two control files, inject_read and inject_write,
86 which trigger the DRAM ECC Read and Write respectively.
61 87
62config EDAC_AMD76X 88config EDAC_AMD76X
63 tristate "AMD 76x (760, 762, 768)" 89 tristate "AMD 76x (760, 762, 768)"