Re: [PATCH] ACPI: bind workqueues to CPU 0 to avoid SMI corruption

Shaohua Li
2009-07-30T02:43:01Z

On Thu, Jul 30, 2009 at 05:54:25AM +0800, Bjorn Helgaas wrote:
> On some machines, a software-initiated SMI causes corruption unless the
> SMI runs on CPU 0. An SMI can be initiated by any AML, but typically it's
> done in GPE-related methods that are run via workqueues, so we can avoid
> the known corruption cases by binding the workqueues to CPU 0.
>
> References:
> http://bugzilla.kernel.org/show_bug.cgi?id=13751
> https://bugs.launchpad.net/bugs/157171
> https://bugs.launchpad.net/bugs/157691
Good job! Since any AML code can invoke a SMI, I wonder if all ACPICA should be
limited to run on CPU 0?