Subject: ACPI: Check whether XSDT exists before dump ACPI tables

2007-11-20 Thread Zhao Yakui
Subject: ACPI: Check whether XSDT exists before dump ACPI tables From: Zhao Yakui [EMAIL PROTECTED] The acpidump tool of 20070714 version has some problems on some machines.First it will first search XSDT table to dump ACPI tables. If XSDT exists it will continue search RSDT and only dump ACPI

Re: [PATCH] ACPI: disable the gpe that doesn't have a GPE handler correctly

2007-11-20 Thread Alexey Starikovskiy
Zhang Rui wrote: On Mon, 2007-11-19 at 15:32 +0800, Zhang Rui wrote: From: Zhang Rui [EMAIL PROTECTED] The current code only disable the GPE by judging the GPE type, which is one of WAKE, RUNTIME and WAKE_RUN. In bug 6217, GPE 17 is enabled by the AML code ... And it will be triggerred when

[PATCH -v2] ACPI: disable the gpe that doesn't have a GPE handler correctly

2007-11-20 Thread Zhang Rui
From: Zhang Rui [EMAIL PROTECTED] The current code only disable the GPE by judging the GPE type, which is one of WAKE, RUNTIME and WAKE_RUN. In bug 6217, GPE 17 is enabled by the AML code ... And it will be triggerred when an extra CRT is connected. As GPE 17 is not ec gpe, and there is no

stgit (was Re: [PATCH 4/4, v4] ACPI, PCI: ACPI PCI slot detection driver)

2007-11-20 Thread Henrique de Moraes Holschuh
On Mon, 19 Nov 2007, Alex Chiang wrote: Ugh, seems that stacked git got very confused when I did a git-fetch git-rebase origin. Also, guess it figures that I Being a very heavy stgit user myself, I have to say you must give up git rebase on any stgit branch, and use stg rebase instead...

Re: Subject: ACPI: Check whether XSDT exists before dump ACPI tables

