[PATCH] acpi: cm_sbs: use NULL instead of 0 for ptr

2006-09-25 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Use NULL instead of 0 for pointer value, eliminate sparse warnings. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- drivers/acpi/cm_sbs.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- linux-2618-g4.orig/drivers/acpi/cm_sbs.c +++ lin

Re:[patch 10/10] Fix incorrect handling PCI-Express Root Bridge _HID

2006-09-25 Thread eiichiro.oiwa.nm
Hi Andrew, We need this patch for APCI hotplug because APCI parser gets bus number from acpi_object_extra. I already tested this patch by ACPI hotplug, and confirmed there is no problem on our box has described PCI topology. I don't have git rights. Could you merge this patch into Linus's tree?

[patch 09/10] acpi: add removable drive bay support

2006-09-25 Thread akpm
From: Kristen Carlson Accardi <[EMAIL PROTECTED]> This driver adds generic removable drive bay support. Signed-off-by: Kristen Carlson Accardi <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/acpi/Kconfig |7 drivers/acpi/Makefile |1 drivers/acpi/bay.

[patch 07/10] acpi: mwait/C-state support

2006-09-25 Thread akpm
From: Venkatesh Pallipadi <[EMAIL PROTECTED]> Background: Newer Intel processors (eg: Core Duo), support processor native C-state using mwait instructions. Refer: Intel Architecture Software Developer's Manual http://www.intel.com/design/Pentium4/manuals/253668.htm Platform firmware exports the s

[patch 10/10] Fix incorrect handling PCI-Express Root Bridge _HID

2006-09-25 Thread akpm
From: <[EMAIL PROTECTED]> Lifted from http://bugzilla.kernel.org/show_bug.cgi?id=7145 PCI Bus Topology: [CPU] [CPU][CPU] [CPU] | |BUS| | BUS --+--+---+--- --+--+--+-- | | [Root Bridge]*1-[Root Bridge]*1 | | \

[patch 03/10] ACPI: SCI interrupt source override

2006-09-25 Thread akpm
From: Kimball Murray <[EMAIL PROTECTED]> The Linux group at Stratus Technologies has come across an issue with SCI routing under ACPI. We were bitten by this when we made an x86_64 platform whose BIOS provides an Interrupt Source Override for the SCI itself. Apparently the override has no effect

[patch 05/10] asus_acpi: fix proc files parsing

2006-09-25 Thread akpm
From: Darren Jenkins <[EMAIL PROTECTED]> ICC complains about a "Pointless comparsion of unsigned interger with zero" @ line 760 & 808 of asus_acpi.c parse_arg() mentioned below returns -E but it's copied into unsigned variable... Signed-off-by: Darren Jenkins <[EMAIL PROTECTED]> Signed-off-by: A

[patch 06/10] asus_acpi: don't printk on writing garbage to proc files

2006-09-25 Thread akpm
From: Alexey Dobriyan <[EMAIL PROTECTED]> * This reporting is useless (you get errno anyway). * This reporting is already inconsistent in driver. * Looks like created files in proc are rw-rw-rw- by default. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PR

[patch 08/10] acpi: check if parent is on dock

2006-09-25 Thread akpm
From: Kristen Carlson Accardi <[EMAIL PROTECTED]> Ever since I put out the docking station patches people have been asking me if I could get removable drive bays to work as well. These are devices such as the IBM/Lenovo Ultrabay, or the Dell Module Bay - basically removable disk drives. There is

[patch 01/10] acpi: fix section for CPU init functions

2006-09-25 Thread akpm
From: Pierre Ossman <[EMAIL PROTECTED]> The ACPI processor init functions should be marked as __cpuinit as they use structures marked with __cpuinitdata. Signed-off-by: Pierre Ossman <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/acpi/processor_core.c |2 +-

[patch 02/10] ACPI: fix printk format warnings

