<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/acpi/acpi_drivers.h, 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-24T05:19:50Z</updated>
<entry>
<title>Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release</title>
<updated>2009-06-24T05:19:50Z</updated>
<author>
<name>Len Brown</name>
</author>
<published>2009-06-24T05:19:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fbe8cddd2d85979d273d7937a2b8a47498694d91'/>
<id>urn:sha1:fbe8cddd2d85979d273d7937a2b8a47498694d91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ACPI: kill acpi_get_pci_id</title>
<updated>2009-06-18T03:32:23Z</updated>
<author>
<name>Alexander Chiang</name>
</author>
<published>2009-06-10T19:55:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=80ffdedf6020a77adcd06c01cfe6c488312b28f8'/>
<id>urn:sha1:80ffdedf6020a77adcd06c01cfe6c488312b28f8</id>
<content type='text'>
acpi_get_pci_dev() is better, and all callers have been converted, so
eliminate acpi_get_pci_id().

Signed-off-by: Alex Chiang &lt;achiang@hp.com&gt;
Acked-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 acpi_pci_irq_del_prt() API</title>
<updated>2009-06-18T03:22:16Z</updated>
<author>
<name>Alexander Chiang</name>
</author>
<published>2009-06-10T19:55:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9efae3688addb15994c9ad9761dada6f988bc14'/>
<id>urn:sha1:d9efae3688addb15994c9ad9761dada6f988bc14</id>
<content type='text'>
There is no need to pass a segment/bus tuple to this API, as the callsite
always has a struct pci_bus. We can derive segment/bus from the
struct pci_bus, so let's take this opportunit to simplify the API and
make life easier for the callers.

Signed-off-by: Alex Chiang &lt;achiang@hp.com&gt;
Acked-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 acpi_pci_irq_add_prt() API</title>
<updated>2009-06-18T03:22:16Z</updated>
<author>
<name>Alexander Chiang</name>
</author>
<published>2009-06-10T19:55:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=859a3f86ca83346f4097e956d0b27d96aa7a1cff'/>
<id>urn:sha1:859a3f86ca83346f4097e956d0b27d96aa7a1cff</id>
<content type='text'>
A PCI domain cannot change as you descend down subordinate buses, which
makes the 'segment' argument to acpi_pci_irq_add_prt() useless.

Change the interface to take a struct pci_bus *, from whence we can derive
the bus number and segment. Reducing the number of arguments makes life
simpler for callers.

Signed-off-by: Alex Chiang &lt;achiang@hp.com&gt;
Acked-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: eviscerate pci_bind.c</title>
<updated>2009-06-18T03:22:16Z</updated>
<author>
<name>Alexander Chiang</name>
</author>
<published>2009-06-10T19:55:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=499650de6906722184b639989b47227a362b62f8'/>
<id>urn:sha1:499650de6906722184b639989b47227a362b62f8</id>
<content type='text'>
Now that we can dynamically convert an ACPI CA handle to a
struct pci_dev at runtime, there's no need to statically bind
them during boot.

acpi_pci_bind/unbind are vastly simplified, and are only used
to evaluate _PRT methods on P2P bridges and non-bridge children.

This patch also changes the time-space tradeoff ever so slightly.

Looking up the ACPI-PCI binding is never in the performance path, and by
eliminating this caching, we save 24 bytes for each _ADR device in the
ACPI namespace.

This patch lays further groundwork to eventually eliminate
the acpi_driver_ops.bind callback.

Signed-off-by: Alex Chiang &lt;achiang@hp.com&gt;
Acked-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: Introduce acpi_get_pci_dev()</title>
<updated>2009-06-18T03:22:15Z</updated>
<author>
<name>Alexander Chiang</name>
</author>
<published>2009-06-10T19:55:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f7bbceb5b6aa938024bb4dad93c410fa59ed3b9'/>
<id>urn:sha1:2f7bbceb5b6aa938024bb4dad93c410fa59ed3b9</id>
<content type='text'>
Convert an ACPI CA handle to a struct pci_dev.

