Re: [PATCH] EDAC/mc: call edac_inc_ue_error() before panic

2020-06-10 Thread Zhenzhong Duan
On Thu, Jun 11, 2020 at 1:19 AM Luck, Tony wrote: > > On Wed, Jun 10, 2020 at 02:58:46PM +0800, Zhenzhong Duan wrote: > > By calling edac_inc_ue_error() before panic, we get a correct UE error > > count for core dump analysis. > > Looks accurate, and I'll add the patch to be applied. But I wonder

Re: [PATCH] EDAC/mc: call edac_inc_ue_error() before panic

2020-06-10 Thread Luck, Tony
On Wed, Jun 10, 2020 at 02:58:46PM +0800, Zhenzhong Duan wrote: > By calling edac_inc_ue_error() before panic, we get a correct UE error > count for core dump analysis. Looks accurate, and I'll add the patch to be applied. But I wonder how big a problem it is. Isn't most of the information derivea

[PATCH] EDAC/mc: call edac_inc_ue_error() before panic

2020-06-09 Thread Zhenzhong Duan
By calling edac_inc_ue_error() before panic, we get a correct UE error count for core dump analysis. Signed-off-by: Zhenzhong Duan --- drivers/edac/edac_mc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 75ede27..c1f