[GIT PATCH] ACPI patches for 2.6.23-rc8

From: Len Brown
Date: Tue Sep 25 2007 - 18:05:23 EST


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

ps. individual patches are available on linux-acpi@xxxxxxxxxxxxxxx
and a consolidated plain patch is available here:
ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.23/acpi-release-20070126-2.6.23-rc8.diff.gz

drivers/acpi/sleep/Makefile | 2 -
drivers/acpi/sleep/main.c | 46 +++++++++++++++++---------------
drivers/char/hpet.c | 6 ++--
include/acpi/acpi_drivers.h | 4 --
4 files changed, 29 insertions(+), 29 deletions(-)

through these commits:

Alexey Starikovskiy (2):
ACPI: suspend: build-fix for CONFIG_SUSPEND=n and CONFIG_HIBERNATION=y
ACPI: CONFIG_ACPI_SLEEP=n power off regression in 2.6.23-rc8 (NOT in rc7)

Zhao Yakui (1):
ACPI: hpet: ACPI Error (utglobal-0126): Unknown exception code: 0xFFFFFFF0

with this log:

commit 78e1ca49c7ead5cd00882ed0c776260857613122
Author: Zhao Yakui <yakui.zhao@xxxxxxxxx>
Date: Thu Sep 20 21:23:13 2007 -0400

ACPI: hpet: ACPI Error (utglobal-0126): Unknown exception code: 0xFFFFFFF0

If hpet has been initialized before registering hpet driver, the callback
function of hpet_resources will return the status code of -EBUSY, which is
not defined in the ACPI exception table. So when ACPI checks the status
code of callback function, it will report the unknown exception code.

So the status code in ACPI is used instead of the generic error code in the
ACPI callback function of hpet_resources.
For example: -EBUSY is replaced by AE_ALREADY_EXISTS
-EINVAL is replaced by AE_NO_MEMORY

http://bugzilla.kernel.org/show_bug.cgi?id=8630

Signed-off-by: Zhao Yakui <yakui.zhao@xxxxxxxxx>
Signed-off-by: Len Brown <len.brown@xxxxxxxxx>

commit 853298bc03ef65e3eb392f5d61265605214ee8fb
Author: Alexey Starikovskiy <astarikovskiy@xxxxxxx>
Date: Tue Sep 25 18:45:15 2007 +0400

ACPI: CONFIG_ACPI_SLEEP=n power off regression in 2.6.23-rc8 (NOT in rc7)

Signed-off-by: Alexey Starikovskiy <astarikovskiy@xxxxxxx>
Acked-by: Rafael J. Wysocki <rjw@xxxxxxx>
Signed-off-by: Len Brown <len.brown@xxxxxxxxx>

commit 2f3f22269bdf702311342c5d106dfdd7347d1c3e
Author: Alexey Starikovskiy <astarikovskiy@xxxxxxx>
Date: Mon Sep 24 14:33:21 2007 +0200

ACPI: suspend: build-fix for CONFIG_SUSPEND=n and CONFIG_HIBERNATION=y

This fixes compilation with CONFIG_SUSPEND unset and CONFIG_HIBERNATION set
(raf. http://marc.info/?l=linux-acpi&m=119055289723895&w=4).

Signed-off-by: Alexey Starikovskiy <astarikovskiy@xxxxxxx>
Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
Signed-off-by: Len Brown <len.brown@xxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/