forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH] EDAC: core EDAC support code
This is a subset of the bluesmoke project core code, stripped of the NMI work which isn't ready to merge and some of the "interesting" proc functionality that needs reworking or just has no place in kernel. It requires no core kernel changes except the added scrub functions already posted. The goal is to merge further functionality only after the core code is accepted and proven in the base kernel, and only at the point the upstream extras are really ready to merge. From: doug thompson <[email protected]> This converts EDAC to sysfs and is the final chunk neccessary before EDAC has a stable user space API and can be considered for submission into the base kernel. Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: doug thompson <[email protected]> Signed-off-by: Pavel Machek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
Showing
19 changed files
with
3,515 additions
and
40 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -867,6 +867,15 @@ L: [email protected] | |
W: http://ebtables.sourceforge.net/ | ||
S: Maintained | ||
|
||
EDAC-CORE | ||
P: Doug Thompson | ||
M: [email protected], [email protected] | ||
P: Dave Peterson | ||
M: [email protected], [email protected] | ||
L: [email protected] | ||
W: bluesmoke.sourceforge.net | ||
S: Maintained | ||
|
||
EEPRO100 NETWORK DRIVER | ||
P: Andrey V. Savochkin | ||
M: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,4 +68,6 @@ source "drivers/infiniband/Kconfig" | |
|
||
source "drivers/sn/Kconfig" | ||
|
||
source "drivers/edac/Kconfig" | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
# | ||
# EDAC Kconfig | ||
# Copyright (c) 2003 Linux Networx | ||
# Licensed and distributed under the GPL | ||
# | ||
# $Id: Kconfig,v 1.4.2.7 2005/07/08 22:05:38 dsp_llnl Exp $ | ||
# | ||
|
||
menu 'EDAC - error detection and reporting (RAS)' | ||
|
||
config EDAC | ||
tristate "EDAC core system error reporting" | ||
depends on X86 | ||
default y | ||
help | ||
EDAC is designed to report errors in the core system. | ||
These are low-level errors that are reported in the CPU or | ||
supporting chipset: memory errors, cache errors, PCI errors, | ||
thermal throttling, etc.. If unsure, select 'Y'. | ||
|
||
|
||
comment "Reporting subsystems" | ||
depends on EDAC | ||
|
||
config EDAC_DEBUG | ||
bool "Debugging" | ||
depends on EDAC | ||
help | ||
This turns on debugging information for the entire EDAC | ||
sub-system. You can insert module with "debug_level=x", current | ||
there're four debug levels (x=0,1,2,3 from low to high). | ||
Usually you should select 'N'. | ||
|
||
config EDAC_MM_EDAC | ||
tristate "Main Memory EDAC (Error Detection And Correction) reporting" | ||
depends on EDAC | ||
default y | ||
help | ||
Some systems are able to detect and correct errors in main | ||
memory. EDAC can report statistics on memory error | ||
detection and correction (EDAC - or commonly referred to ECC | ||
errors). EDAC will also try to decode where these errors | ||
occurred so that a particular failing memory module can be | ||
replaced. If unsure, select 'Y'. | ||
|
||
|
||
config EDAC_AMD76X | ||
tristate "AMD 76x (760, 762, 768)" | ||
depends on EDAC_MM_EDAC && PCI | ||
help | ||
Support for error detection and correction on the AMD 76x | ||
series of chipsets used with the Athlon processor. | ||
|
||
config EDAC_E7XXX | ||
tristate "Intel e7xxx (e7205, e7500, e7501, e7505)" | ||
depends on EDAC_MM_EDAC && PCI | ||
help | ||
Support for error detection and correction on the Intel | ||
E7205, E7500, E7501 and E7505 server chipsets. | ||
|
||
config EDAC_E752X | ||
tristate "Intel e752x (e7520, e7525, e7320)" | ||
depends on EDAC_MM_EDAC && PCI | ||
help | ||
Support for error detection and correction on the Intel | ||
E7520, E7525, E7320 server chipsets. | ||
|
||
config EDAC_I82875P | ||
tristate "Intel 82875p (D82875P, E7210)" | ||
depends on EDAC_MM_EDAC && PCI | ||
help | ||
Support for error detection and correction on the Intel | ||
DP82785P and E7210 server chipsets. | ||
|
||
config EDAC_I82860 | ||
tristate "Intel 82860" | ||
depends on EDAC_MM_EDAC && PCI | ||
help | ||
Support for error detection and correction on the Intel | ||
82860 chipset. | ||
|
||
config EDAC_R82600 | ||
tristate "Radisys 82600 embedded chipset" | ||
depends on EDAC_MM_EDAC | ||
help | ||
Support for error detection and correction on the Radisys | ||
82600 embedded chipset. | ||
|
||
choice | ||
prompt "Error detecting method" | ||
depends on EDAC | ||
default EDAC_POLL | ||
|
||
config EDAC_POLL | ||
bool "Poll for errors" | ||
depends on EDAC | ||
help | ||
Poll the chipset periodically to detect errors. | ||
|
||
endchoice | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
# Makefile for the Linux kernel EDAC drivers. | ||
# | ||
# Copyright 02 Jul 2003, Linux Networx (http://lnxi.com) | ||
# This file may be distributed under the terms of the | ||
# GNU General Public License. | ||
# | ||
# $Id: Makefile,v 1.4.2.3 2005/07/08 22:05:38 dsp_llnl Exp $ | ||
|
||
|
||
obj-$(CONFIG_EDAC_MM_EDAC) += edac_mc.o | ||
obj-$(CONFIG_EDAC_AMD76X) += amd76x_edac.o | ||
obj-$(CONFIG_EDAC_E7XXX) += e7xxx_edac.o | ||
obj-$(CONFIG_EDAC_E752X) += e752x_edac.o | ||
obj-$(CONFIG_EDAC_I82875P) += i82875p_edac.o | ||
obj-$(CONFIG_EDAC_I82860) += i82860_edac.o | ||
obj-$(CONFIG_EDAC_R82600) += r82600_edac.o | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.