Re: [PATCH 18/19] EDAC, ghes: Unify trace_mc_event() code with edac_mc driver

2019-10-11 Thread Mauro Carvalho Chehab
Em Thu, 10 Oct 2019 20:25:40 + Robert Richter escreveu: > The code in ghes_edac.c and edac_mc.c for grain_bits calculation and > calling trace_mc_event() is now the same. Move it to a single location > in edac_raw_mc_handle_error(). > > The only difference is the missing

[PATCH 18/19] EDAC, ghes: Unify trace_mc_event() code with edac_mc driver

2019-10-10 Thread Robert Richter
The code in ghes_edac.c and edac_mc.c for grain_bits calculation and calling trace_mc_event() is now the same. Move it to a single location in edac_raw_mc_handle_error(). The only difference is the missing IS_ENABLED(CONFIG_RAS) switch, but this is needed for ghes too. Signed-off-by: Robert