2007-11-20 Thread Len Brown
This patch is included in the latest release: http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/pmtools-20071116.tar.gz thanks, -Len On Tuesday 20 November 2007 03:33, Zhao Yakui wrote: Subject: ACPI: Check whether XSDT exists before dump ACPI tables From: Zhao Yakui [EMAIL

[PATCH 2/2] ACPI: WMI: Add sysfs userspace interface

2007-11-20 Thread Carlos Corbacho
There is a userspace interface in /sys/firmware/acpi/wmi for WMI methods and data. /sys/firmware/acpi/wmi/ | |- GUID/ |- type (method, data, event) Method data blocks |- instance/ |- data (binary data file - write input data to file, read file to execute method or retrieve

[PATCH 1/2] ACPI: WMI: Add WMI-ACPI mapper driver

2007-11-20 Thread Carlos Corbacho
The following is an implementation of the Windows Management Instrumentation (WMI) ACPI interface mapper (PNP0C14). What it does: Parses the _WDG method and exports functions to process WMI method calls, data block query/ set commands (both based on GUID) and does basic event handling. How: WMI

[PATCH 0/2 v7] ACPI: WMI: Patches

2007-11-20 Thread Carlos Corbacho
Here comes the next version of WMI. Patch 1 (Add driver and in kernel interface): IMNSHO, this patch is ready for testing . Ideally, I'd like to see it go up to -mm and start crash^working on other systems. (Of course, outside review is always appreciated - reviewing my own patches is

[GIT PATCH] ACPI patches for 2.6.24-rc3

2007-11-20 Thread Len Brown
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release This request is larger than I'd prefer at -rc3, but as I wasn't available for an -rc2 merge, some things waited until now. The good news is that the larger text changes are low risk. The

ACPI: disable stray GPE, prevent ACPI interrupt storm

2007-11-20 Thread Len Brown
Bob, Rui's Linux patch below modifies an ACPICA file. thanks, -Len commit a7f9b1f24974da287771e2d70b30d9ca7bd66684 Author: Zhang Rui [EMAIL PROTECTED] Date: Tue Nov 20 13:38:59 2007 -0500 ACPI: disable stray GPE, prevent ACPI interrupt storm GPEs are disabled depending on their

Re: [PATCH 0/4, v3] Physical PCI slot objects

2007-11-20 Thread Gary Hade
On Tue, Nov 20, 2007 at 02:04:02AM +, Matthew Garrett wrote: On Mon, Nov 19, 2007 at 03:32:25PM -0800, Gary Hade wrote: Alex, What I was trying to suggest is a boot-time kernel option, not a kernel configuration option. The basic idea is to give the user (with a single binary

[PATCH 1/2] ACPI: EC: Add debug printks.

2007-11-20 Thread Alexey Starikovskiy
Sometimes it is usefull to see raw protocol dump. Uncomment '#define DEBUG' at the beginning of file to make EC really verbose. Signed-off-by: Márton Németh [EMAIL PROTECTED] Signed-off-by: Alexey Starikovskiy [EMAIL PROTECTED] --- drivers/acpi/ec.c | 41

[PATCH 2/2] ACPI: EC: Workaround for optimized controllers (version 3)

2007-11-20 Thread Alexey Starikovskiy
Some controllers fail to send confirmation GPE after address or data write. Detect this and don't expect such confirmation in future. This is a generalization of previous workaround (66c5f4e7367b0085652931b2f3366de29e7ff5ec), which did only read address. Reference:

RE: ACPI: disable stray GPE, prevent ACPI interrupt storm

2007-11-20 Thread Moore, Robert
Ok /*lint -fallthrough */ Our lint needs this -Original Message- From: Len Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 20, 2007 10:43 AM To: Moore, Robert Cc: linux-acpi@vger.kernel.org; Zhang, Rui; Alexey Starikovskiy Subject: ACPI: disable stray GPE, prevent ACPI

Re: [PATCH 1/2] Sonypi: use synchronize_irq instead of sycnronize_sched

2007-11-20 Thread Mattia Dongili
On Wed, Oct 31, 2007 at 12:41:54AM -0400, Dmitry Torokhov wrote: Hi Mattia, It looks like you are also looking after sonypi... -- Dmitry Subject: Sonypi: use synchronize_irq instead of sycnronize_sched From: Dmitry Torokhov [EMAIL PROTECTED] We know exactly what IRQ we are using,

Re: [PATCH 2/2] Sonypi: fit input devices into sysfs tree

2007-11-20 Thread Mattia Dongili
On Wed, Oct 31, 2007 at 12:43:10AM -0400, Dmitry Torokhov wrote: Subject: Sonypi: fit input devices into sysfs tree From: Dmitry Torokhov [EMAIL PROTECTED] Properly set up parent on input devices registered by sonypi. Signed-off-by: Dmitry Torokhov [EMAIL PROTECTED] Acked-by: Mattia

RE: ACPI: disable stray GPE, prevent ACPI interrupt storm

2007-11-20 Thread Moore, Robert
BTW, this kind of change begs for a comment, how about: default: /* * Even if we don't know the GPE type, make sure that we always * disable it. This can prevent a certain type of GPE flood, where * the GPE has no _Lxx/_Exx method, and it cannot be

Re: [PATCH 0/8] Suspend/hibernation patches for 2.6.25

2007-11-20 Thread Rafael J. Wysocki
On Tuesday, 20 of November 2007, Len Brown wrote: thanks for re-sending, Rafael. I've created a new suspend branch -- currently rooted on Linus' latest. git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git suspend I've re-based the older hibernate patches onto the new

Re: acpi_osi=!Linux work better than acpi_osi=Linux

2007-11-20 Thread Len Brown
On Friday 26 October 2007 21:13, 陳王展 wrote: Dear all, after trying all the combinations from en.opensuse.org/S2ram, the s2ram still hang or immediately shutdown the system. But, I try to pass the acpi_osi=!Linux to the kernel, it work well! the following settings is ok for me. s2ram

[PATCH 2/2] ACPI: EC: Workaround for optimized controllers (version 3)

2007-11-20 Thread Alexey Starikovskiy
Some controllers fail to send confirmation GPE after address or data write. Detect this and don't expect such confirmation in future. This is a generalization of previous workaround (66c5f4e7367b0085652931b2f3366de29e7ff5ec), which did only read address. Reference:

[PATCH 1/2] ACPI: EC: Add debug printks.

2007-11-20 Thread Alexey Starikovskiy
Sometimes it is usefull to see raw protocol dump. Uncomment '#define DEBUG' at the beginning of file to make EC really verbose. Signed-off-by: Márton Németh [EMAIL PROTECTED] Signed-off-by: Alexey Starikovskiy [EMAIL PROTECTED] --- drivers/acpi/ec.c | 50

[PATCH 1/2] ACPI: EC: Add debug printks.

2007-11-20 Thread Alexey Starikovskiy
Sometimes it is usefull to see raw protocol dump. Uncomment '#define DEBUG' at the beginning of file to make EC really verbose. Signed-off-by: Márton Németh [EMAIL PROTECTED] Signed-off-by: Alexey Starikovskiy [EMAIL PROTECTED] --- drivers/acpi/ec.c | 50

[PATCH 2/2] ACPI: EC: Workaround for optimized controllers (version 3)

2007-11-20 Thread Alexey Starikovskiy
Some controllers fail to send confirmation GPE after address or data write. Detect this and don't expect such confirmation in future. This is a generalization of previous workaround (66c5f4e7367b0085652931b2f3366de29e7ff5ec), which did only read address. Reference:

Suspend to ram on Toshiba U200

2007-11-20 Thread Marc Deop i Argemí
Hi everybody, I have this mentioned laptop, exactly a Toshiba U200-141. Well, the reason of this email is that with the actual kernel I have the known problem of spending 5 to 10 minutes to get the laptop to suspend to ram. Well, looking at my dmidecode and the drivers/ata/ata_piix.c I see an

Re: [PATCH 1/2] ACPI: EC: Add debug printks.

2007-11-20 Thread Len Brown
1 and 2 applied. thanks, -Len On Tuesday 20 November 2007 19:23, Alexey Starikovskiy wrote: Sometimes it is usefull to see raw protocol dump. Uncomment '#define DEBUG' at the beginning of file to make EC really verbose. Signed-off-by: Márton Németh [EMAIL PROTECTED] Signed-off-by: Alexey

Re: [PATCH 0/8] Suspend/hibernation patches for 2.6.25

2007-11-20 Thread Len Brown
On Tuesday 20 November 2007 18:59, Rafael J. Wysocki wrote: On Tuesday, 20 of November 2007, Len Brown wrote: thanks for re-sending, Rafael. I've created a new suspend branch -- currently rooted on Linus' latest. git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git

RE: ACPI: disable stray GPE, prevent ACPI interrupt storm

2007-11-20 Thread Zhang Rui
On Wed, 2007-11-21 at 07:11 +0800, Moore, Robert wrote: BTW, this kind of change begs for a comment Sounds good. :) Thanks, Rui default: /* * Even if we don't know the GPE type, make sure that we always * disable it. This can prevent a certain type of GPE

dmidecode from Chaintech Summit MK8M800 motherboard ( VIA K8M800 )

2007-11-20 Thread Jaakan Shorter
My system locked up randomly with the 2.6.22 kernel ( even with a live CD ubuntu 7.10 ) I think it's related to the bios and the kernel I don't remember the 2.6.20 kernel having that issue but that was before I got an NV GF6200 256Mb AGP card anything else I can do to help let me know #

Re: 2.6.24-rc3-mm1 - Kernel Panic on IO-APIC

2007-11-20 Thread Andrew Morton
On Wed, 21 Nov 2007 11:41:23 +0530 Kamalesh Babulal [EMAIL PROTECTED] wrote: Hi Andrew, Kernel panic's across different architectures like powerpc, x86_64, powerpc complains about IO-APICs?? Dentry cache hash table entries: 8388608 (order: 14, 67108864 bytes) Inode-cache hash table