ACPI patches for 2.6.38-rc7
Hi Linus,
please pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release
This will update the files shown below.
thanks!
Len Brown
Intel Open Source Technology Center
drivers/acpi/acpica/aclocal.h | 7 +++++- drivers/acpi/acpica/evgpe.c | 17 ++++++++++++--- drivers/acpi/acpica/evxfgpe.c | 42 ++++++++++++++++++++++++++++++++-------- drivers/acpi/debugfs.c | 20 +++++++++++++----- 4 files changed, 66 insertions(+), 20 deletions(-)
through these commits:
Rafael J. Wysocki (1):
ACPI / ACPICA: Implicit notify for multiple devices
Vasiliy Kulikov (1):
ACPI / debugfs: Fix buffer overflows, double free
with this log:
commit 981858bd7a401aa9607d9f430d5de920025fc3ea
Author: Rafael J. Wysocki <[email protected]> Date: Thu Feb 24 19:59:21 2011 +0100
ACPI / ACPICA: Implicit notify for multiple devices
Commit bba63a2 (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 bba63a2 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.
commit 2949ad50711cc161721cf788711722eeeca33764
Author: Vasiliy Kulikov <[email protected]> Date: Sat Feb 19 14:18:08 2011 +0100
ACPI / debugfs: Fix buffer overflows, double free
File position is not controlled, it may lead to overwrites of arbitrary kernel memory. Also the code may kfree() the same pointer multiple times.
One more flaw is still present: if multiple processes open the file then all 3 static variables are shared, leading to various race conditions. They should be moved to file->private_data.