mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
EDAC, amd64: Add Deferred Error type
Currently, deferred errors are classified as correctable in EDAC. Add a new error type for deferred errors so that they are correctly reported to the user. Signed-off-by: Yazen Ghannam <[email protected]> Cc: Aravind Gopalakrishnan <[email protected]> Cc: linux-edac <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Borislav Petkov <[email protected]>
This commit is contained in:
parent
e70984d9eb
commit
d12a969ebb
2 changed files with 5 additions and 0 deletions
|
|
@ -2165,6 +2165,8 @@ static void __log_ecc_error(struct mem_ctl_info *mci, struct err_info *err,
|
|||
err_type = HW_EVENT_ERR_CORRECTED;
|
||||
else if (ecc_type == 1)
|
||||
err_type = HW_EVENT_ERR_UNCORRECTED;
|
||||
else if (ecc_type == 3)
|
||||
err_type = HW_EVENT_ERR_DEFERRED;
|
||||
else {
|
||||
WARN(1, "Something is rotten in the state of Denmark.\n");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue