Linux Kernel Mailing List | 1 Jul 01:59 2006

ACPI: Device [kobj-name] is not power manageable

commit 64dedfb8fdbbc4fabb8c131e4b597cd4bc7f3881
tree 7ef0c5e0574bc94fe4d25bb5994b31938205e7cf
parent 9e7e2c047503db5a094ab30c7b4b8a5a0a324915
author Jae-hyeon Park <hpark <at> tuhep.phys.tohoku.ac.jp> Tue, 27 Jun 2006 06:34:03 -0400
committer Len Brown <len.brown <at> intel.com> Tue, 27 Jun 2006 08:00:40 -0400

ACPI: Device [kobj-name] is not power manageable

print kobj name in this message.
lenb changed to use printk.

Signed-off-by: Randy Dunlap <rdunlap <at> xenotime.net>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Len Brown <len.brown <at> intel.com>

 drivers/acpi/bus.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index 917bf23..f4a36d3 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
 <at>  <at>  -196,7 +196,8  <at>  <at>  int acpi_bus_set_power(acpi_handle handl
 	/* Make sure this is a valid target state */

 	if (!device->flags.power_manageable) {
-		ACPI_INFO((AE_INFO, "Device is not power manageable"));
+		printk(KERN_DEBUG "Device `[%s]is not power manageable",
+				device->kobj.name);
 		return_VALUE(-ENODEV);
(Continue reading)

Linux Kernel Mailing List | 1 Jul 01:59 2006

ACPI: Enable ACPI error messages w/o CONFIG_ACPI_DEBUG

commit a6fc67202e0224e6c9d1d285cc0b444bce887ed5
tree cb2d422f65c0ab0a95f452f6bac80e2bfdd547de
parent eb99adde31b7d85c67a5e1c2fa5e098e1056dd79
author Thomas Renninger <trenn <at> suse.de> Tue, 27 Jun 2006 07:58:43 -0400
committer Len Brown <len.brown <at> intel.com> Tue, 27 Jun 2006 07:58:43 -0400

ACPI: Enable ACPI error messages w/o CONFIG_ACPI_DEBUG

Signed-off-by: Thomas Renninger <trenn <at> suse.de>
Signed-off-by: Len Brown <len.brown <at> intel.com>

 drivers/acpi/ac.c                   |   12 ----
 drivers/acpi/acpi_memhotplug.c      |   67 ++++++++++----------------
 drivers/acpi/battery.c              |   31 +++---------
 drivers/acpi/bus.c                  |   22 ++++----
 drivers/acpi/button.c               |   18 +------
 drivers/acpi/container.c            |    2 
 drivers/acpi/debug.c                |    5 --
 drivers/acpi/ec.c                   |   17 ++----
 drivers/acpi/event.c                |    5 --
 drivers/acpi/fan.c                  |    7 --
 drivers/acpi/hotkey.c               |   38 +++------------
 drivers/acpi/osl.c                  |    9 ++-
 drivers/acpi/pci_bind.c             |   50 ++++++++++----------
 drivers/acpi/pci_irq.c              |   20 +++-----
 drivers/acpi/pci_link.c             |   90 ++++++++++++++++--------------------
 drivers/acpi/pci_root.c             |   15 +++---
 drivers/acpi/power.c                |   22 +++-----
 drivers/acpi/processor_core.c       |   56 +++++++---------------
 drivers/acpi/processor_idle.c       |   14 ++---
(Continue reading)

Linux Kernel Mailing List | 1 Jul 01:59 2006

ACPI: Export symbols for ACPI_ERROR/EXCEPTION/WARNING macros

commit be63c925a123b492fc05063c98ca7e9f7453a58a
tree c90d64729993d0e274676ba8a22fbf44fb69f9a1
parent a6fc67202e0224e6c9d1d285cc0b444bce887ed5
author Thomas Renninger <trenn <at> suse.de> Fri, 02 Jun 2006 23:58:00 -0400
committer Len Brown <len.brown <at> intel.com> Tue, 27 Jun 2006 07:59:51 -0400

ACPI: Export symbols for ACPI_ERROR/EXCEPTION/WARNING macros

Signed-off-by: Thomas Renninger <trenn <at> suse.de>
Signed-off-by: Len Brown <len.brown <at> intel.com>

 drivers/acpi/utilities/utmisc.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/acpi/utilities/utmisc.c b/drivers/acpi/utilities/utmisc.c
index 5c75d35..58daa37 100644
--- a/drivers/acpi/utilities/utmisc.c
+++ b/drivers/acpi/utilities/utmisc.c
 <at>  <at>  -41,6 +41,8  <at>  <at> 
  * POSSIBILITY OF SUCH DAMAGES.
  */

+#include <linux/module.h>
+
 #include <acpi/acpi.h>
 #include <acpi/acnamesp.h>

 <at>  <at>  -948,6 +950,7  <at>  <at>  acpi_ut_error(char *module_name, u32 lin
 	acpi_os_vprintf(format, args);
 	acpi_os_printf(" [%X]\n", ACPI_CA_VERSION);
(Continue reading)

Linux Kernel Mailing List | 1 Jul 01:59 2006

ACPI: acpi_os_wait_semaphore(): silence complaint

commit 9e7e2c047503db5a094ab30c7b4b8a5a0a324915
tree 2dbdd695431265a580e730035514ac6ece22afe5
parent be63c925a123b492fc05063c98ca7e9f7453a58a
author Bjorn Helgaas <bjorn.helgaas <at> hp.com> Thu, 27 Apr 2006 13:25:00 -0400
committer Len Brown <len.brown <at> intel.com> Tue, 27 Jun 2006 08:00:21 -0400

ACPI: acpi_os_wait_semaphore(): silence complaint

The ASL Acquire operator (17.5.1 in ACPI 3.0 spec) is allowed to time out
and return True without acquiring the semaphore.  There's no indication in
the spec that this is an actual error, so this message should be
debug-only, as the message for successful acquisition is.

This used to be an ACPI_DEBUG_PRINT, but it was mis-classified as
ACPI_DB_ERROR rather than ACPI_DB_MUTEX, so it got swept up in Thomas'
recent patch to enable ACPI error messages even without CONFIG_ACPI_DEBUG.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas <at> hp.com>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Len Brown <len.brown <at> intel.com>

 drivers/acpi/osl.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 740a3c4..2d90b8d 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
 <at>  <at>  -840,7 +840,7  <at>  <at>  acpi_status acpi_os_wait_semaphore(acpi_
 	}
(Continue reading)

Linux Kernel Mailing List | 1 Jul 01:59 2006

ACPI: un-export ACPI_WARNING() -- use printk(KERN_WARNING...)

commit cece92969762b8ed7930d4e23008b76b06411dee
tree ab3d84b71971f0405ab2b1b36d9fdd39b0bda55e
parent 64dedfb8fdbbc4fabb8c131e4b597cd4bc7f3881
author Len Brown <len.brown <at> intel.com> Tue, 27 Jun 2006 07:04:31 -0400
committer Len Brown <len.brown <at> intel.com> Tue, 27 Jun 2006 08:00:54 -0400

ACPI: un-export ACPI_WARNING() -- use printk(KERN_WARNING...)

Signed-off-by: Len Brown <len.brown <at> intel.com>

 drivers/acpi/bus.c                  |   12 ++++++------
 drivers/acpi/hotkey.c               |    2 +-
 drivers/acpi/pci_irq.c              |    8 ++++----
 drivers/acpi/pci_link.c             |   34 +++++++++++++++++-----------------
 drivers/acpi/power.c                |    6 +++---
 drivers/acpi/processor_throttling.c |    2 +-
 drivers/acpi/thermal.c              |   18 +++++++++---------
 drivers/acpi/utilities/utmisc.c     |    2 +-
 drivers/acpi/utils.c                |   24 ++++++++++++------------
 9 files changed, 54 insertions(+), 54 deletions(-)

diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index f4a36d3..6c62862 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
 <at>  <at>  -214,13 +214,13  <at>  <at>  int acpi_bus_set_power(acpi_handle handl
 		}
 	}
 	if (!device->power.states[state].flags.valid) {
-		ACPI_WARNING((AE_INFO, "Device does not support D%d", state));
(Continue reading)

Linux Kernel Mailing List | 1 Jul 01:59 2006

ACPIPHP: use ACPI dock driver

commit 4e8662bbd680c54496189ac68f398e847f3ca374
tree 8f9a0be5098b206025cd63fe965ccc37c922753e
parent a5e1b94008f2a96abf4a0c0371a55a56b320c13e
author Kristen Accardi <kristen.c.accardi <at> intel.com> Wed, 28 Jun 2006 11:08:06 -0400
committer Len Brown <len.brown <at> intel.com> Wed, 28 Jun 2006 11:08:06 -0400

ACPIPHP: use ACPI dock driver

Modify the acpiphp driver to use the ACPI dock driver for dock
notifications.  Only load the acpiphp driver if we find we have pci dock
devices.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi <at> intel.com>
Signed-off-by: Adrian Bunk <bunk <at> stusta.de>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Len Brown <len.brown <at> intel.com>

 drivers/pci/hotplug/acpiphp_dock.c |  438 -------------------------------------
 drivers/pci/hotplug/Makefile       |    3 
 drivers/pci/hotplug/acpiphp.h      |   35 --
 drivers/pci/hotplug/acpiphp_core.c |   19 -
 drivers/pci/hotplug/acpiphp_glue.c |  111 +++++++--
 5 files changed, 87 insertions(+), 519 deletions(-)

diff --git a/drivers/pci/hotplug/Makefile b/drivers/pci/hotplug/Makefile
index 421cfff..34a1891 100644
--- a/drivers/pci/hotplug/Makefile
+++ b/drivers/pci/hotplug/Makefile
 <at>  <at>  -40,8 +40,7  <at>  <at>  ibmphp-objs		:=	ibmphp_core.o	\
 				ibmphp_hpc.o
(Continue reading)

Linux Kernel Mailing List | 1 Jul 01:59 2006

ACPIPHP: prevent duplicate slot numbers when no _SUN

commit 95b38b3f453c16de0f8cddcde3e71050bbfb37b9
tree 54893468b8335c88135ab01d580f0d1f87abf2f2
parent 2b85e1307fe3a84eca2e1a21c6c857359908dab4
author Kristen Accardi <kristen.c.accardi <at> intel.com> Wed, 28 Jun 2006 11:09:54 -0400
committer Len Brown <len.brown <at> intel.com> Wed, 28 Jun 2006 11:09:54 -0400

ACPIPHP: prevent duplicate slot numbers when no _SUN

Dock bridges generally do not implement _SUN, yet show up as ejectable
slots.  If you have more than one ejectable slot that does not implement
SUN, with the current code you will get duplicate slot numbers.  So, if
there is no _SUN, use the current count of the number of slots found
instead.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi <at> intel.com>
Signed-off-by: Andrew Morton <akpm <at> osdl.org>
Signed-off-by: Len Brown <len.brown <at> intel.com>

 drivers/pci/hotplug/acpiphp_glue.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c
index b3899cf..ef95d12 100644
--- a/drivers/pci/hotplug/acpiphp_glue.c
+++ b/drivers/pci/hotplug/acpiphp_glue.c
 <at>  <at>  -219,8 +219,13  <at>  <at>  register_slot(acpi_handle handle, u32 lv
 		newfunc->flags |= FUNC_HAS_DCK;

 	status = acpi_evaluate_integer(handle, "_SUN", NULL, &sun);
-	if (ACPI_FAILURE(status))
(Continue reading)

Linux Kernel Mailing List | 1 Jul 01:59 2006

ACPI: un-export ACPI_ERROR() -- use printk(KERN_ERR...)

commit 6468463abd7051fcc29f3ee7c931f9bbbb26f5a4
tree d18eae04fe6c8f7d257077cc6056cd9c6f424e0d
parent cece92969762b8ed7930d4e23008b76b06411dee
author Len Brown <len.brown <at> intel.com> Tue, 27 Jun 2006 07:41:38 -0400
committer Len Brown <len.brown <at> intel.com> Tue, 27 Jun 2006 08:01:06 -0400

ACPI: un-export ACPI_ERROR() -- use printk(KERN_ERR...)

Signed-off-by: Len Brown <len.brown <at> intel.com>

 drivers/acpi/acpi_memhotplug.c   |   18 +++++++++---------
 drivers/acpi/button.c            |    4 ++--
 drivers/acpi/container.c         |    2 +-
 drivers/acpi/ec.c                |    4 ++--
 drivers/acpi/fan.c               |    2 +-
 drivers/acpi/hotkey.c            |   16 ++++++++--------
 drivers/acpi/osl.c               |    2 +-
 drivers/acpi/pci_bind.c          |   12 ++++++------
 drivers/acpi/pci_irq.c           |    2 +-
 drivers/acpi/pci_link.c          |   36 ++++++++++++++++++------------------
 drivers/acpi/pci_root.c          |   10 +++++-----
 drivers/acpi/power.c             |    8 ++++----
 drivers/acpi/processor_core.c    |   30 +++++++++++++++---------------
 drivers/acpi/processor_idle.c    |    4 ++--
 drivers/acpi/processor_perflib.c |   12 ++++++------
 drivers/acpi/processor_thermal.c |    8 ++++----
 drivers/acpi/scan.c              |    2 +-
 drivers/acpi/thermal.c           |    2 +-
 drivers/acpi/utilities/utmisc.c  |    1 -
 drivers/acpi/utils.c             |   20 ++++++++++----------
(Continue reading)

Linux Kernel Mailing List | 1 Jul 01:59 2006

ACPI: HW P-state coordination support

commit 46f18e3a28295a9e11a6ffa4478241c19bc93735
tree f563b12a18cadd6583925ce1dbc3bc79538ac866
parent 3448097fccdce4ea8f0fcad4f37f502a8cd72e68
author Venkatesh Pallipadi <venkatesh.pallipadi <at> intel.com> Mon, 26 Jun 2006 08:34:43 -0400
committer Len Brown <len.brown <at> intel.com> Mon, 26 Jun 2006 08:34:43 -0400

ACPI: HW P-state coordination support

Treat HW coordination as independent CPUs.
This enables per-cpu monintoring of P-states

http://bugzilla.kernel.org/show_bug.cgi?id=5737

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi <at> intel.com>
Signed-off-by: Len Brown <len.brown <at> intel.com>

 arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c       |    8 +++++++-
 arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c |    8 +++++++-
 drivers/acpi/processor_perflib.c                  |    8 ++++----
 include/linux/cpufreq.h                           |    6 ++++--
 4 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
index 5fd6532..cf0ddc9 100644
--- a/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ b/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c
 <at>  <at>  -418,8 +418,14  <at>  <at>  acpi_cpufreq_cpu_init (
 		goto err_free;

 	perf = data->acpi_data;
(Continue reading)

Linux Kernel Mailing List | 1 Jul 01:59 2006

[ACPI] Print error message if remove/install notify handler fails

commit e8406b4485730031d91872086456bd052948686b
tree be5a62931928098fb87d5df4d23279991b3fa4f7
parent d550d98d3317378d93a4869db204725d270ec812
author Thomas Renninger <trenn <at> suse.de> Fri, 02 Jun 2006 23:58:00 -0400
committer Len Brown <len.brown <at> intel.com> Tue, 27 Jun 2006 08:56:56 -0400

[ACPI] Print error message if remove/install notify handler fails

Signed-off-by: Thomas Renniger <trenn <at> suse.de>
Signed-off-by: Len Brown <len.brown <at> intel.com>

 drivers/acpi/events/evxface.c |   47 +++++++++++++++++++++++++-----------------
 1 files changed, 28 insertions(+), 19 deletions(-)

diff --git a/drivers/acpi/events/evxface.c b/drivers/acpi/events/evxface.c
index 76c34a6..4f948df 100644
--- a/drivers/acpi/events/evxface.c
+++ b/drivers/acpi/events/evxface.c
 <at>  <at>  -414,12 +414,13  <at>  <at>  acpi_remove_notify_handler(acpi_handle d

 	if ((!device) ||
 	    (!handler) || (handler_type > ACPI_MAX_NOTIFY_HANDLER_TYPE)) {
-		return_ACPI_STATUS(AE_BAD_PARAMETER);
+		status = AE_BAD_PARAMETER;
+		goto exit;
 	}

 	status = acpi_ut_acquire_mutex(ACPI_MTX_NAMESPACE);
 	if (ACPI_FAILURE(status)) {
-		return_ACPI_STATUS(status);
(Continue reading)


Gmane