<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/sysdev/fsl_pci.c, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-09-27T12:31:58Z</updated>
<entry>
<title>powerpc/fsl-pci: use 'Header Type' to identify PCIE mode</title>
<updated>2012-09-27T12:31:58Z</updated>
<author>
<name>Minghuan Lian</name>
</author>
<published>2012-09-24T05:50:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=59c58c324a81cfb08c490384a7c292b82609673a'/>
<id>urn:sha1:59c58c324a81cfb08c490384a7c292b82609673a</id>
<content type='text'>
The original code uses 'Programming Interface' field to judge if PCIE is
EP or RC mode, however, some latest silicons do not support this
functionality.  According to PCIE specification, 'Header Type' offset 0x0e
is used to indicate header type, so change code to use 'Header Type' field
to judge PCIE mode. Because FSL PCI controller does not support
'Header Type', patch still uses 'Programming Interface' to identify PCI
mode.

Signed-off-by: Minghuan Lian &lt;Minghuan.Lian@freescale.com&gt;
Signed-off-by: Roy Zang &lt;tie-fei.zang@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/fsl-pci: fix warning when CONFIG_SWIOTLB is disabled</title>
<updated>2012-09-19T13:41:46Z</updated>
<author>
<name>Jia Hongtao</name>
</author>
<published>2012-09-18T09:57:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d56dec5dca496655ef035ef3b80f7c47dc22b77'/>
<id>urn:sha1:4d56dec5dca496655ef035ef3b80f7c47dc22b77</id>
<content type='text'>
Fix the following warning:
arch/powerpc/sysdev/fsl_pci.c: In function 'fsl_pci_probe':
arch/powerpc/sysdev/fsl_pci.c:867:25: error: unused variable 'hose'

Signed-off-by: Jia Hongtao &lt;B38951@freescale.com&gt;
Acked-by: Michael Neuling &lt;mikey@neuling.org&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/fsl-pci: Unify pci/pcie initialization code</title>
<updated>2012-09-12T19:57:12Z</updated>
<author>
<name>Jia Hongtao</name>
</author>
<published>2012-08-28T07:44:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=905e75c46dba5f3061049277e4eb7110beedba43'/>
<id>urn:sha1:905e75c46dba5f3061049277e4eb7110beedba43</id>
<content type='text'>
We unified the Freescale pci/pcie initialization by changing the fsl_pci
to a platform driver. In previous PCI code architecture the initialization
routine is called at board_setup_arch stage. Now the initialization is done
in probe function which is architectural better. Also It's convenient for
adding PM support for PCI controller in later patch.

Now we registered pci controllers as platform devices. So we combine two
initialization code as one platform driver.

Signed-off-by: Jia Hongtao &lt;B38951@freescale.com&gt;
Signed-off-by: Li Yang &lt;leoli@freescale.com&gt;
Signed-off-by: Chunhe Lan &lt;Chunhe.Lan@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/pci: Use PCIe IP block revision register instead of compatible</title>
<updated>2012-09-12T19:57:12Z</updated>
<author>
<name>Roy Zang</name>
</author>
<published>2012-09-03T09:22:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9e67886becd7fab36c97ef43bb81515c18a66be1'/>
<id>urn:sha1:9e67886becd7fab36c97ef43bb81515c18a66be1</id>
<content type='text'>
Freescale PCIe IP block revision bigger than rev2.2 will also need
redefine the sequence of inbound windows. So change to use IP block
revision instead of compatible for the judgment.

Signed-off-by: Roy Zang &lt;tie-fei.zang@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/swiotlb: Enable at early stage and disable if not necessary</title>
<updated>2012-09-12T19:57:09Z</updated>
<author>
<name>Jia Hongtao</name>
</author>
<published>2012-08-03T10:14:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=688ba1dbee8a49a2efe507cd9ae69634d92bb640'/>
<id>urn:sha1:688ba1dbee8a49a2efe507cd9ae69634d92bb640</id>
<content type='text'>
Remove the dependency on PCI initialization for SWIOTLB initialization.
So that PCI can be initialized at proper time.

