<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/pci/hotplug/pciehp.h, branch linux-3.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-10-18T06:31:02Z</updated>
<entry>
<title>pciehp: update workqueue usage</title>
<updated>2010-10-18T06:31:02Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2010-10-18T06:31:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a827ea307b147aeb050803433b3f6842582c6ced'/>
<id>urn:sha1:a827ea307b147aeb050803433b3f6842582c6ced</id>
<content type='text'>
* Rename pciehp_wq to pciehp_ordered_wq and add non-ordered pciehp_wq
  which is used instead of the system workqueue.  This is to remove
  the use of flush_scheduled_work() which is deprecated and scheduled
  for removal.

* With cmwq in place, there's no point in creating workqueues lazily.
  Create both pciehp_wq and pciehp_ordered_wq upfront.

* Include workqueue.h from pciehp.h.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Acked-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>PCI hotplug: Fix build with CONFIG_ACPI unset</title>
<updated>2010-08-25T19:54:03Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-08-25T19:33:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e63e80d88521a176989ed14b420f42dc418e46a'/>
<id>urn:sha1:6e63e80d88521a176989ed14b420f42dc418e46a</id>
<content type='text'>
One of the recent changes caused complilation of
drivers/pci/hotplug/pciehp_core.c to fail.  Fix this issue.

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>PCI: PCIe: Ask BIOS for control of all native services at once</title>
<updated>2010-08-24T20:47:33Z</updated>
<author>
<name>Rafael J. Wysocki</name>
</author>
<published>2010-08-21T20:02:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28eb5f274a305bf3a13b2c80c4804d4515d05c64'/>
<id>urn:sha1:28eb5f274a305bf3a13b2c80c4804d4515d05c64</id>
<content type='text'>
After commit 852972acff8f10f3a15679be2059bb94916cba5d (ACPI: Disable
ASPM if the platform won't provide _OSC control for PCIe) control of
the PCIe Capability Structure is unconditionally requested by
acpi_pci_root_add(), which in principle may cause problems to
happen in two ways.  First, the BIOS may refuse to give control of
the PCIe Capability Structure if it is not asked for any of the
_OSC features depending on it at the same time.  Second, the BIOS may
assume that control of the _OSC features depending on the PCIe
Capability Structure will be requested in the future and may behave
incorrectly if that doesn't happen.  For this reason, control of
the PCIe Capability Structure should always be requested along with
control of any other _OSC features that may depend on it (ie. PCIe
native PME, PCIe native hot-plug, PCIe AER).

Rework the PCIe port driver so that (1) it checks which native PCIe
port services can be enabled, according to the BIOS, and (2) it
requests control of all these services simultaneously.  In
particular, this causes pcie_portdrv_probe() to fail if the BIOS
refuses to grant control of the PCIe Capability Structure, which
means that no native PCIe port services can be enabled for the PCIe
Root Complex the given port belongs to.  If that happens, ASPM is
disabled to avoid problems with mishandling it by the part of the
PCIe hierarchy for which control of the PCIe Capability Structure
has not been received.

Make it possible to override this behavior using 'pcie_ports=native'
(use the PCIe native services regardless of the BIOS response to the
control request), or 'pcie_ports=compat' (do not use the PCIe native
services at all).

Accordingly, rework the existing PCIe port service drivers so that
they don't request control of the services directly.

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>pciehp: use pci_pcie_cap()</title>
<updated>2009-11-24T23:25:15Z</updated>
<author>
<name>Kenji Kaneshige</name>
</author>
<published>2009-11-11T05:34:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1518c17ab736303098843bd306a0fc4f8f5faa42'/>
<id>urn:sha1:1518c17ab736303098843bd306a0fc4f8f5faa42</id>
<content type='text'>
Use pci_pcie_cap() instead of pci_find_capability() to get PCIe capability
offset in pciehp driver. This avoids unnecessary search in PCI
configuration space. This patch also removes 'cap_base' field in
struct controller, that was used to hold PCIe capability offset by
pciehp itself.

Signed-off-by: Kenji Kaneshige &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>PCI: pciehp: remove slot capabilities definitions</title>
<updated>2009-09-17T17:06:46Z</updated>
<author>
<name>Kenji Kaneshige</name>
</author>
<published>2009-09-15T08:34:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=656927b119a6f2fe0ed453191e13eec6fe041f4c'/>
<id>urn:sha1:656927b119a6f2fe0ed453191e13eec6fe041f4c</id>
<content type='text'>
Use generic PCIe slot capabilities register definitions instead of
internal definitions.

Acked-by: Alex Chiang &lt;achiang@hp.com&gt;
Signed-off-by: Kenji Kaneshige &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>PCI: pciehp: remove error message definitions</title>
<updated>2009-09-17T17:06:41Z</updated>
<author>
<name>Kenji Kaneshige</name>
</author>
<published>2009-09-15T08:33:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9fb42a845f8e56d91017462650ba41e854f5552'/>
<id>urn:sha1:d9fb42a845f8e56d91017462650ba41e854f5552</id>
<content type='text'>
Remove (almost) unused error message definitions.

Acked-by: Alex Chiang &lt;achiang@hp.com&gt;
Signed-off-by: Kenji Kaneshige &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>PCI: pciehp: remove number field</title>
<updated>2009-09-17T17:06:36Z</updated>
<author>
<name>Kenji Kaneshige</name>
</author>
<published>2009-09-15T08:31:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07a09694de556f307b1c5035cdf0f17c6243d1cd'/>
<id>urn:sha1:07a09694de556f307b1c5035cdf0f17c6243d1cd</id>
<content type='text'>
Since slot_cap field in struct controller contains physical slot
number informationq, we don't need number field in struct slot.

Acked-by: Alex Chiang &lt;achiang@hp.com&gt;
Signed-off-by: Kenji Kaneshige &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>PCI: pciehp: remove hpc_ops</title>
<updated>2009-09-17T17:06:31Z</updated>
<author>
<name>Kenji Kaneshige</name>
</author>
<published>2009-09-15T08:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=82a9e79ef132cbf77de58aae35c1a14237f2fcde'/>
<id>urn:sha1:82a9e79ef132cbf77de58aae35c1a14237f2fcde</id>
<content type='text'>
The struct hpc_ops seems a set of hooks to controller specific
routines. But, it is meaningless because no hotplug controller driver
follows this framework.

Acked-by: Alex Chiang &lt;achiang@hp.com&gt;
Signed-off-by: Kenji Kaneshige &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>PCI: pciehp: remove pci_dev field</title>
<updated>2009-09-17T17:06:25Z</updated>
<author>
<name>Kenji Kaneshige</name>
</author>
<published>2009-09-15T08:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=385e24917ed8eeba25dddd8e63bf3fe3d53eafc5'/>
<id>urn:sha1:385e24917ed8eeba25dddd8e63bf3fe3d53eafc5</id>
<content type='text'>
Since we have a pointer to pcie_device in struct controller, we don't
need a pointer to pci_dev.

Acked-by: Alex Chiang &lt;achiang@hp.com&gt;
Signed-off-by: Kenji Kaneshige &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>PCI: pciehp: remove crit_sect mutex</title>
<updated>2009-09-17T17:06:18Z</updated>
<author>
<name>Kenji Kaneshige</name>
</author>
<published>2009-09-15T08:29:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6aaa6d06f57f3689afe27c1fad256c5d6aa9b271'/>
<id>urn:sha1:6aaa6d06f57f3689afe27c1fad256c5d6aa9b271</id>
<content type='text'>
The crit_sect mutex defined in struct controller is to serialize
hot-plug operations against multiple slots under the same bus. But,
since PCIe doesnstream port has only one slot at most, it is
meaningless and we don't need it.

Acked-by: Alex Chiang &lt;achiang@hp.com&gt;
Signed-off-by: Kenji Kaneshige &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
</feed>
