Skip to contentSkip to conversation

ACPI patches for 3.0.0-rc7

GIT Len Brown 1 participant 1 message Jul 16, 2011 ACPI

lore
Share & tools
lore

Len Brown

author reviewer Tested-by Mathias Tested-by Andrea Righi Reviewed-by Florian Mickler
#0 lore raw

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/apei/hest.c        |   12 +++++++++++-
 drivers/acpi/osl.c              |   17 -----------------
 include/acpi/acpi_bus.h         |    2 +-
 include/acpi/acpiosxf.h         |    3 +++
 include/acpi/platform/aclinux.h |   18 ++++++++++++++++++
 5 files changed, 33 insertions(+), 19 deletions(-)

through these commits:

Huang Ying (1):
ACPI, APEI, HEST, Detect duplicated hardware error source ID

Lin Ming (1):
ACPI: Fixes device power states array overflow

Rafael J. Wysocki (1):
ACPI: Fix lockdep false positives in acpi_power_off()

with this log:

commit 7fb574a97f7147610c44cef55d0cde2409392a80
Merge: b4a03b9 4d2b295 07e49a7
Author: Len Brown <[email protected]>
Date: Thu Jul 14 00:16:38 2011 -0400

    Merge branches 'd3cold', 'bugzilla-37412' and 'bugzilla-38152' into release

commit b4a03b9aa96cc186bf3cfd7a55cb7d7227f0cf4d

Author: Lin Ming <[email protected]>
Date:   Wed Jun 1 23:54:02 2011 +0800

ACPI: Fixes device power states array overflow

Commit 28c2103 added new state ACPI_STATE_D3_COLD, so the device power states array must be expanded by one also.

v2: Use ACPI_D_STATE_COUNT instead of number 5 for the array size.

commit 4d2b2956ef1113f1cc43e98e947c20d9c7d2712c

Author: Huang Ying <[email protected]>
Date:   Wed Jul 13 13:14:12 2011 +0800

ACPI, APEI, HEST, Detect duplicated hardware error source ID

The firmware on some machine will report duplicated hardware error source ID in HEST. This is considered a firmware bug. To provide better warning message, this patch adds duplicated hardware error source ID detecting and corresponding printk.

This patch fixes #37412 on kernel bugzilla:
https://bugzilla.kernel.org/show_bug.cgi?id=37412

commit 07e49a7a31153a95caa270d8ad7350a0bcd4d511

Author: Rafael J. Wysocki <[email protected]>
Date:   Wed Jul 6 20:44:25 2011 +0200

ACPI: Fix lockdep false positives in acpi_power_off()

All ACPICA locks are allocated by the same function, acpi_os_create_lock(), with the help of a local variable called "lock". Thus, when lockdep is enabled, it uses "lock" as the name of all those locks and regards them as instances of the same lock, which causes it to report possible locking problems with them when there aren't any.

To work around this problem, define acpi_os_create_lock() as a macro and make it pass its argument to spin_lock_init(), so that lockdep uses it as the name of the new lock. Define this macron in a Linux-specific file, to minimize the resulting modifications of the OS-independent ACPICA parts.

This change is based on an earlier patch from Andrea Righi and it addresses a regression from 2.6.39 tracked as
https://bugzilla.kernel.org/show_bug.cgi?id=38152