SWIOTLB is partly determined by PCI inbound/outbound map which is assigned
in PCI initialization. But swiotlb_init() should be done at the stage of
mem_init() which is much earlier than PCI initialization. So we reserve the
memory for SWIOTLB first and free it if not necessary.

All boards are converted to fit this change.

Signed-off-by: Jia Hongtao &lt;B38951@freescale.com&gt;
Signed-off-by: Li Yang &lt;leoli@freescale.com&gt;
Acked-by: Tony Breeds &lt;tony@bakeyournoodle.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/fsl-pci: add fsl,qoriq-pcie-v2.4 compatible string</title>
<updated>2012-09-12T19:57:07Z</updated>
<author>
<name>Timur Tabi</name>
</author>
<published>2012-07-26T15:08:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=708998c9cfc7b324cd3ffde3e7f74d32bca1ac67'/>
<id>urn:sha1:708998c9cfc7b324cd3ffde3e7f74d32bca1ac67</id>
<content type='text'>
The PCI controller on the Freescale P5040 is v2.4.

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/fsl-pci: Only scan PCI bus if configured as a host</title>
<updated>2012-08-03T13:25:52Z</updated>
<author>
<name>Jia Hongtao</name>
</author>
<published>2012-08-03T10:14:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9f11c30374329a0d2a88cf05281ca49d8eca9ab'/>
<id>urn:sha1:c9f11c30374329a0d2a88cf05281ca49d8eca9ab</id>
<content type='text'>
We change fsl_add_bridge to return -ENODEV if the controller is working in
agent mode. Then check the return value of fsl_add_bridge to guarantee
that only successfully added host bus will be scanned.

Signed-off-by: Jia Hongtao &lt;B38951@freescale.com&gt;
Signed-off-by: Li Yang &lt;leoli@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/fsl-pci: get PCI init out of board files</title>
<updated>2012-07-11T12:49:33Z</updated>
<author>
<name>Scott Wood</name>
</author>
<published>2012-07-11T00:26:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07e4f8014f4d3404de7cdeaba3fe307cc6eecb79'/>
<id>urn:sha1:07e4f8014f4d3404de7cdeaba3fe307cc6eecb79</id>
<content type='text'>
As an alternative incremental starting point to Jia Hongtao's patchset,
get the FSL PCI init out of the board files, but do not yet convert to a
platform driver.

Rather than having each board supply a magic register offset for
determining the "primary" bus, we look for which PCI host bridge
contains an ISA node within its subtree.  If there is no ISA node,
normally that would mean there is no primary bus, but until certain
bugs are fixed we arbitrarily designate a primary in this case.

Conversion to a platform driver and related improvements can happen
after this, as the ordering issues are sorted out.

Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/fsl/pci: Fix when quirk_fsl_pcie_header is freed up</title>
<updated>2012-07-10T12:07:19Z</updated>
<author>
<name>Matias Garcia</name>
</author>
<published>2011-09-19T15:35:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dea0ed4a64b9d62b266d54350c2514fa7b2b1dbd'/>
<id>urn:sha1:dea0ed4a64b9d62b266d54350c2514fa7b2b1dbd</id>
<content type='text'>
Change quirk_fsl_pcie_header from __init to __devinit to ensure if we
have a runtime access (like via an FPGA being loaded after boot on the
PCIe link) that we dont access randomly freed memory.

Signed-off-by: Matias Garcia &lt;mgarcia@rossvideo.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/fsl/pci: Fix PCIe fixup regression</title>
<updated>2012-02-16T05:15:03Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2012-02-14T18:22:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13635dfdc6aa8d2890e02dc441decfcb4ae63e14'/>
<id>urn:sha1:13635dfdc6aa8d2890e02dc441decfcb4ae63e14</id>
<content type='text'>
Upstream changes to the way PHB resources are registered
broke the resource fixup for FSL boards.

We can no longer rely on the resource pointer array for the PHB's
pci_bus structure, so let's leave it alone and go straight for
the PHB resources instead. This also makes the code generally
more readable.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
</feed>
