mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 18:09:57 +00:00
sb_edac: avoid decoding the same error multiple times
Whenever the extended error reporting is active, multiple MCEs will be generated for the same event, which will lead to multiple repeated errors to be reported. So check ADDRV and only decode the error if the MCE address is valid. Signed-off-by: Aristeu Rozanski <arozansk@redhat.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
ea779b5a09
commit
be3036d220
1 changed files with 4 additions and 0 deletions
|
@ -1427,6 +1427,10 @@ static void sbridge_mce_output_error(struct mem_ctl_info *mci,
|
|||
}
|
||||
}
|
||||
|
||||
/* Only decode errors with an valid address (ADDRV) */
|
||||
if (!GET_BITFIELD(m->status, 58, 58))
|
||||
return;
|
||||
|
||||
rc = get_memory_error_data(mci, m->addr, &socket,
|
||||
&channel_mask, &rank, &area_type, msg);
|
||||
if (rc < 0)
|
||||
|
|
Loading…
Reference in a new issue