Re: [PATCH v1 3/4] ACPI: OSL: Allow Notify () handlers to run on all CPUs

From: Rafael J. Wysocki
Date: Wed Nov 29 2023 - 10:18:08 EST


On Wed, Nov 29, 2023 at 3:34 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> On Wed, Nov 29, 2023 at 02:50:54PM +0100, Rafael J. Wysocki wrote:
> > From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> >
> > Notify () handlers, like GPE handlers, are only allowed to run on CPU0
> > now out of the concern that they might trigger an SMM trap and that (in
> > some cases) the SMM code running as a result of that might corrupt
> > memory if not run on CPU0.
>
> Pardon my French, but I'm a bit lost in the semantics of all those "that".

Well, fair enough.

> Maybe the above can be simplified?

It can be rephrased.