<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/bus.c, branch linux-2.6.31.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.31.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.31.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-06-18T04:13:15Z</updated>
<entry>
<title>ACPI: use handle, not device, in system notification path</title>
<updated>2009-06-18T04:13:15Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-05-22T17:43:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ff754e2e85557ed7244385f0f2053c80e8ac9948'/>
<id>urn:sha1:ff754e2e85557ed7244385f0f2053c80e8ac9948</id>
<content type='text'>
This patch changes the global system notification path so it uses the
acpi_handle, not the acpi_device.

System notifications often deal with device presence and status change.
In these cases, we may not have an acpi_device.  For example, we may
get a Device Check notification on an object that previously was not
present.  Since the object was not present, we would not have had an
acpi_device for it.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: remove unused return values from Bus Check &amp; Device Check handling</title>
<updated>2009-06-18T04:13:15Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-05-22T17:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cdd5b8ca122cc4239375dee7fcdc658315c119e4'/>
<id>urn:sha1:cdd5b8ca122cc4239375dee7fcdc658315c119e4</id>
<content type='text'>
Remove return values from acpi_bus_check_device() and acpi_bus_check_scope()
since nobody looks at them.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: remove unused "status_changed" return value from Check Device handling</title>
<updated>2009-06-18T04:13:15Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-05-22T17:43:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa8a149c0cc822e3886eb85b95cb2f7d67e5b7e6'/>
<id>urn:sha1:aa8a149c0cc822e3886eb85b95cb2f7d67e5b7e6</id>
<content type='text'>
Remove "status_changed" return from acpi_bus_check_device().  Nobody
does anything useful based on its value.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: simplify notification debug messages</title>
<updated>2009-06-18T04:13:15Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-05-22T17:43:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02c37bd8d0737c31caaed9a65bd7cb80aefb4c9a'/>
<id>urn:sha1:02c37bd8d0737c31caaed9a65bd7cb80aefb4c9a</id>
<content type='text'>
This replaces several messages that depend on the acpi_device struct
with a single message that uses just the acpi_handle.  We should be
able to deal with notifications to objects that do not yet have an
acpi_device struct.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: allow drivers to request both device and system notify events</title>
<updated>2009-06-18T04:13:14Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-04-30T15:35:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d2781310036a8d3fa2b590a6f83a298010fd64a'/>
<id>urn:sha1:6d2781310036a8d3fa2b590a6f83a298010fd64a</id>
<content type='text'>
System notify events (0x00-0x7f) are common across all device types
and should be handled in Linux/ACPI, not in drivers.  However, some
BIOSes use system notify events in device-specific ways that require
the driver to be involved.

This patch adds a ACPI_DRIVER_ALL_NOTIFY_EVENTS driver flag.  When a
driver sets this flag and supplies a .notify method, Linux/ACPI calls
the .notify method for ALL notify events on the device, not just the
device-specific (0x80-0xff) events.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: power: update error message</title>
<updated>2009-05-08T04:07:30Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2009-05-08T04:07:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ddc50b6ad634d9ce2526a777d4b7da80effdfb60'/>
<id>urn:sha1:ddc50b6ad634d9ce2526a777d4b7da80effdfb60</id>
<content type='text'>
"Transitioning device [%s] to D%d" is not correct.
We print this line when we attempted to transition
the device, and it failed.

So instead, print
"Device [%s] failed to transition to D%d\n"

This can happen under two conditions:

1. acpi_power_transition() fails when trying to handle the
   _ON/_OFF for associated power resource.

2. acpi_evaluate_object() on the explicit _PS0/_PS3
   for that actual device could fail.

this change clarifies, but doesn't fix
http://bugzilla.kernel.org/show_bug.cgi?id=13243

Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'bjorn-initcall-cleanup' into release</title>
<updated>2009-04-05T05:38:31Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2009-04-05T05:38:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a38f4eec57cc5104b6a85bc6d0a91b268fbe803'/>
<id>urn:sha1:9a38f4eec57cc5104b6a85bc6d0a91b268fbe803</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ACPI: call acpi_wakeup_device_init() explicitly rather than as initcall</title>
<updated>2009-03-27T16:51:31Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-24T22:50:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=201b8c655f7a48563f6a0b66f9e388460a1ea611'/>
<id>urn:sha1:201b8c655f7a48563f6a0b66f9e388460a1ea611</id>
<content type='text'>
This patch makes acpi_init() call acpi_wakeup_device_init() directly.
Previously, acpi_wakeup_device_init() was a late_initcall (sequence 7).

acpi_wakeup_device_init() depends on acpi_wakeup_device_list, which
is populated when ACPI devices are enumerated by acpi_init() -&gt;
acpi_scan_init().  Using late_initcall is certainly enough to make
sure acpi_wakeup_device_list is populated, but it is more than
necessary.  We can just as easily call acpi_wakeup_device_init()
directly from acpi_init(), which avoids the initcall magic.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
CC: Li Shaohua &lt;shaohua.li@intel.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: call acpi_sleep_proc_init() explicitly rather than as initcall</title>
<updated>2009-03-27T16:51:23Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-24T22:50:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9cee43e07940bee13462e63bd75ce4430b155886'/>
<id>urn:sha1:9cee43e07940bee13462e63bd75ce4430b155886</id>
<content type='text'>
This patch makes acpi_init() call acpi_sleep_proc_init() directly.
Previously, acpi_sleep_proc_init() was a late_initcall (sequence 7),
apparently to make sure that the /proc hierarchy already exists:

    2003/02/13 12:38:03-06:00 mochel
    acpi sleep: demote sleep proc file creation.

    - Make acpi_sleep_proc_init() a late_initcall(), and not called from
      acpi_sleep_init(). This guarantees that the acpi proc hierarchy is at
      least there when we create the dang file.

This should no longer be an issue because acpi_bus_init() (called early
in acpi_init()) creates acpi_root_dir (/proc/acpi).

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
<entry>
<title>ACPI: call init_acpi_device_notify() explicitly rather than as initcall</title>
<updated>2009-03-27T16:51:16Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-24T22:50:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e46517d9660ee6ae0a0c5d8a4e50451bc84d61d'/>
<id>urn:sha1:0e46517d9660ee6ae0a0c5d8a4e50451bc84d61d</id>
<content type='text'>
This patch makes acpi_init() call init_acpi_device_notify() directly.
Previously, init_acpi_device_notify() was an arch_initcall (sequence 3),
so it was called before acpi_init() (a subsys_initcall at sequence 4).

init_acpi_device_notify() sets the platform_notify and
platform_notify_remove function pointers.  These pointers
are not used until acpi_init() enumerates ACPI devices in
this path:

    acpi_init()
	    acpi_scan_init()
		acpi_bus_scan()
		    acpi_add_single_object()
			acpi_device_register()
			    device_add()
				&lt;use platform_notify&gt;

So it is sufficient to have acpi_init() call init_acpi_device_notify()
directly before it enumerates devices.

Signed-off-by: Bjorn Helgaas &lt;bjorn.helgaas@hp.com&gt;
Signed-off-by: Len Brown &lt;len.brown@intel.com&gt;
</content>
</entry>
</feed>
