<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/kernel/vio.c, branch linux-2.6.21.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.21.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.21.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-01-24T10:13:57Z</updated>
<entry>
<title>[POWERPC] arch/powerpc/kernel/vio.c of_node_put cleanup</title>
<updated>2007-01-24T10:13:57Z</updated>
<author>
<name>Mariusz Kozlowski</name>
</author>
<published>2007-01-02T11:38:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6690faeb3537fe34950bdc3e10fa14ce4102c92f'/>
<id>urn:sha1:6690faeb3537fe34950bdc3e10fa14ce4102c92f</id>
<content type='text'>
Remove redundant argument check for of_node_put().

Signed-off-by: Mariusz Kozlowski &lt;m.kozlowski@tuxland.pl&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Refactor 64 bits DMA operations</title>
<updated>2006-12-04T09:38:40Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2006-11-11T06:25:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12d04eef927bf61328af2c7cbe756c96f98ac3bf'/>
<id>urn:sha1:12d04eef927bf61328af2c7cbe756c96f98ac3bf</id>
<content type='text'>
This patch completely refactors DMA operations for 64 bits powerpc. 32 bits
is untouched for now.

We use the new dev_archdata structure to add the dma operations pointer
and associated data to struct device. While at it, we also add the OF node
pointer and numa node. In the future, we might want to look into merging
that with pci_dn as well.

The old vio, pci-iommu and pci-direct DMA ops are gone. They are now replaced
by a set of generic iommu and direct DMA ops (non PCI specific) that can be
used by bus types. The toplevel implementation is now inline.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Use 4kB iommu pages even on 64kB-page systems</title>
<updated>2006-11-01T03:52:48Z</updated>
<author>
<name>Linas Vepstas</name>
</author>
<published>2006-10-30T05:15:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d2efba64b231a1733c4048d1708d77e07f26426'/>
<id>urn:sha1:5d2efba64b231a1733c4048d1708d77e07f26426</id>
<content type='text'>
The 10Gigabit ethernet device drivers appear to be able to chew
up all 256MB of TCE mappings on pSeries systems, as evidenced by
numerous error messages:

 iommu_alloc failed, tbl c0000000010d5c48 vaddr c0000000d875eff0 npages 1

Some experimentation indicates that this is essentially because
one 1500 byte ethernet MTU gets mapped as a 64K DMA region when
the large 64K pages are enabled. Thus, it doesn't take much to
exhaust all of the available DMA mappings for a high-speed card.

This patch changes the iommu allocator to work with its own
unique, distinct page size. Although the patch is long, its
actually quite simple: it just #defines a distinct IOMMU_PAGE_SIZE
and then uses this in all the places that matter.

As a side effect, it also dramatically improves network performance
on platforms with H-calls on iommu translation inserts/removes (since
we no longer call it 16 times for a 1500 bytes packet when the iommu HW
is still 4k).

In the future, we might want to make the IOMMU_PAGE_SIZE a variable
in the iommu_table instance, thus allowing support for different HW
page sizes in the iommu itself.

Signed-off-by: Linas Vepstas &lt;linas@austin.ibm.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Acked-by: Olof Johansson &lt;olof@lixom.net&gt;
Acked-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Constify &amp; voidify get_property()</title>
<updated>2006-07-31T05:55:04Z</updated>
<author>
<name>Jeremy Kerr</name>
</author>
<published>2006-07-12T05:35:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7f67bdf2c9f24509b8e81e0f35573b611987c80'/>
<id>urn:sha1:a7f67bdf2c9f24509b8e81e0f35573b611987c80</id>
<content type='text'>
Now that get_property() returns a void *, there's no need to cast its
return value. Also, treat the return value as const, so we can
constify get_property later.

