<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/kernel/pci_64.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>2013-01-03T23:57:04Z</updated>
<entry>
<title>POWERPC: drivers: remove __dev* attributes.</title>
<updated>2013-01-03T23:57:04Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2012-12-21T22:04:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cad5cef62a5a0c525d39118d2e94b6e2034d5e05'/>
<id>urn:sha1:cad5cef62a5a0c525d39118d2e94b6e2034d5e05</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>powerpc/PCI: Remove CONFIG_HOTPLUG ifdefs</title>
<updated>2012-11-28T20:50:22Z</updated>
<author>
<name>Bill Pemberton</name>
</author>
<published>2012-11-21T20:34:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e47034c7a1522b9572c76bb1d003d56d9f3fcb31'/>
<id>urn:sha1:e47034c7a1522b9572c76bb1d003d56d9f3fcb31</id>
<content type='text'>
Remove conditional code based on CONFIG_HOTPLUG being false.  It's
always on now in preparation of it going away as an option.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Rob Herring &lt;rob.herring@calxeda.com&gt;
Acked-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>PCI: replace struct pci_bus secondary/subordinate with busn_res</title>
<updated>2012-06-13T21:42:22Z</updated>
<author>
<name>Yinghai Lu</name>
</author>
<published>2012-05-18T01:51:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b918c62e086b2130a7bae44110ca516ef10bfe5a'/>
<id>urn:sha1:b918c62e086b2130a7bae44110ca516ef10bfe5a</id>
<content type='text'>
Replace the struct pci_bus secondary/subordinate members with the
struct resource busn_res.  Later we'll build a resource tree of these
bus numbers.

[bhelgaas: changelog]
Signed-off-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;</content>
</entry>
<entry>
<title>powerpc/PCI: compute I/O space bus-to-resource offset consistently</title>
<updated>2012-03-20T17:41:44Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2012-03-16T23:48:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38973ba7903fa0660a31b2bdc50ff711ec8d08c9'/>
<id>urn:sha1:38973ba7903fa0660a31b2bdc50ff711ec8d08c9</id>
<content type='text'>
Make sure we compute CPU addresses (resource start/end) the same way both
when we set up the I/O aperture (hose-&gt;io_resource) and when we use
pcibios_bus_to_resource() to convert BAR values into resources.

This fixes a build failure ("cast from pointer to integer of different
size" in configs where resource_size_t is 64 bits but pointers are 32 bits)
I introduced in 6c5705fec63d.

Acked-By: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>powerpc/PCI: replace pci_probe_only with pci_flags</title>
<updated>2012-02-24T03:18:58Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2012-02-24T03:18:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=673c975624895c4db2edff32601d9c6475b2d39e'/>
<id>urn:sha1:673c975624895c4db2edff32601d9c6475b2d39e</id>
<content type='text'>
We already use pci_flags, so this just sets pci_flags directly and removes
the intermediate step of figuring out pci_probe_only, then using it to set
pci_flags.

The PCI core provides a pci_flags definition (currently __weak), so drop
the powerpc definitions in favor of that.

CC: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
CC: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
</content>
</entry>
<entry>
<title>powerpc/PCI: make pci_probe_only default to 0</title>
<updated>2012-02-24T03:18:58Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2012-02-24T03:18:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c13be017abe041e495862d50dbd83093e09cd6a'/>
<id>urn:sha1:3c13be017abe041e495862d50dbd83093e09cd6a</id>
<content type='text'>
pci_probe_only is set on ppc64 to prevent resource re-allocation
by the core. It's meant to be used in very specific circumstances
such as when operating under a hypervisor that may prevent such
re-allocation.

Instead of default to 1, we make it default to 0 and explicitly
set it in the few cases where we need it.

This fixes FSL PCI which wants it clear among others.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
</content>
</entry>
<entry>
<title>powerpc/PCI: split PHB part out of pcibios_map_io_space()</title>
<updated>2012-01-06T20:11:08Z</updated>
<author>
<name>Bjorn Helgaas</name>
</author>
<published>2011-10-28T22:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49a6cba4eb165dba65221eea4d555ec8a7c85800'/>
<id>urn:sha1:49a6cba4eb165dba65221eea4d555ec8a7c85800</id>
<content type='text'>
No functional change.  This is so we can use pcibios_phb_map_io_space()
before we have a struct pci_bus.

v2: fix map io phb typo

CC: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>powerpc: add export.h to files making use of EXPORT_SYMBOL</title>
<updated>2011-10-31T23:30:37Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-05-27T14:46:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=66b15db69c2553036cc25f6e2e74fe7e3aa2761e'/>
<id>urn:sha1:66b15db69c2553036cc25f6e2e74fe7e3aa2761e</id>
<content type='text'>
With module.h being implicitly everywhere via device.h, the absence
of explicitly including something for EXPORT_SYMBOL went unnoticed.
Since we are heading to fix things up and clean module.h from the
device.h file, we need to explicitly include these files now.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>powerpc: rename ppc_pci_*_flags to pci_*_flags</title>
<updated>2011-07-12T14:28:04Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2011-07-12T14:25:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e47ff1ce65bbd0b12a9421a2756b26987ea5083'/>
<id>urn:sha1:0e47ff1ce65bbd0b12a9421a2756b26987ea5083</id>
<content type='text'>
This renames pci flags functions and enums in preparation for creating
generic version in asm-generic/pci-bridge.h. The following search and
replace is done:

s/ppc_pci_/pci_/
s/PPC_PCI_/PCI_/

Direct accesses to ppc_pci_flag variable are replaced with helper
functions.

Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Acked-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>powerpc/pci: Make both ppc32 and ppc64 use sysdata for pci_controller</title>
<updated>2011-02-04T18:46:51Z</updated>
<author>
<name>Grant Likely</name>
</author>
<published>2011-02-04T18:24:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b5d937de0367d26f65b9af1aef5f2c34c1939be0'/>
<id>urn:sha1:b5d937de0367d26f65b9af1aef5f2c34c1939be0</id>
<content type='text'>
Currently, ppc32 uses sysdata for the pci_controller pointer, and
ppc64 uses it to hold the device_node pointer.  This patch moves the
of_node pointer into (struct pci_bus*)-&gt;dev.of_node and
(struct pci_dev*)-&gt;dev.of_node so that sysdata can be converted to always
use the pci_controller pointer instead.  It also fixes up the
allocating of pci devices so that the of_node pointer gets assigned
consistently and increments the ref count.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
</feed>
