Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

From: Kani, Toshimitsu
Date: Mon Aug 14 2017 - 11:57:54 EST


On Fri, 2017-08-11 at 11:04 +0200, Borislav Petkov wrote:
> On Mon, Aug 07, 2017 at 05:59:15PM +0000, Kani, Toshimitsu wrote:
> > I think we should keep the current scheme, which registers an mci
> > for
>
> No we shouldn't.
>
> > each GHES entry.ÂÂghes_edac_report_mem_error() expects that error-
> > reporting is serialized per a GHES entry.ÂÂSharing a single mci
> > among all GHES entries / error interfaces might lead to a race
> > condition.
>
> See how I solved it in my patchset and feel free to reuse it.

Hmm... Sorry, I failed to see how your patchset solved it. Would you
mind toÂexplain how it is done?

Thanks!
-Toshi