diff options
author | Tony Luck <[email protected]> | 2018-09-28 14:39:34 -0700 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2018-09-29 10:58:16 +0200 |
commit | 432de7fd7630c84ad24f1c2acd1e3bb4ce3741ca (patch) | |
tree | cb6a2dfe0a5ed7bf9e0c9621ac00d603c90df5e0 /tools/perf/util/trace-event-scripting.c | |
parent | 8537bf10976c56c6e0cc8b05a835e58cbbb1d287 (diff) |
EDAC, {i7core,sb,skx}_edac: Fix uncorrected error counting
The count of errors is picked up from bits 52:38 of the machine check
bank status register. But this is the count of *corrected* errors. If an
uncorrected error is being logged, the h/w sets this field to 0. Which
means that when edac_mc_handle_error() is called, the EDAC core will
carefully add zero to the appropriate uncorrected error counts.
Signed-off-by: Tony Luck <[email protected]>
[ Massage commit message. ]
Signed-off-by: Borislav Petkov <[email protected]>
Cc: [email protected]
Cc: Aristeu Rozanski <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Qiuxu Zhuo <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions