Skip to contentSkip to conversation

ACPI patches for 2.6.24-rc5

PATCH In review Len Brown 2 participants 3 messages Dec 14, 2007 ACPI

lore
Share & tools
lore

Len Brown

author reviewer
#0 lore raw

PATCH 1/1 ACPI patches for 2.6.24-rc5

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 [email protected]
and a consolidated plain patch is available here:
ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.24/acpi-release-20070126-2.6.24-rc5.diff.gz

 drivers/acpi/battery.c       |    2 +-
 drivers/acpi/numa.c          |    4 ++--
 drivers/acpi/video.c         |    4 ++--
 drivers/misc/thinkpad_acpi.c |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

through these commits:

Andrey Borzenkov (1):
ACPI: battery: fix ACPI battery technology reporting

Henrique de Moraes Holschuh (1):
ACPI: thinkpad-acpi: fix lenovo keymap for brightness

Jan Beulich (1):
ACPI: fix modpost warnings

William Lee Irwin III (1):
ACPI: video_device_list corruption

with this log:

commit d020c36685a35f66be89700e911c7d77a67bdc43
Merge: 6790acb... ad40e68...
Author: Len Brown <[email protected]>
Date: Thu Dec 13 22:16:14 2007 -0500

Pull battery-2.6.24 into release branch

commit 6790acb14d264d874ff8cbae1a72e72883ec3678
Merge: ffada89... 56a185b...
Author: Len Brown <[email protected]>
Date: Thu Dec 13 22:12:38 2007 -0500

Pull thinkpad-2.6.24 into release branch

commit 56a185b43be05e48da7428e6a1d3e2585b232b1d

Author: Henrique de Moraes Holschuh <[email protected]>
Date:   Thu Dec 13 12:14:09 2007 -0200

ACPI: thinkpad-acpi: fix lenovo keymap for brightness

Starting in 2.6.23...

Several reports from X60 users complained that the default Lenovo keymap issuing EV_KEY KEY_BRIGHTNESS_UP/DOWN input events caused major issues when the proper brightness support through ACPI video.c was loaded.

Therefore, remove the generation of these events by default, which is the right thing for T60, X60, R60, T61, X61 and R61 with their latest BIOSes.

Distros that want to misuse these events into OSD reporting (which requires an ugly hack from hell in HAL) are welcome to set up the key map they need through HAL. That way, we don't break everyone else's systems.

commit ffada8913e39e6fd35e95d7040ccac57b45812c9

Author: Jan Beulich <[email protected]>
Date:   Thu Dec 13 08:32:26 2007 +0000

ACPI: fix modpost warnings

for sn2_defconfig:

WARNING: vmlinux.o(.text+0x4b8601): Section mismatch: reference to .init.data:node_to_pxm_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm')
WARNING: vmlinux.o(.text+0x4b8741): Section mismatch: reference to .init.data:pxm_to_node_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node')

commit 98934def70b48dac74fac3738b78ab2d1a28edda

Author: William Lee Irwin III <[email protected]>
Date:   Wed Dec 12 03:56:55 2007 -0800

ACPI: video_device_list corruption

The ->cap fields of struct acpi_video_device and struct acpi_video_bus are 1B each, not 4B. The oversized memset()'s corrupted the subsequent list_head fields. This resulted in silent corruption without CONFIG_DEBUG_LIST and BUG's with it. This patch uses sizeof() to pass the proper bounds to the memset() calls and thereby correct the bugs.

commit ad40e68bf5c54831cd6b2199fd24d616bac179f7

Author: Andrey Borzenkov <[email protected]>
Date:   Sat Nov 10 20:02:49 2007 +0300

ACPI: battery: fix ACPI battery technology reporting

At least some systems report technology information with trailing spaces:

{pts/1}% cat -E /var/tmp/bat/2.6.23 | grep type
battery type: Li-ION $

Use strncasecmp to compare model string to skip trailing part

#1 lore raw
Quoted 14 lines · On Fri, 14 Dec 2007 01:26:11 -0500 Len Brown <[email protected]> wrote:

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 [email protected]
and a consolidated plain patch is available here:
ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.24/acpi-release-20070126-2.6.24-rc5.diff.gz

Quoted 5 lines
 drivers/acpi/battery.c       |    2 +-
 drivers/acpi/numa.c          |    4 ++--
 drivers/acpi/video.c         |    4 ++--
 drivers/misc/thinkpad_acpi.c |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

What's happening with Alexey's sbs regression fixes?

#2 lore raw
In reply to Len Brown
Quoted 14 lines · On Fri, 14 Dec 2007 01:26:11 -0500 Len Brown <[email protected]> wrote:

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 [email protected]
and a consolidated plain patch is available here:
ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.24/acpi-release-20070126-2.6.24-rc5.diff.gz

Quoted 5 lines
 drivers/acpi/battery.c       |    2 +-
 drivers/acpi/numa.c          |    4 ++--
 drivers/acpi/video.c         |    4 ++--
 drivers/misc/thinkpad_acpi.c |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

What's happening with Alexey's sbs regression fixes?