powerpc core changes.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Add new interrupt mapping core and change platforms to use it</title>
<updated>2006-07-03T11:36:01Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2006-07-03T11:36:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0ebfff1491ef85d41ddf9c633834838be144f69f'/>
<id>urn:sha1:0ebfff1491ef85d41ddf9c633834838be144f69f</id>
<content type='text'>
This adds the new irq remapper core and removes the old one.  Because
there are some fundamental conflicts with the old code, like the value
of NO_IRQ which I'm now setting to 0 (as per discussions with Linus),
etc..., this commit also changes the relevant platform and driver code
over to use the new remapper (so as not to cause difficulties later
in bisecting).

This patch removes the old pre-parsing of the open firmware interrupt
tree along with all the bogus assumptions it made to try to renumber
interrupts according to the platform. This is all to be handled by the
new code now.

For the pSeries XICS interrupt controller, a single remapper host is
created for the whole machine regardless of how many interrupt
presentation and source controllers are found, and it's set to match
any device node that isn't a 8259.  That works fine on pSeries and
avoids having to deal with some of the complexities of split source
controllers vs. presentation controllers in the pSeries device trees.

The powerpc i8259 PIC driver now always requests the legacy interrupt
range. It also has the feature of being able to match any device node
(including NULL) if passed no device node as an input. That will help
porting over platforms with broken device-trees like Pegasos who don't
have a proper interrupt tree.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] node local IOMMU tables</title>
<updated>2006-06-15T09:31:26Z</updated>
<author>
<name>Anton Blanchard</name>
</author>
<published>2006-06-10T10:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca1588e71b70534e18368a46a3aad9b25dff941d'/>
<id>urn:sha1:ca1588e71b70534e18368a46a3aad9b25dff941d</id>
<content type='text'>
Allocate IOMMU tables local to the relevant node.

Signed-off-by: Anton Blanchard &lt;anton@samba.org&gt;
Acked-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] powerpc: node-aware dma allocations</title>
<updated>2006-06-09T11:24:01Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2006-06-06T14:11:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8eb6c6e3b9c8bfed3d75536ab142d7694627c2e5'/>
<id>urn:sha1:8eb6c6e3b9c8bfed3d75536ab142d7694627c2e5</id>
<content type='text'>
Make sure dma_alloc_coherent allocates memory from the local node.  This
is important on Cell where we avoid going through the slow cpu
interconnect.

Note:  I could only test this patch on Cell, it should be verified on
some pseries machine by those that have the hardware.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] powerpc: the iSeries vio lan driver changed device type</title>
<updated>2006-05-19T05:02:24Z</updated>
<author>
<name>Stephen Rothwell</name>
</author>
<published>2006-05-18T07:21:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1dc461f0b03fab309eb9214df1c9b586aeaf3b22'/>
<id>urn:sha1:1dc461f0b03fab309eb9214df1c9b586aeaf3b22</id>
<content type='text'>
So the IOMMU table building code needs to match.

Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] powerpc: pseries: Use generic dma-window parsing function</title>
<updated>2006-05-19T05:02:23Z</updated>
<author>
<name>Jeremy Kerr</name>
</author>
<published>2006-05-18T08:06:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c76e0bcdeac27b45d55955f073a97ff8452a42f'/>
<id>urn:sha1:4c76e0bcdeac27b45d55955f073a97ff8452a42f</id>
<content type='text'>
Change the pseries iommu init code to use the new of_parse_dma_window()
to parse the ibm,dma-window and ibm,my-dma-window properties of pci and
virtual device nodes.

Also, clean up vio_build_iommu_table() a little.

Tested on pseries, with both vio and pci devices.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
Acked-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] powerpc: merge the rest of the vio code</title>
<updated>2006-04-29T08:02:02Z</updated>
<author>
<name>Stephen Rothwell</name>
</author>
<published>2006-04-27T07:23:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7f0e8cb5654a50986c6097b3c0cca972e406899'/>
<id>urn:sha1:c7f0e8cb5654a50986c6097b3c0cca972e406899</id>
<content type='text'>
Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
</feed>
