]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / ACPICA: Implicit notify for multiple devices
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 24 Feb 2011 18:59:21 +0000 (19:59 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 24 Feb 2011 18:59:21 +0000 (19:59 +0100)
commit6894d735e17d68b4586cda34590ac1820078d4c6
treeac68be4bb6d73e20e5e10dfc19af679214249f60
parent2a00159a24462b137b508181751269412202c22f
ACPI / ACPICA: Implicit notify for multiple devices

Commit b26a2ad (ACPICA: Implicit notify support) introduced a
mechanism that causes a notify request of type
ACPI_NOTIFY_DEVICE_WAKE to be queued automatically by
acpi_ev_asynch_execute_gpe_method() for the device whose _PRW points
to the GPE being handled if that GPE is not associated with an
_Lxx/_Exx method.  However, it turns out that on some systems there
are multiple devices with _PRW pointing to the same GPE without
_Lxx/_Exx and the mechanism introduced by commit b26a2ad needs to be
extended so that "implicit" notify requests of type
ACPI_NOTIFY_DEVICE_WAKE can be queued automatically for all those
devices at the same time.

Reported-and-tested-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/acpi/acpica/aclocal.h
drivers/acpi/acpica/evgpe.c
drivers/acpi/acpica/evxfgpe.c