<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/acpi/pci_bind.c, branch linux-3.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-11-13T21:34:06Z</updated>
<entry>
<title>Merge branch 'pci/misc' into next</title>
<updated>2012-11-13T21:34:06Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2012-11-13T21:34:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7db78a9c864d1baf916d849febef31e274cfcb1f'/>
<id>urn:sha1:7db78a9c864d1baf916d849febef31e274cfcb1f</id>
<content type='text'>
* pci/misc:
  PCI/ACPI: Notify PCI devices when their power resource is turned on
  PCI: Add GPL license for drivers/pci/ioapic module
  PCI: Fix bit definitions of PCI_EXP_LNKCAP2 register
</content>
</entry>
<entry>
<title>PCI/ACPI: Notify PCI devices when their power resource is turned on</title>
<updated>2012-11-13T18:49:36Z</updated>
<author>
<name>Huang Ying</name>
</author>
<published>2012-11-07T00:57:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71fbad6c9a28629b6af40b0ff48f36c6610a1394'/>
<id>urn:sha1:71fbad6c9a28629b6af40b0ff48f36c6610a1394</id>
<content type='text'>
This patch reduces power consumption by allowing idle devices to go to a
low power state after another device on the same power resource has been
awakened.

A power resource may be shared by multiple devices.  When all devices
sharing a power resource are put into D3_COLD state, the power resource
will be turned off.  When one of the devices is awakened, the power
resource will be turned on and all devices sharing it will be powered on to
D0uninitialized state.  These devices should be resumed, so that they have
the opportunity to go to low power state later.

[bhelgaas: changelog]
Signed-off-by: Huang Ying &lt;ying.huang@intel.com&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Acked-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;</content>
</entry>
<entry>
<title>ACPI: Pass segment/bus to _PRT add/del so they don't depend on pci_bus</title>
<updated>2012-11-05T22:54:22Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2012-10-30T06:24:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79c4412298771b8996302806abc8a11e760da9b3'/>
<id>urn:sha1:79c4412298771b8996302806abc8a11e760da9b3</id>
<content type='text'>
This effectively reverts 859a3f86ca8 ("ACPI: simplify
acpi_pci_irq_add_prt() API") and d9efae3688a ("ACPI: simplify
acpi_pci_irq_del_prt() API").

The reason is to disentangle these routines from the struct pci_bus.
We want to be able to add the _PRT before the struct pci_bus
exists, and delete the _PRT after we've removed the pci_bus.

Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Signed-off-by: Taku Izumi &lt;izumi.taku@jp.fujitsu.com&gt;</content>
</entry>
<entry>
<title>PCI / ACPI / PM: Platform support for PCI PME wake-up</title>
<updated>2010-02-23T00:21:02Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-02-17T22:44:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b67ea76172d4b1922c4b3c46c8ea8e9fec1ff38c'/>
<id>urn:sha1:b67ea76172d4b1922c4b3c46c8ea8e9fec1ff38c</id>
<content type='text'>
Although the majority of PCI devices can generate PMEs that in
principle may be used to wake up devices suspended at run time,
platform support is generally necessary to convert PMEs into wake-up
events that can be delivered to the kernel.  If ACPI is used for this
purpose, PME signals generated by a PCI device will trigger the ACPI
GPE associated with the device to generate an ACPI wake-up event that
we can set up a handler for, provided that everything is configured
correctly.

Unfortunately, the subset of PCI devices that have GPEs associated
with them is quite limited.  The devices without dedicated GPEs have
to rely on the GPEs associated with other devices (in the majority of
cases their upstream bridges and, possibly, the root bridge) to
generate ACPI wake-up events in response to PME signals from them.

Add ACPI platform support for PCI PME wake-up:
o Add a framework making is possible to use ACPI system notify
  handlers for run-time PM.
o Add new PCI platform callback -&gt;run_wake() to struct
  pci_platform_pm_ops allowing us to enable/disable the platform to
  generate wake-up events for given device.  Implemet this callback
  for the ACPI platform.
o Define ACPI wake-up handlers for PCI devices and PCI root buses and
  make the PCI-ACPI binding code register wake-up notifiers for all
  PCI devices present in the ACPI tables.
o Add function pci_dev_run_wake() which can be used by PCI drivers to
  check if given device is capable of generating wake-up events at
  run time.

Developed in cooperation with Matthew Garrett &lt;mjg@redhat.com&gt;.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</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: acpi_pci_unbind should clean up properly after acpi_pci_bind</title>
<updated>2009-06-18T03:22:16Z</updated>
<author>
<name>Alexander Chiang</name>
</author>
<published>2009-06-10T19:55:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97719a8726fe8d3ea12a85fbf4f514a915ba30ec'/>
<id>urn:sha1:97719a8726fe8d3ea12a85fbf4f514a915ba30ec</id>
<content type='text'>
In acpi_pci_bind, we set device-&gt;ops.bind and device-&gt;ops.unbind, but
never clear them out.

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: rearrange acpi_pci_bind/acpi_pci_unbind in pci_bind.c</title>
<updated>2009-06-18T03:22:15Z</updated>
<author>
<name>Alexander Chiang</name>
</author>
<published>2009-06-10T19:55:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c22d7f5a389dad15de448b142f44e4000b3426f0'/>
<id>urn:sha1:c22d7f5a389dad15de448b142f44e4000b3426f0</id>
<content type='text'>
This is a pure code movement patch that does $subject in order
to make the following patch easier to read and review.

No functional change.

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