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

Steven Rostedt
2017-08-16T14:22:52Z

On Wed, 16 Aug 2017 16:03:50 +0200
Borislav Petkov <bp@alien8.de> wrote:

> > What's the likelihood of two calls to ghes_edac_register being done
> > simultaneously? Because two calls at the same time will get past this.
>
> Well, that thing gets called per GHES platform device and last time I
> checked they do get probed back-to-back but I'll check that again.

Maybe keep that original mutex just in case.

-- Steve