Re: [PATCH 2/5] Provide acpi_check_{mem_}region.

2008-02-07 Thread Andrew Morton
On Wed, 24 Oct 2007 16:32:59 +0200 Thomas Renninger <[EMAIL PROTECTED]> wrote: > Provide acpi_check_{mem_}region. > > Drivers can additionally check against possible ACPI interference by also > invoking this shortly before they call request_region. > If -EBUSY is returned, the driver must not loa

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Pavel Machek
Hi! > On Friday 08 February 2008 00:12:24 Ray Lee wrote: > > While I'm not trying to set you up for a firing squad, if you can show > > that the only use this driver has is as underlying support for Acer/HP > > xyz drivers, > > Certainly at the moment, this is the only real use it has (and the o

[GIT PATCH] ACPI patches for 2.6.25-rc0 (#2)

2008-02-07 Thread Len Brown
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git release Nothing exciting here, generally just tweaks to the previous batch. This will update the files shown below. thanks! -Len ps. individual patches are available on linux-acpi@vger.kernel.o

ACPI patches for 2.6.25-rc0 (more)

2008-02-07 Thread Len Brown
a couple more for 2.6.25-rc0... - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 1/8] ACPI: add newline to printk

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/osl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 27ccd68..a14501c 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c

[PATCH 8/8] acer-wmi, tc1100-wmi: select ACPI_WMI

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> It is safe for these Kconfig entries to use select because they select ACPI_WMI, which already has its dependencies satisfied. This makes Kconfig more user friendly, since the user selects the driver they want and the dependency is met for them. Otherwise, the

[PATCH 5/8] ACPI: thermal: syntax, spelling, kernel-doc

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> Reviewed-by: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- Documentation/thermal/sysfs-api.txt | 23 drivers/thermal/Kconfig |4 +- drivers/thermal/thermal.c | 49 +++

[PATCH 7/8] ACPI: WMI: Improve Kconfig description

2008-02-07 Thread Len Brown
From: Carlos Corbacho <[EMAIL PROTECTED]> As Pavel Machek has pointed out, the Kconfig entry for WMI is pretty non-descriptive. Rewrite it so that it explains what ACPI-WMI is, and why anyone would want to enable it. Many thanks to Ray Lee for ideas on this. Signed-off-by: Carlos Corbacho <[EMA

[PATCH 6/8] ACPI: DMI: add Panasonic CF-52 and Thinpad X61

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> Add Lenovo X61 Add Panasonic Toughbook CF-52 Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/blacklist.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklis

[PATCH 2/8] ACPI: cpufreq: Print _PPC changes via cpufreq debug layer

2008-02-07 Thread Len Brown
From: Thomas Renninger <[EMAIL PROTECTED]> enabled with CPU_FREQ_DEBUG Signed-off-by: Thomas Renninger <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/processor_perflib.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/acpi

[PATCH 4/8] intel_menlo: build on X86 only

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/misc/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 78cd338..218c65a 100644 --- a/drivers/misc/Kconfig +++ b/drivers/mis

[PATCH 3/8] ACPI: build WMI on X86 only

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index 7ef172c..65da19b 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acp

[PATCH] fix backlight in compaq nx6110

2008-02-07 Thread Sergio Monteiro Basto
Hi Len, I thought, tell you my last bisect kernel, for find the bug http://bugzilla.kernel.org/show_bug.cgi?id=9642 The patch in attach, the reverts (I don't create it, by myself) of a patch of the snapshot patch-2.6.23-rc7-git4. Applied on kernel-2.6.23.14 fix completely, my lid button event,

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Len Brown
On Thursday 07 February 2008 21:02, Carlos Corbacho wrote: > On Friday 08 February 2008 01:38:01 Ray Lee wrote: > > That's clear to me (whereas the original wasn't), though I would > > still argue for this driver being select'ed by the drivers that > > require it. As you note, other laptop specifi

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Len Brown
good description, Carlos. applied. thanks, -Len On Thursday 07 February 2008 20:19, Carlos Corbacho wrote: > On Friday 08 February 2008 00:12:24 Ray Lee wrote: > > On Feb 7, 2008 3:51 PM, Carlos Corbacho <[EMAIL PROTECTED]> wrote: > > > On Thursday 07 February 2008 23:33:54 Ray Lee wrote: > > > >

Re: Please send dmidecode to linux-acpi@vger.kernel.org - Acer Extensa 5220