Performing this lookup dynamically allows us to get rid of the
ACPI-PCI binding code, which:

	- eliminates struct acpi_device vs struct pci_dev lifetime issues
	- lays more groundwork for eliminating .start from acpi_device_ops
	  and thus simplifying ACPI drivers
	- whacks out a lot of code

This change lays the groundwork for eliminating much of pci_bind.c.

Although pci_root.c may not be the most logical place for this
change, putting it here saves us from having to export acpi_pci_find_root.

Signed-off-by: Alex Chiang &lt;achiang@hp.com&gt;
Acked-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: make acpi_pci_bind() static</title>
<updated>2009-06-18T03:22:15Z</updated>
<author>
<name>Alexander Chiang</name>
</author>
<published>2009-06-10T19:55:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ce597bb42aa84bc73db80509b7c37e7fbc0b75c4'/>
<id>urn:sha1:ce597bb42aa84bc73db80509b7c37e7fbc0b75c4</id>
<content type='text'>
acpi_pci_root_add() explicitly assigns device-&gt;ops.bind, and later
calls acpi_pci_bind_root(), which also does the same thing.

We don't need to repeat ourselves; removing the explicit assignment
allows us to make acpi_pci_bind() static.

Signed-off-by: Alex Chiang &lt;achiang@hp.com&gt;
Acked-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: processor: move device _HID into driver</title>
<updated>2009-05-28T01:14:28Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-04-27T22:33:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9eccbc2f67efd0d19c47f40182abf2965c287add'/>
<id>urn:sha1:9eccbc2f67efd0d19c47f40182abf2965c287add</id>
<content type='text'>
The ACPI0007 _HID used for processor "Device" objects in the namespace
is not needed outside the processor driver, so move it there.  Also, the
#define is only used once, so just remove it and hard-code "ACPI0007".

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: use LNXCPU, not ACPI_CPU, for Linux-specific processor _HID</title>
<updated>2009-05-28T01:13:31Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-04-27T22:33:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9417f84e17b93a6976a8a88b38bf9567975cb38'/>
<id>urn:sha1:b9417f84e17b93a6976a8a88b38bf9567975cb38</id>
<content type='text'>
ACPI_PROCESSOR_OBJECT_HID is a synthetic _HID that Linux generates
for "Processor" definitions.  Unlike "Device" definitions, "Processor"
definitions do not have a _HID in the namespace, so we generate a
fake _HID.  By convention, all these fake _HIDs begin with "LNX".

This does change the user-visible _HID for "Processor" objects --
previously, we used "ACPI_CPU" and this changes that to "LNXCPU",
which starts with "LNX" as do all the other made-up _HIDs.  This
change is visible in processor filenames and "hid" files under
/sys/devices/LNXSYSTM:00/.

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: support acpi_device_ops .notify methods</title>
<updated>2009-04-05T06:25:07Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2009-03-30T17:48:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=46ec8598fde74ba59703575c22a6fb0b6b151bb6'/>
<id>urn:sha1:46ec8598fde74ba59703575c22a6fb0b6b151bb6</id>
<content type='text'>
This patch adds support for ACPI device driver .notify() methods.  If
such a method is present, Linux/ACPI installs a handler for device
notifications (but not for system notifications such as Bus Check,
Device Check, etc).  When a device notification occurs, Linux/ACPI
passes it on to the driver's .notify() method.

In most cases, this removes the need for drivers to install their own
handlers for device-specific notifications.

For fixed hardware devices like some power and sleep buttons, there's
no notification value because there's no control method to execute a
Notify opcode.  When a fixed hardware device generates an event, we
handle it the same as a regular device notification, except we send
a ACPI_FIXED_HARDWARE_EVENT value.  This is outside the normal 0x0-0xff
range used by Notify opcodes.

Several drivers install their own handlers for system Bus Check and
Device Check notifications so they can support hot-plug.  This patch
doesn't affect that usage.

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