2006-09-25 Thread akpm
From: Randy Dunlap <[EMAIL PROTECTED]> Fix printk format warnings in drivers/acpi: drivers/acpi/tables/tbget.c:326: warning: format '%X' expects type 'unsigned int', but argument 5 has type 'long unsigned int' drivers/acpi/tables/tbrsdt.c:189: warning: format '%X' expects type 'unsigned int', bu

[patch 04/10] ACPI: Clear GPE before disabling it

2006-09-25 Thread akpm
From: William Morrow <[EMAIL PROTECTED]> On some BIOSen, the GPE bit will remain set even if it is disabled, resulting in a interrupt storm. This patch clears the bit before disabling it. Signed-off-by: William Morrow <[EMAIL PROTECTED]> Signed-off-by: Jordan Crouse <[EMAIL PROTECTED]> Cc: "Yu,

ACPI Problem on resuming from disk on Samsung X05

2006-09-25 Thread Soenke Huels
Hi! For some time, I have had some problems with suspend to disk on my laptop (Samsung X05 XTC 1400c). When suspending to disk (tried suspend2 as well as in-kernel swsusp), ACPI gives the following error after resume (PM debug enabled): Sep 22 19:46:49 paula kernel: osl-0822 [30] os_wait_sem

Re: ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11, why not in 9 ?

2006-09-25 Thread Sergio Monteiro Basto
On Monday 25 September 2006 04:42, Randy Dunlap wrote: > You should probably file a bug in the kernel bugzilla at > http://kernel.bugzilla.org and provides lots of info. Is already in bubzilla http://bugzilla.kernel.org/show_bug.cgi?id=2874#c22 Thanks, -- Sérgio M. B. - To unsubscribe from this

Re: [12/12] acpi: set fake hid

2006-09-25 Thread Zhang Rui
On Mon, 2006-09-25 at 12:40 +0300, Mika Penttilä wrote: > Zhang Rui wrote: > > On Fri, 2006-09-22 at 14:59 +0300, Mika Penttilä wrote: > > > >> +static int acpi_pci_bridge_match(struct acpi_device *device) > >> +{ > >> + acpi_status status; > >> + acpi_handle handle; > >> + > >> +

Re: [12/12] acpi: set fake hid

2006-09-25 Thread Mika Penttilä
Zhang Rui wrote: On Fri, 2006-09-22 at 14:59 +0300, Mika Penttilä wrote: +static int acpi_pci_bridge_match(struct acpi_device *device) +{ + acpi_status status; + acpi_handle handle; + + /* pci bridge has _PRT but isn't PNP0A03 */ + status = acpi_get_handle(device->hand

Re: [12/12] acpi: set fake hid

2006-09-25 Thread Zhang Rui
On Fri, 2006-09-22 at 14:59 +0300, Mika Penttilä wrote: > +static int acpi_pci_bridge_match(struct acpi_device *device) > +{ > + acpi_status status; > + acpi_handle handle; > + > + /* pci bridge has _PRT but isn't PNP0A03 */ > + status = acpi_get_handle(device->handle, METH

Re: [PATCH 2.6.18 1/1] ACPI: limit cstate on noisy thinkpad t43/p models

2006-09-25 Thread Timo Hoenig
Hi, On Mon, 2006-09-25 at 03:06 -0400, Len Brown wrote: > On Sunday 24 September 2006 07:38, Timo Hoenig wrote: > > > I think it is a more general problem. The systems with Intel Core Duo I > > got my hands on all show the symptom: Once the system is idle, the > > second core begins to whine.

Re: [PATCH 2.6.18 1/1] ACPI: limit cstate on noisy thinkpad t43/p models

2006-09-25 Thread Len Brown
On Sunday 24 September 2006 07:38, Timo Hoenig wrote: > I think it is a more general problem. The systems with Intel Core Duo I > got my hands on all show the symptom: Once the system is idle, the > second core begins to whine. It's annoying in quiet environments. > > * Turning off the s