On Tuesday 09 October 2007 20:01, Robert Hancock wrote:
> Some people with certain Supermicro boards (at least the H8DCE, it
> seems) have reported that the sata_nv driver fails to attach to some of
> the controllers due to resource conflicts:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=2806
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
use_lock flag is used once for acpi_hw_register_read, and never for
acpi_hw_register_write. It will greatly simplify understanding of
locking if we just drop this use_lock altogether, and wrap the only call
to ..._read in lock/unlock.
Signed-off-by: A
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
ACPI uses acpi_get_register() in order to get into suspend.
This function is guarded by acpi_gbl_hardware_lock, which will be carried
into resume phase.
At resume interrupts are enabled and first ACPI interrupt deadlocks on this
lock.
Solution seems to
From: Len Brown <[EMAIL PROTECTED]>
Some timers stop during C2 and C3, and so there are various
generations of timer broadcast workarounds to deal with that.
But that (already complex) code gets confused during suspend.
As it is unlikely that deep C-states would save much power
during the actual
-
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
From: Rafael J. Wysocki <[EMAIL PROTECTED]>
If the BIOS does not enable ACPI and the "acpi=off" command line parameter
is passed to the boot kernel, ACPI may be disabled when the (restored)
image kernel attempts to execute acpi_hibernation_finish(). To prevent
this from happening we can call acpi
From: Rafael J. Wysocki <[EMAIL PROTECTED]>
Remove some redundant code from acpi_enter_sleep_state_prep() and clean up
a comment in there.
Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]>
Acked-by: Pavel Machek <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Skip blanks not just at the tail of sysfs writes, but also at the head.
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/misc/thinkpad_acpi.c |2 ++
1 files changed, 2
From: Andrew Morton <[EMAIL PROTECTED]>
drivers/acpi/tables/tbutils.c: In function `acpi_tb_parse_root_table':
drivers/acpi/tables/tbutils.c:403: warning: `rsdt_address' may be used
uninitialized in this function
Reported-by: Uwe Bugla <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PRO
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Refer to Documentation/power_supply_class.txt for interface description.
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/Kconfig |2 +-
drivers/acpi/ac.c| 33 +
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/sbs.c | 36
1 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/drivers/acpi/sbs.c
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Make procfs support optional under ACPI_PROCFS
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/sbs.c | 25 +
1 files changed, 25 insertions(+), 0 deletions
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Add support for power_supply class and sysfs interface of it.
Refer to Documentation/power_supply_class.txt for interface description.
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acp
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Re-factor SBS functions to use tables and cycles for repeated operations.
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/sbs.c | 1292 +++
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Replace poll-based host controller driver with the notify-based one.
Split it out of sbs.c.
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/Makefile |1 +
drivers/acpi/sbs.c|
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/sbs.c | 282 +---
1 files changed, 135 insertions(+), 147 deletions(-)
diff --git a/
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/ec.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index 3f7935a..e
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
acpi_bus_generate_event() takes two strings out of passed device object.
SBS needs to supply these strings directly.
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/bus.c | 2
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Refer to Documentation/power_supply_class.txt for interface description.
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/Kconfig |2 +-
drivers/acpi/battery.c | 186 +
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/battery.c | 33 -
1 files changed, 32 insertions(+), 1 deletions(-)
diff --git a/drivers/acpi/batte
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/battery.c | 280 ++--
1 files changed, 57 insertions(+), 223 deletions(-)
diff --git a/d
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/battery.c | 342 ++--
1 files changed, 125 insertions(+), 217 deletions(-)
diff --git a/
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
acpi_extract_package() creates more problems with memory management than
it solves as helper for package handling.
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/battery.c | 359 +
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
S4 suspend to disk will disable GPE's permanently
because acpi_gpe_sleep_prepare() does not have
a counterpart at resume time. Thus, those devices
became unavailable for wakeup from subsequent
S3 suspend-to-ram.
Here acpi_gpe_sleep_prepare() is remov
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Use a separate platform device and driver ("thinkpad_hwmon") to attach
hwmon attributes and class, and add a name attribute of "thinkpad" to
it, which defines the hwmon device name for libsensors4.
This makes thinkpad-acpi compatible with libs
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Thinkpad-acpi has some driver attributes (debug level, sysfs interface
version, etc) that also belong to the new hwmon driver. Duplicate them
there.
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMA
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Receive all pending HKEY events at once from a single notification, and don't
complain if the queue is empty.
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/misc/thinkpa
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
We were letting ThinkPad-specific LID events through to userspace again,
instead of dropping them. Fix it. We don't want to give userspace the
option of not using generic LID handling.
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTE
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Check the HKEY firmware version (HKEY.MHKV handler), and refuse to load if
it is unknown. Use this instead of the presence of HKEY.DHKV to detect hot
key mask capability.
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Signed-o
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Keep track of module state (init, running, exit). This makes it trivially
easy to avoid running any interrupt handlers, threads, or any other async
activity before we are ready, or when we want to go away.
Signed-off-by: Henrique de Moraes Ho
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Protect the input device event sending path with a mutex, since hot key
input events are not atomic and require an cohesive event block to be sent
together.
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Signed-off-by: Len Brow
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
We were missing a input_sync on the radio switch event report path. Add it.
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/misc/thinkpad_acpi.c |4 +++-
1 files chan
From: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Increase tp_features to 32 bits. It is too close to running out of room.
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/misc/thinkpad_acpi.h | 30 +++-
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
ASUS notebooks have numerous problems with EC initialization
This patch tries to work around three known issues reported
in bugzilla 8598, 8709 and 8909/8919.
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROT
From: Andreas Herrmann <[EMAIL PROTECTED]>
Commit e9dab1960ac9746fa34eff726b81635147615a79
(ACPI video hotkey: export missing ACPI video hotkey events via input layer)
exports ACPI video hotkey events via input layer. But this breaks kernel
build if ACPI_VIDEO && !INPUT:
LD .tmp_vmlinux1
dr
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/video.c | 13 -
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/drivers/acpi/video.c b/drivers/acpi/vide
From: Andreas Herrmann <[EMAIL PROTECTED]>
Build errors if CONFIG_SONY_LAPTOP && !INPUT or
if CONFIG_THINKPAD_ACPI && !INPUT:
LD vmlinux
...
drivers/built-in.o: In function `sony_laptop_remove_input':
sony-laptop.c:(.text+0x768fb): undefined reference to `input_unregister_device'
..
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Fix for #3686, where get_temperature() may cause thermal notify, which
causes one more get_temperature().
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/thermal.c | 15 ++
From: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Ryan May <[EMAIL PROTECTED]>
Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/acpi/video.c | 18 ++
1 files changed, 10 insertions(+), 8 deletions(-)
diff
From: Jonathan Woithe <[EMAIL PROTECTED]>
Signed-off-by: Jonathan Woithe <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/misc/Kconfig | 15 ++
drivers/misc/Makefile |1 +
drivers/misc/fujitsu-laptop.c | 358 +
From: Len Brown <[EMAIL PROTECTED]>
Properly functioning systems do not use thermal zone polling,
they use event-based notification.
However, some users enable periodic thermal zone polling
to work around bugs on their platforms, and at least one
platform exists with a real _TZP that requests pol
-
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
From: Mattia Dongili <[EMAIL PROTECTED]>
Make the driver aware of this case and manage the existence of a
second separate IO port.
Signed-off-by: Mattia Dongili <[EMAIL PROTECTED]>
Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
drivers/misc/sony-laptop.c | 204
I've been told that BM_RLD is not a NOP in the PIIX4 - ICH4-M generations;
and that those chips follow the 1st description in the ACPI spec, not
the second. (I've also submitted a bug against the ACPI spec:-)
So the patch below is no good.
But the old code still isn't quite right.
It seems we sho
On Sunday 07 October 2007 23:35, Zhao Yakui wrote:
> Subject: ACPI: avoid printing the info that processor device is not present
> From: Zhao Yakui <[EMAIL PROTECTED]>
>
> Four processors are defined in the DSDT table, which means that quad-core cpu
> is supported. But dual-core cpu is installed
On Tue, 2007-10-09 at 11:29 -0300, Henrique de Moraes Holschuh wrote:
> On Tue, 09 Oct 2007, Thomas Renninger wrote:
> > On Tue, 2007-10-09 at 10:47 -0300, Henrique de Moraes Holschuh wrote:
> > > On Tue, 09 Oct 2007, Thomas Renninger wrote:
> > > > No, all the _BCL poking should vanish.
> > >
> >
Hello John,
> John Sigler wrote:
> > When I run 'halt' the kernel prints:
> > Halting.
> > Shutdown: hdc
> > ACPI: PCI interrupt for device :01:05.0 disabled
> > ACPI: PCI interrupt for device :01:04.0 disabled
> > ACPI: PCI interrupt for device :01:03.0 disabled
> > ACPI: PCI interrup
On Tue, 09 Oct 2007, Thomas Renninger wrote:
> On Tue, 2007-10-09 at 10:47 -0300, Henrique de Moraes Holschuh wrote:
> > On Tue, 09 Oct 2007, Thomas Renninger wrote:
> > > No, all the _BCL poking should vanish.
> >
> > I need to *somehow* find out if the thinkpad supports the video extensions.
>
On Tue, 2007-10-09 at 10:47 -0300, Henrique de Moraes Holschuh wrote:
> On Tue, 09 Oct 2007, Thomas Renninger wrote:
> > > Error prone how? Please expand, because right now I am not inclined to
> > > remove that variable. It is optional, and disabled by default. Distros
> > > are
> > > not goin
On Tue, Oct 09, 2007 at 03:47:06PM +0200, Thomas Renninger wrote:
> Yep, I just realized that :(
> Maybe all required funcs (_BCM,_BCL,...) should get checked, but must
> not be invoked or I am pretty sure brightness switch through buttons
> won't work because the notify handler isn't used.
I'm n
On Tue, 09 Oct 2007, Thomas Renninger wrote:
> > Error prone how? Please expand, because right now I am not inclined to
> > remove that variable. It is optional, and disabled by default. Distros are
> > not going to enable it unless they have a damn good reason to, and it is not
> > even somethi
On Tue, 2007-10-09 at 14:34 +0100, Matthew Garrett wrote:
> On Tue, Oct 09, 2007 at 03:29:12PM +0200, Thomas Renninger wrote:
> > static const struct acpi_device_id dummy_vid_device_ids[] = {
> > {"LNXVIDEO", 0},
> > {"", 0},
> > };
>
> No. This will match if any of the video extension is
On Tue, Oct 09, 2007 at 03:29:12PM +0200, Thomas Renninger wrote:
> static const struct acpi_device_id dummy_vid_device_ids[] = {
> {"LNXVIDEO", 0},
> {"", 0},
> };
No. This will match if any of the video extension is implemented. We
only want it to match if backlight control is imple
On Tue, 2007-10-09 at 08:14 -0300, Henrique de Moraes Holschuh wrote:
> On Tue, 09 Oct 2007, Matthew Garrett wrote:
> > On Tue, Oct 09, 2007 at 11:46:48AM +0200, Thomas Renninger wrote:
> >
> > > More important: CONFIG_THINKPAD_ACPI_BACKLIGHT_DESIRED variable is error
> > > prone and should not ge
On Tue, 09 Oct 2007, Thomas Renninger wrote:
> On Mon, 2007-10-08 at 10:12 -0300, Henrique de Moraes Holschuh wrote:
> > Lenovo ThinkPads with ACPI Video brightness control often have 16
> > brightness levels in EC, and not just eight levels like older ThinkPads.
> >
> > We detect the number of br
On Tue, 09 Oct 2007, Matthew Garrett wrote:
> On Tue, Oct 09, 2007 at 11:46:48AM +0200, Thomas Renninger wrote:
>
> > More important: CONFIG_THINKPAD_ACPI_BACKLIGHT_DESIRED variable is error
> > prone and should not get introduced, right?
Error prone how? Please expand, because right now I am no
Thomas Gleixner wrote:
On Tue, 9 Oct 2007, John Sigler wrote:
Alessio Igor Bogani wrote:
On Tue, 2007-10-09 at 11:06 +0200, John Sigler wrote:
I enabled high resolution timer support and disabled ACPI support.
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00375.html
There are other clo
On Tue, Oct 09, 2007 at 11:46:48AM +0200, Thomas Renninger wrote:
> More important: CONFIG_THINKPAD_ACPI_BACKLIGHT_DESIRED variable is error
> prone and should not get introduced, right?
I agree that I can't see any reason to ever want to use the thinkpad
backlight functionality if it can be con
On Tue, 2007-10-09 at 09:33 +0100, Matthew Garrett wrote:
> On Tue, Oct 09, 2007 at 10:25:51AM +0200, Thomas Renninger wrote:
> > On Tue, 2007-10-09 at 08:59 +0100, Matthew Garrett wrote:
> > > On Tue, Oct 09, 2007 at 08:21:14AM +0200, Thomas Renninger wrote:
> > >
> > > > IMO a config variable th
Hi John,
On Tue, 2007-10-09 at 11:06 +0200, John Sigler wrote:
[...]
> I enabled high resolution timer support and disabled ACPI support.
[...]
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00375.html
Ciao,
Alessio
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
t
Thomas Gleixner wrote:
On Tue, 9 Oct 2007, John Sigler wrote:
I'm using a -rt kernel with high resolution timer support.
http://rt.wiki.kernel.org/index.php/Main_Page
Linux version 2.6.22.1-rt9 ([EMAIL PROTECTED]) (gcc version 3.4.6) #1 PREEMPT
RT Tue
Oct 9 10:02:45 CEST 2007
I enabled high
On Tue, 9 Oct 2007, John Sigler wrote:
> Alessio Igor Bogani wrote:
> > On Tue, 2007-10-09 at 11:06 +0200, John Sigler wrote:
> > [...]
> > > I enabled high resolution timer support and disabled ACPI support.
> > [...]
> >
> > http://www.mail-archive.com/[EMAIL PROTECTED]/msg00375.html
>
> Ther
Alessio Igor Bogani wrote:
On Tue, 2007-10-09 at 11:06 +0200, John Sigler wrote:
[...]
I enabled high resolution timer support and disabled ACPI support.
[...]
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00375.html
There are other clock sources on my system.
The timestamp counter is r
On Tue, 9 Oct 2007, John Sigler wrote:
> Hello everyone,
>
> I'm using a -rt kernel with high resolution timer support.
> http://rt.wiki.kernel.org/index.php/Main_Page
> Linux version 2.6.22.1-rt9 ([EMAIL PROTECTED]) (gcc version 3.4.6) #1 PREEMPT
> RT Tue
> Oct 9 10:02:45 CEST 2007
>
> I enable
John Sigler wrote:
I'm using a -rt kernel with high resolution timer support.
http://rt.wiki.kernel.org/index.php/Main_Page
Linux version 2.6.22.1-rt9 ([EMAIL PROTECTED]) (gcc version 3.4.6) #1 PREEMPT
RT Tue Oct 9 10:02:45 CEST 2007
I enabled high resolution timer support and disabled ACPI s
Hello everyone,
I'm using a -rt kernel with high resolution timer support.
http://rt.wiki.kernel.org/index.php/Main_Page
Linux version 2.6.22.1-rt9 ([EMAIL PROTECTED]) (gcc version 3.4.6) #1 PREEMPT
RT Tue Oct 9 10:02:45 CEST 2007
I enabled high resolution timer support and disabled ACPI suppo
On Tue, Oct 09, 2007 at 10:25:51AM +0200, Thomas Renninger wrote:
> On Tue, 2007-10-09 at 08:59 +0100, Matthew Garrett wrote:
> > On Tue, Oct 09, 2007 at 08:21:14AM +0200, Thomas Renninger wrote:
> >
> > > IMO a config variable that compiles out brightness control totally makes
> > > more sense (a
On Tue, 2007-10-09 at 08:59 +0100, Matthew Garrett wrote:
> On Tue, Oct 09, 2007 at 08:21:14AM +0200, Thomas Renninger wrote:
>
> > IMO a config variable that compiles out brightness control totally makes
> > more sense (and video, is there any functionality in ThinkPad acpi
> > driver that does n
On Tue, Oct 09, 2007 at 08:21:14AM +0200, Thomas Renninger wrote:
> IMO a config variable that compiles out brightness control totally makes
> more sense (and video, is there any functionality in ThinkPad acpi
> driver that does not get supported by the video driver?).
No, older Thinkpads don't i
John Sigler wrote:
When I run 'halt' the kernel prints:
Halting.
Shutdown: hdc
ACPI: PCI interrupt for device :01:05.0 disabled
ACPI: PCI interrupt for device :01:04.0 disabled
ACPI: PCI interrupt for device :01:03.0 disabled
ACPI: PCI interrupt for device :01:02.0 disabled
Powe
70 matches
Mail list logo