2008-02-07 Thread Len Brown
please send me the output from acpidump. thanks, -Len Manufacturer: Acer Product Name: Extensa 5220 - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/major

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Carlos Corbacho
On Friday 08 February 2008 01:38:01 Ray Lee wrote: > That's clear to me (whereas the original wasn't), though I would > still argue for this driver being select'ed by the drivers that > require it. As you note, other laptop specific drivers do so, and > Linus has come down in favor of that as well

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Ray Lee
On Feb 7, 2008 5:19 PM, Carlos Corbacho <[EMAIL PROTECTED]> wrote: > On Friday 08 February 2008 00:12:24 Ray Lee wrote: > > On Feb 7, 2008 3:51 PM, Carlos Corbacho <[EMAIL PROTECTED]> wrote: > > > On Thursday 07 February 2008 23:33:54 Ray Lee wrote: > > > > Do you have list of hardware/platforms th

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Carlos Corbacho
On Friday 08 February 2008 00:12:24 Ray Lee wrote: > On Feb 7, 2008 3:51 PM, Carlos Corbacho <[EMAIL PROTECTED]> wrote: > > On Thursday 07 February 2008 23:33:54 Ray Lee wrote: > > > Do you have list of hardware/platforms that require this feature to > > > get the hardware to work? (acer abc123, tc

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Carlos Corbacho
On Friday 08 February 2008 00:12:24 Ray Lee wrote: > While I'm not trying to set you up for a firing squad, if you can show > that the only use this driver has is as underlying support for Acer/HP > xyz drivers, Certainly at the moment, this is the only real use it has (and the only reason I spe

Re: [GIT PATCH] suspend patches for 2.6.25-rc0

2008-02-07 Thread Jan Harkes
On Fri, Feb 08, 2008 at 12:14:40AM +0100, Rafael J. Wysocki wrote: > I haven't revert the changes. It's only moved the notifier chain calls from > the ioctls to open/release in user.c . Ah my bad, sorry about the false alarm. Jan - To unsubscribe from this list: send the line "unsubscribe linux-

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Ray Lee
On Feb 7, 2008 3:51 PM, Carlos Corbacho <[EMAIL PROTECTED]> wrote: > On Thursday 07 February 2008 23:33:54 Ray Lee wrote: > > Do you have list of hardware/platforms that require this feature to > > get the hardware to work? (acer abc123, tcm1100 xyz) > > I have a very long list of Acer laptops that

[PATCH 3/3] ACPI: thinkpad-acpi: add sysfs led class support to thinkpad leds

2008-02-07 Thread Henrique de Moraes Holschuh
Add a sysfs led class interface to the led subdriver. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Cc: Richard Purdie <[EMAIL PROTECTED]> --- Documentation/thinkpad-acpi.txt | 46 +-- drivers/misc/thinkpad_acpi.c| 120 +++ 2

[PATCH 1/3] LED: add support to leds with readable status

2008-02-07 Thread Henrique de Moraes Holschuh
Some led hardware allows drivers to query the led state, and this patch adds a hook to let the led class take advantage of that information when available. Without this functionality, when access to the led hardware is not exclusive (i.e. firmware or hardware might change its state behind the kern

[PATCH 2/3] ACPI: thinkpad-acpi: add sysfs led class support for thinklight

2008-02-07 Thread Henrique de Moraes Holschuh
Add a sysfs led class interface to the thinklight (light subdriver). Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Cc: Richard Purdie <[EMAIL PROTECTED]> --- Documentation/thinkpad-acpi.txt | 25 - drivers/misc/thinkpad_acpi.c| 39 +

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Carlos Corbacho
On Thursday 07 February 2008 23:33:54 Ray Lee wrote: > Do you have list of hardware/platforms that require this feature to > get the hardware to work? (acer abc123, tcm1100 xyz) I have a very long list of Acer laptops that are supported - which is far too long, and changes on far too much of a re

[RFC] LED brightness_get and thinkpad-acpi led-class support

2008-02-07 Thread Henrique de Moraes Holschuh
Richard, Would you accept the addition of brightness_get to the led class? Please look at the first patch in this small patch set series. I need it for thinkpad-acpi... The other two patches to thinkpad-acpi are included for reference on how I intend to useg the new brightness_get stuff, and a

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Ray Lee
On Feb 7, 2008 3:18 PM, Carlos Corbacho <[EMAIL PROTECTED]> wrote: > As for the Kconfig - I'm open to suggestions. While the kconfig text is supposed to say 'what' something is, the more valuable piece of information it provides is *why* one would want to enable it. Do you have list of hardware/p

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Carlos Corbacho
On Thursday 07 February 2008 22:34:55 Pavel Machek wrote: > +3) What is the ACPI-WMI mapper > + > +The Linux ACPI-WMI driver is the implementation of this mapper for Linux. > > Yes, please. This needs translation into plain english. In plain English? ACPI-WMI is a nasty hack/ abuse of ACPI by M

Re: ACPI fails on Panasonic Toughbook CF-52 - ACPI Error (exregion-0164): Could not map memory

2008-02-07 Thread Len Brown
On Thursday 07 February 2008 17:41, Sebastian Smolorz wrote: > Hi, > > I am not able to start the kernel on a Panasonic Toughbook CF-52 successfully > with ACPI enabled. Only acpi=off or acpi=ht works. ACPI also fails with the > latest linux-acpi-2.6 git checkout from today. The attached file >

Re: [GIT PATCH] suspend patches for 2.6.25-rc0

2008-02-07 Thread Rafael J. Wysocki
On Thursday, 7 of February 2008, Jan Harkes wrote: > On Fri, Feb 01, 2008 at 06:20:56PM -0500, Len Brown wrote: > > please pull from: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git > > suspend > > > > This will update the files shown below. > > The following patc

Re: [GIT PATCH] suspend patches for 2.6.25-rc0

2008-02-07 Thread Jan Harkes
On Fri, Feb 01, 2008 at 06:20:56PM -0500, Len Brown wrote: > please pull from: > > git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git suspend > > This will update the files shown below. The following patch, commit c3e94d899c864e558f938f9845ddb8c2e5d5ccd0 Author: Alan

ACPI fails on Panasonic Toughbook CF-52

2008-02-07 Thread Sebastian Smolorz
Hi, I am not able to start the kernel on a Panasonic Toughbook CF-52 successfully with ACPI enabled. Only acpi=off or acpi=ht works. ACPI also fails with the latest linux-acpi-2.6 git checkout from today. The attached file failed_boot.txt shows the kernel log. After the last line the boot proce

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Pavel Machek
On Thu 2008-02-07 17:27:38, Len Brown wrote: > On Thursday 07 February 2008 16:47, Pavel Machek wrote: > > > > See? It even has completely useless help text. > > > > Does WMI stand for Windows Management Instrumentation? It is some > > server management feature? What is it good for? > > Thank yo

Re: [PATCH 053/112] the generic thermal sysfs driver

2008-02-07 Thread Len Brown
> Lindent has several other known issues as far as Linux kernel > is concerned. I.e., it's not a fine tool to use and not review > what it did. agreed. this is a common one -- Lindent wants a ';' between every statement: @@ -32,7 +32,7 @@ #include MODULE_AUTHOR("Zhang Rui") -MODULE_DESCRIP

Re: ACPI_WMI: worst config description of all times

2008-02-07 Thread Len Brown
On Thursday 07 February 2008 16:47, Pavel Machek wrote: > > See? It even has completely useless help text. > > Does WMI stand for Windows Management Instrumentation? It is some > server management feature? What is it good for? Thank you for the feedback, Pavel. There is an additional patch whic

Re: [BUG] 2.6.24 refuses to boot - NMI watchdog problem?

2008-02-07 Thread Chris Rankin
--- Andrew Morton <[EMAIL PROTECTED]> wrote: > So it's a CONFIG_SMP=y kernel on a single-cpu machine? Correct. > It is unclear to me what clocksource (if any) your machine is using. The 2.6.23.x kernel uses the TSC: ... ACPI: Core revision 20070126 CPU0: Intel Pentium III (Coppermine) stepping 06

Re: [PATCH 053/112] the generic thermal sysfs driver

2008-02-07 Thread Randy Dunlap
Len Brown wrote: Thanks for the review, Randy. I've corrected the issues you pointed out, as well as run the doc through ispell and run thermal.c through Lindent. I've left the goto labels where Lindent put them. If there is a Linux style consensus on that issue, perhaps the Linux community can

Re: [PATCH 053/112] the generic thermal sysfs driver

2008-02-07 Thread Len Brown
Thanks for the review, Randy. I've corrected the issues you pointed out, as well as run the doc through ispell and run thermal.c through Lindent. I've left the goto labels where Lindent put them. If there is a Linux style consensus on that issue, perhaps the Linux community can enhance Lindent? (

Re: [PATCH 053/112] the generic thermal sysfs driver

2008-02-07 Thread Matthew Garrett
On Thu, Feb 07, 2008 at 04:38:43PM -0500, Len Brown wrote: > On Thursday 07 February 2008 15:09, Matthew Garrett wrote: > > There's still ongoing discussion about what the interface should look > > like (and I certainly agree that the difference in units between this > > class and hwmon should be

Re: [PATCH 053/112] the generic thermal sysfs driver

2008-02-07 Thread Len Brown
On Thursday 07 February 2008 15:09, Matthew Garrett wrote: > On Thu, Feb 07, 2008 at 04:34:15AM -0500, Len Brown wrote: > > From: Zhang Rui <[EMAIL PROTECTED]> > > > > The Generic Thermal sysfs driver for thermal management. > > There's still ongoing discussion about what the interface should loo

Re: [BUG] 2.6.24 refuses to boot - NMI watchdog problem?

2008-02-07 Thread Andrew Morton
On Thu, 7 Feb 2008 19:58:10 + (GMT) Chris Rankin <[EMAIL PROTECTED]> wrote: > --- Andrew Morton <[EMAIL PROTECTED]> wrote: > > It isn't clear (to me) where in this mess we disabled interrupts around the > > set_cpus_allowed(). Chris, if this is repeatable it would be helpful to > > set CONFIG

Re: suspend to ram problem

2008-02-07 Thread Cacy Rodney
I have read somewhere that the problem appeared at the beginning of 2.6.24 development. I'm using pure 2.6.23 (sony vaio laptop) and I have experienced the problem of returning from suspend to ram as well. It always occurs when the battery is present in the slot and never without it. I did not

Re: [PATCH 053/112] the generic thermal sysfs driver

2008-02-07 Thread Matthew Garrett
On Thu, Feb 07, 2008 at 04:34:15AM -0500, Len Brown wrote: > From: Zhang Rui <[EMAIL PROTECTED]> > > The Generic Thermal sysfs driver for thermal management. There's still ongoing discussion about what the interface should look like (and I certainly agree that the difference in units between thi

Re: suspend to ram problem

2008-02-07 Thread Rafael J. Wysocki
On Thursday, 7 of February 2008, matthieu castet wrote: > Hi, > > > Pavel Machek wrote: > > Hi! > > So I assume it is some kind of desktop? > Yes. > > >> > >> ...if someone calls start as 0x1234:0, we are okay. But if some broken > >> bios calls us as 0x1:0x234, we've got a problem. > > > > Well

Re: [BUG] 2.6.24 refuses to boot - NMI watchdog problem?

2008-02-07 Thread Chris Rankin
--- Andrew Morton <[EMAIL PROTECTED]> wrote: > It isn't clear (to me) where in this mess we disabled interrupts around the > set_cpus_allowed(). Chris, if this is repeatable it would be helpful to > set CONFIG_FRAME_POINTER=y which hopefully will get us a cleaner trace, Here you go, Cheers, Chri

Re: [PATCH 2/2] asus-laptop add kill switch support

2008-02-07 Thread Fabien Crespel
Len Brown wrote : > Your patch has style problems, please review. If any of these errors > are false positives report them to the maintainer, see > CHECKPATCH in MAINTAINERS. Sorry about that, it was my first patch ;) This should now be fixed, here is the updated patch. I also updated the de

Re: suspend to ram problem

2008-02-07 Thread matthieu castet
Hi, Pavel Machek wrote: Hi! So I assume it is some kind of desktop? Yes. ...if someone calls start as 0x1234:0, we are okay. But if some broken bios calls us as 0x1:0x234, we've got a problem. Well, in that case the signature/end_signature tests below would >trigger, no? Yes, and for e

Re: [PATCH 111/112] Revert "cpuidle: build fix for non-x86"

2008-02-07 Thread Len Brown
On Thursday 07 February 2008 05:27, Ingo Molnar wrote: > > * Len Brown <[EMAIL PROTECTED]> wrote: > > > From: Len Brown <[EMAIL PROTECTED]> > > > > This reverts commit f757397097d0713c949af76dccabb65a2785782e. > > which ironically broke the ia64 build > > hm, this seems to be an internal ACPI c

Re: [PATCH 110/112] ACPI: update intrd DSDT override console messages

2008-02-07 Thread Len Brown
On Thursday 07 February 2008 06:06, Eric Piel wrote: > (sorry for not keeping the message id, I'm not subscribed to linux-acpi) > > From: Len Brown <[EMAIL PROTECTED]> > > > > also, address some checkpatch.pl violations > > > > Signed-off-by: Len Brown <[EMAIL PROTECTED]> > > --- > > drivers/acp

Re: suspend to ram problem

2008-02-07 Thread Rafael J. Wysocki
On Thursday, 7 of February 2008, Pavel Machek wrote: > Hi! Hi, > Hmm, maybe I know where problem could be. Try > > movl $(wakeup_stack - wakeup_code), %esp # > Private stack is needed for ASUS bo\ > > instead of existing stack setup. That he

Re: DMI update - Lenovo X61x - Region EmbeddedControl(3) has no handler

2008-02-07 Thread Len Brown
On Thursday 07 February 2008 05:47, Jiri Kosina wrote: > Hi, > > sending DMI info as suggested by dmesg output. > > BTW does anyone have any idea about the parse errors? > > ACPI: EC: EC description table is found, configuring boot EC > ACPI Error (evregion-0316): No handler for Region [ECOR] >

Re: [PATCH 053/112] the generic thermal sysfs driver

2008-02-07 Thread Randy Dunlap
On Thu, 7 Feb 2008 04:34:15 -0500 Len Brown wrote: > From: Zhang Rui <[EMAIL PROTECTED]> > > The Generic Thermal sysfs driver for thermal management. > > Signed-off-by: Zhang Rui <[EMAIL PROTECTED]> > Signed-off-by: Thomas Sujith <[EMAIL PROTECTED]> > Signed-off-by: Len Brown <[EMAIL PROTECTED]

Re: suspend to ram problem

2008-02-07 Thread Pavel Machek
Hi! > If I remove stack access (remove clearing flag stuff, not call to video > stuff) the resume works. Hm, can you place a "pushl %eax; popl %eax;" in place of the removed code and see if that breaks? >>> Yes that also break. >> >> Hmm, and what kind of machine is that?

Re: suspend to ram problem

2008-02-07 Thread Pavel Machek
Hi! Hmm, maybe I know where problem could be. Try movl $(wakeup_stack - wakeup_code), %esp # Private stack is needed for ASUS bo\ instead of existing stack setup. That helped on one of my test-boxes >>> Thanks, I will try that. >>> Because cl

Re: [lm-sensors] The new thermal management sysfs class, and hwmon

2008-02-07 Thread Henrique de Moraes Holschuh
On Thu, 07 Feb 2008, Len Brown wrote: > On Tuesday 05 February 2008 09:55, Henrique de Moraes Holschuh wrote: > > > > The only duplication which I can see of is in the "reporting of > > > > temperature", which is quite reasonable for a thermal management module > > > > to have. > > > > > > Well, H

Re: [PATCH 110/112] ACPI: update intrd DSDT override console messages

2008-02-07 Thread Eric Piel
(sorry for not keeping the message id, I'm not subscribed to linux-acpi) From: Len Brown <[EMAIL PROTECTED]> also, address some checkpatch.pl violations Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/osl.c | 33 ++--- 1 files changed, 18 insertions(

DMI update

2008-02-07 Thread Jiri Kosina
Hi, sending DMI info as suggested by dmesg output. BTW does anyone have any idea about the parse errors? ACPI: EC: EC description table is found, configuring boot EC ACPI Error (evregion-0316): No handler for Region [ECOR] (81007d36f620) [EmbeddedControl] [20070126] ACPI Error (exfldio-0289

Re: [PATCH 111/112] Revert "cpuidle: build fix for non-x86"

2008-02-07 Thread Ingo Molnar
* Len Brown <[EMAIL PROTECTED]> wrote: > From: Len Brown <[EMAIL PROTECTED]> > > This reverts commit f757397097d0713c949af76dccabb65a2785782e. > which ironically broke the ia64 build hm, this seems to be an internal ACPI commit - why not eliminate both commits (the broken one and the revert on

[PATCH 111/112] Revert "cpuidle: build fix for non-x86"

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> This reverts commit f757397097d0713c949af76dccabb65a2785782e. which ironically broke the ia64 build --- arch/x86/Kconfig |3 --- drivers/cpuidle/cpuidle.c |2 +- include/linux/cpuidle.h | 13 - 3 files changed, 1 insertions(+),

[PATCH 112/112] ACPI: fix build warning

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> drivers/acpi/system.c:360: warning: ignoring return value of ‘sysfs_create_group’, declared with attribute warn_unused_result Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/system.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions

[PATCH 109/112] ACPI: update DSDT override documentation

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- Documentation/acpi/dsdt-initrd.txt | 99 -- Documentation/acpi/dsdt-override.txt | 15 + Documentation/acpi/initramfs-add-dsdt.sh | 43 + drivers/acpi/K

[PATCH 110/112] ACPI: update intrd DSDT override console messages

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> also, address some checkpatch.pl violations Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/osl.c | 33 ++--- 1 files changed, 18 insertions(+), 15 deletions(-) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c i

[PATCH 107/112] ACPI: its a directory not a folder....

2008-02-07 Thread Len Brown
From: Alan Cox <[EMAIL PROTECTED]> The kernel help consistently uses 'directory' Signed-off-by: Alan Cox <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/Kconfig | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/acpi/Kcon

[PATCH 108/112] ACPI: Add "acpi_no_initrd_override" kernel parameter

2008-02-07 Thread Len Brown
From: Éric Piel <[EMAIL PROTECTED]> The acpi_no_initrd_override parameter permits to disable the load of an ACPI table from the initramfs. Signed-off-by: Eric Piel <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- Documentation/kernel-parameters.txt |3 +++ drivers/acpi/os

[PATCH 104/112] ACPI: cleanup acpi.h

2008-02-07 Thread Len Brown
From: Jean Delvare <[EMAIL PROTECTED]> Two cleanups to : * Stop defining acpi_mp_config, it isn't used anywhere. * Discard nested "#ifdef CONFIG_ACPI", they are useless and error-prone. Signed-off-by: Jean Delvare <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-b

[PATCH 106/112] ACPI: misc cleanups

2008-02-07 Thread Len Brown
From: Adrian Bunk <[EMAIL PROTECTED]> This patch contains the following possible cleanups: - make the following needlessly global code static: - drivers/acpi/bay.c:dev_attr_eject - drivers/acpi/bay.c:dev_attr_present - drivers/acpi/dock.c:dev_attr_docked - drivers/a

[PATCH 105/112] ACPI: add missing prink prefix strings

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/scan.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index d9d531c..78a82b3 100644 --- a/drivers/acpi/scan.c +++ b/driver

[PATCH 101/112] ACPI: video: reset brightness on resume

2008-02-07 Thread Len Brown
From: Matthew Garrett <[EMAIL PROTECTED]> Some machines seem to need the backlight brightness to be reset on resume. Add support for doing so to the video module. [EMAIL PROTECTED]: coding-style fixes] Signed-off-by: Matthew Garrett <[EMAIL PROTECTED]> Cc: Zhang Rui <[EMAIL PROTECTED]> Signed-off

[PATCH 102/112] ACPI: video: Ignore ACPI video devices that aren't present in hardware

2008-02-07 Thread Len Brown
From: Matthew Garrett <[EMAIL PROTECTED]> Vendors often ship machines with a choice of integrated or discrete graphics, and use the same DSDT for both. As a result, the ACPI video module will locate devices that may not exist on this specific platform. Attempt to determine whether the device exis

[PATCH 103/112] ACPICA: fix CONFIG_ACPI_DEBUG_FUNC_TRACE build

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> 798d91039849486c7a4f1a458a5680cb55a65408 (ACPI: create CONFIG_ACPI_DEBUG_FUNC_TRACE) failed to associate the new tracing config option with the tracing code. Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- include/acpi/acmacros.h |6 +++--- 1 files chang

[PATCH 100/112] ACPI: video: call ACPI notifier chain for ACPI video notifications

2008-02-07 Thread Len Brown
From: Zhang Rui <[EMAIL PROTECTED]> Call notifier chain for display/brightness switch events. The kernel mode graphics driver is interested in this. Sign-off-by: Zhang Rui <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/video.c |2 ++ 1 files changed, 2 inse

[PATCH 098/112] ACPI: video: delete unused display switch on hotkey event code

2008-02-07 Thread Len Brown
From: Zhang Rui <[EMAIL PROTECTED]> Display switching via ACPI control methods are not known to work on any platforms. Further, the X community wants to control the display switching all by themselves without BIOS/AML involvement. Signed-off-by: Zhang Rui <[EMAIL PROTECTED]> Signed-off-by: Len B

[PATCH 096/112] cpuidle: Add a poll_idle method

2008-02-07 Thread Len Brown
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Add a default poll idle state with 0 latency. Provides an option to users to use poll_idle by using 0 as the latency requirement. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- arch/x86/Kconfig

[PATCH 099/112] ACPI: create notifier chain to get hotkey events to graphics driver

2008-02-07 Thread Len Brown
From: Zhang Rui <[EMAIL PROTECTED]> Kernel mode graphics drivers need this ACPI notifier chaine so that they can get notified upon hotkey events. Signed-off-by: Zhang Rui <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/event.c| 28 +

[PATCH 093/112] ACPI: idle: Fix acpi_safe_halt usages and interrupt enabling/disabling

2008-02-07 Thread Len Brown
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> acpi_safe_halt() needs interrupts to be disabled for atomic need_resched check and safe halt. Otherwise we may miss an interrupt and go into halt. acpi_safe_halt() also does not enable interrupts on all return paths. So the callers should handle enable

[PATCH 097/112] ACPI: video: create "brightness_switch_enabled" modparam

2008-02-07 Thread Len Brown
From: Zhang Rui <[EMAIL PROTECTED]> Introduce new module parameter for brightness control. "brightness_switch_enabled" is set by default which means nothing changes upon brightness switch events. When "brightness_switch_enabled" is cleared via "echo 0 > /sys/module/video/parameters/brightness_swi

[PATCH 092/112] PM: documentation cleanups

2008-02-07 Thread Len Brown
From: Pavel Machek <[EMAIL PROTECTED]> Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> Acked-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- Documentation/kernel-parameters.txt |6 -- Documentation/power/swsusp.txt |5 + drivers/acpi

[PATCH 094/112] ACPI: enable MWAIT for C1 idle

2008-02-07 Thread Len Brown
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Add MWAIT idle for C1 state instead of halt, on platforms that support C1 state with MWAIT. Renames cx->space_id to something more appropriate. Signed-off-by: Venkatesh Pallipadi <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- dri

[PATCH 095/112] ACPI: cpuidle: Support C1 idle time accounting

2008-02-07 Thread Len Brown
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Show C1 idle time in /sysfs cpuidle interface. C1 idle time may not be entirely accurate in all cases. It includes the time spent in the interrupt handler after wakeup with "hlt" based C1. But, it will be accurate with "mwait" based C1. Signed-off-by: V

[PATCH 090/112] ACPI: Export acpi_check_resource_conflict

2008-02-07 Thread Len Brown
From: Thomas Renninger <[EMAIL PROTECTED]> Export acpi_check_resource_conflict(), sometimes drivers already have a struct resource at hand so no need to use the wrappers to build a new one. Signed-off-by: Jean Delvare <[EMAIL PROTECTED]> Cc: "Mark M. Hoffman" <[EMAIL PROTECTED]> Cc: Bjorn Helgaas

[PATCH 091/112] ACPI: thinkpad-acpi: second TP_EC_FAN_FULLSPEED should be TP_EC_FAN_AUTO

2008-02-07 Thread Len Brown
From: Roel Kluin <[EMAIL PROTECTED]> fix bug in safety net for TPEC fan control mode eaa7571b2d1a08873e4bdd8e6db3431df61cd9ad Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> Acked-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/misc/thin

[PATCH 088/112] ACPI: acpi_pci_irq_find_prt_entry(): use list_for_each_entry() instead of list_for_each()

2008-02-07 Thread Len Brown
From: Matthias Kaehlcke <[EMAIL PROTECTED]> Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/pci_irq.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/dr

[PATCH 089/112] ACPI: track opregion names to avoid driver resource conflicts.

2008-02-07 Thread Len Brown
From: Thomas Renninger <[EMAIL PROTECTED]> Small ACPICA extension to be able to store the name of operation regions in osl.c later In ACPI, AML can define accesses to IO ports and System Memory by Operation Regions. Those are not registered as done by PNPACPI using resource templates (and _CRS/

[PATCH 086/112] asus_acpi: add support for F3Sa

2008-02-07 Thread Len Brown
From: Luca Tettamanti <[EMAIL PROTECTED]> Add support for ASUS F3Sa notebook. Features: - LCD on/off - Brightness - Wifi kill - Bluetooth kill Signed-off-by: Luca Tettamanti <[EMAIL PROTECTED]> Cc: Corentin Chary <[EMAIL PROTECTED]> Cc: Karol Kozimor <[EMAIL PROTECTED]> Signed-off-by: Andrew Mort

[PATCH 087/112] ACPI: remove duplicated warning message

2008-02-07 Thread Len Brown
From: Miguel Botón <[EMAIL PROTECTED]> Remove duplicated warning message in acpi_power_transition() ACPI: Transitioning device [%s] to D%d\n This warning message is printed by acpi_bus_set_power() so we don't need to print it again. Signed-off-by: Miguel Botón <[EMAIL PROTECTED]> Signed-off-by:

[PATCH 083/112] ACPI: create /sys/firmware/acpi/interrupts

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> See Documentation/ABI/testing/sysfs-firmware-acpi Based-on-original-patch-by: Luming Yu <[EMAIL PROTECTED]> Acked-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- Documentation/ABI/testing/sysfs-firmware-acpi | 99 +

[PATCH 084/112] asus-laptop new write_acpi_int

2008-02-07 Thread Len Brown
From: Corentin CHARY <[EMAIL PROTECTED]> Just a little modification of write_acpi_int Signed-off-by: Corentin Chary <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/misc/asus-laptop.c | 24 +++- 1 files changed, 15 insertions(+), 9 deletions(-)

[PATCH 085/112] asus-laptop: add parentheses

2008-02-07 Thread Len Brown
From: Roel Kluin <[EMAIL PROTECTED]> '!' has a higher priority than '&': bitanding has no effect. Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/misc/asus-laptop.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dr

[PATCH 081/112] ACPI: basic initramfs DSDT override support

2008-02-07 Thread Len Brown
From: Markus Gaugusch <[EMAIL PROTECTED]> The basics of DSDT from initramfs. In case this option is selected, populate_rootfs() is called a bit earlier to have the initramfs content available during ACPI initialization. This is a very similar path to the one available at http://gaugusch.at/kernel

[PATCH 082/112] ACPI: Taint kernel on ACPI table override (format corrected)

2008-02-07 Thread Len Brown
From: Éric Piel <[EMAIL PROTECTED]> When an ACPI table is overridden (for now this can happen only for DSDT) display a big warning and taint the kernel with flag A. Signed-off-by: Eric Piel <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/osl.c |7 +++

[PATCH 079/112] tc1100-wmi: Add driver for HP Compaq TC1100 Tablets

2008-02-07 Thread Len Brown
From: Carlos Corbacho <[EMAIL PROTECTED]> This is based on the 2004 out-of-tree work of Jamey Hicks, to add support via WMI for controlling the jog dial and wireless on these tablets. v1: Original release v2: As per Joshua Wise's comments, change bluetooth to jogdial (an error from the origina

[PATCH 080/112] ACPI: battery: add sysfs serial number

2008-02-07 Thread Len Brown
From: maximilian attems <[EMAIL PROTECTED]> egrep serial /proc/acpi/battery/BAT0/info serial number: 32090 serial number can tell you from the imminent danger of beeing set on fire. Signed-off-by: maximilian attems <[EMAIL PROTECTED]> Acked-by: Alexey Starikovskiy <[EMAIL PROTECTED]> S

[PATCH 077/112] ACPI: WMI: Add ACPI-WMI mapping driver

2008-02-07 Thread Len Brown
From: Carlos Corbacho <[EMAIL PROTECTED]> 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

[PATCH 078/112] acer-wmi: Add driver for newer Acer laptops

2008-02-07 Thread Len Brown
From: Carlos Corbacho <[EMAIL PROTECTED]> This is a driver for newer Acer (and Wistron) laptops. It adds wireless radio and bluetooth control, and on some laptops, exposes the mail LED and LCD backlight. v1: * Initial release v2: * Replace left over ACPI references with WMI * Add GUID based au

[PATCH 075/112] ACPI: make struct osi_linux static

2008-02-07 Thread Len Brown
From: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/osl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 71b0c32..fde7ac8 100644

[PATCH 076/112] ACPI: blacklist update

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> move some OSI(Linux) to "disable" from "unknown" to reduce dmesg lines that we don't really need. update Acer 5315 comment update Dell entries, add R200 entry update Apple entries Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/blacklist.c | 3

[PATCH 073/112] ACPI: update blacklist comments

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> ...based on additional feedback -- no code change. Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/blacklist.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c

[PATCH 074/112] ACPI: make acpi_dmi_dump() static

2008-02-07 Thread Len Brown
From: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/osl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 347cda2..71b0c32 100644

[PATCH 070/112] ACPI: fan: build fix for CONFIG_ACPI_PROCFS=n

2008-02-07 Thread Len Brown
From: Len Brown <[EMAIL PROTECTED]> drivers/acpi/fan.c:340: error: ‘acpi_fan_dir’ undeclared (first use in this function) Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/fan.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/acpi/fan.c b/driver

  1   2   >