<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/kernel/pci-common.c, branch linux-4.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-04-13T23:29:23Z</updated>
<entry>
<title>Merge branch 'next-sriov' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc into next</title>
<updated>2015-04-13T23:29:23Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2015-04-13T23:29:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad30cb9946515f72af5c3e89ad9de18870c1a1e7'/>
<id>urn:sha1:ad30cb9946515f72af5c3e89ad9de18870c1a1e7</id>
<content type='text'>
Merge Richard's work to support SR-IOV on PowerNV. All generic PCI
patches acked by Bjorn.

Some minor conflicts with Daniel's pci_controller_ops work.

Conflicts:
	arch/powerpc/include/asm/machdep.h
	arch/powerpc/platforms/powernv/pci-ioda.c
</content>
</entry>
<entry>
<title>powerpc: Remove shims for pci_controller_ops operations</title>
<updated>2015-04-11T10:49:18Z</updated>
<author>
<name>Daniel Axtens</name>
</author>
<published>2015-03-31T05:00:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=467efc2e4fdc44e6cd4be7dd4adf01c14b3d148e'/>
<id>urn:sha1:467efc2e4fdc44e6cd4be7dd4adf01c14b3d148e</id>
<content type='text'>
Remove shims, patch callsites to use pci_controller_ops
versions instead.

Also move back the probe mode defines, as explained in the patch
for pci_probe_mode.

Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc: Create pci_controller_ops.reset_secondary_bus and shim</title>
<updated>2015-04-11T10:49:14Z</updated>
<author>
<name>Daniel Axtens</name>
</author>
<published>2015-03-31T05:00:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd16c7ba0cc21aa1563e4b8430519b6488d0de60'/>
<id>urn:sha1:cd16c7ba0cc21aa1563e4b8430519b6488d0de60</id>
<content type='text'>
Add pci_controller_ops.reset_secondary_bus,
shadowing ppc_md.pcibios_reset_secondary_bus.
Add a shim, and changes the callsites to use the shim.

Use pcibios_reset_secondary_bus_shim, as both
pcibios_reset_secondary_bus and pci_reset_secondary_bus
are already taken.

Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc: Create pci_controller_ops.window_alignment and shim</title>
<updated>2015-04-11T10:49:13Z</updated>
<author>
<name>Daniel Axtens</name>
</author>
<published>2015-03-31T05:00:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=542070baf4a0fe9de14cc2c4ca3ff1b43f14f90f'/>
<id>urn:sha1:542070baf4a0fe9de14cc2c4ca3ff1b43f14f90f</id>
<content type='text'>
Add pci_controller_ops.window_alignment,
shadowing ppc_md.pcibios_window_alignment.
Add a shim, and changes the callsites to use the shim.

Here, we use pci_window_alignment, as pcibios_window_alignment is
already taken.

Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc: Create pci_controller_ops.enable_device_hook and shim</title>
<updated>2015-04-11T10:49:13Z</updated>
<author>
<name>Daniel Axtens</name>
</author>
<published>2015-03-31T05:00:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b31e79f8d92ca115a935e37cfd4da74048739689'/>
<id>urn:sha1:b31e79f8d92ca115a935e37cfd4da74048739689</id>
<content type='text'>
Add pci_controller_ops.enable_device_hook,
shadowing ppc_md.pcibios_enable_device_hook.
Add a shim, and changes the callsites to use the shim.

Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc: Create pci_controller_ops.probe_mode and shim</title>
<updated>2015-04-11T10:49:12Z</updated>
<author>
<name>Daniel Axtens</name>
</author>
<published>2015-03-31T05:00:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ff9df8c87d6807e90c5c3b0e1fd1649d09fd3bcd'/>
<id>urn:sha1:ff9df8c87d6807e90c5c3b0e1fd1649d09fd3bcd</id>
<content type='text'>
Add pci_controller_ops.probe_mode, shadowing ppc_md.pci_probe_mode.
Add a shim, and changes the callsites to use the shim.

We also need to move the probe mode defines to pci-bridge.h from pci.h.
They are required by the shim in order to return a sensible default.
Previously, the were defined in pci.h, but pci.h includes pci-bridge.h
before the relevant #defines. This means the definitions are absent
if pci.h is included before pci-bridge.h. This occurs in some drivers.
So, move the definitons now, and move them back when we remove the shim.

Anything that wants the defines would have had to include pci.h, and
since pci.h includes pci-bridge.h, nothing will lose access to the
defines.

Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc: Create pci_controller_ops.dma_bus_setup and shim</title>
<updated>2015-04-11T10:49:11Z</updated>
<author>
<name>Daniel Axtens</name>
</author>
<published>2015-03-31T05:00:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b122c95494374ab848f8d9f41d98644c2c318ecc'/>
<id>urn:sha1:b122c95494374ab848f8d9f41d98644c2c318ecc</id>
<content type='text'>
Add pci_controller_ops.dma_bus_setup, shadowing ppc_md.pci_dma_bus_setup.
Add a shim, and changes the callsites to use the shim.

Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc: Create pci_controller_ops.dma_dev_setup and shim</title>
<updated>2015-04-11T10:49:11Z</updated>
<author>
<name>Daniel Axtens</name>
</author>
<published>2015-03-31T05:00:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e02def5bce12b472e9eb6dcdd9f7af72239e6330'/>
<id>urn:sha1:e02def5bce12b472e9eb6dcdd9f7af72239e6330</id>
<content type='text'>
Introduces the pci_controller_ops structure.
Add pci_controller_ops.dma_dev_setup, shadowing ppc_md.pci_dma_dev_setup.
Add a shim, and change the callsites to use the shim.

Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc: pcibios_enable_device_hook: return bool rather than int</title>
<updated>2015-04-11T10:49:10Z</updated>
<author>
<name>Daniel Axtens</name>
</author>
<published>2015-03-31T05:00:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c88c2a188905cb3077c3c38dc498e7e9f8eebeee'/>
<id>urn:sha1:c88c2a188905cb3077c3c38dc498e7e9f8eebeee</id>
<content type='text'>
pcibios_enable_device_hook returned an int. Every implementation
returned either -EINVAL or 0. The return value wasn't propagated by
the caller: any non-zero return value caused pcibios_enable_device
to return -EINVAL itself. Therefore, make the hook return a bool.

Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc: Replace mem_init_done with slab_is_available()</title>
<updated>2015-04-10T10:02:48Z</updated>
<author>
<name>Michael Ellerman</name>
</author>
<published>2015-03-30T03:10:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f691fa1080c37c48da0cdfeae082c3bef5df2643'/>
<id>urn:sha1:f691fa1080c37c48da0cdfeae082c3bef5df2643</id>
<content type='text'>
We have a powerpc specific global called mem_init_done which is "set on
boot once kmalloc can be called".

But that's not *quite* true. We set it at the bottom of mem_init(), and
rely on the fact that mm_init() calls kmem_cache_init() immediately
after that, and nothing is running in parallel.

So replace it with the generic and 100% correct slab_is_available().

Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
</feed>
