<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/platforms/maple, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-01-17T03:58:57Z</updated>
<entry>
<title>[POWERPC] Use &lt;linux/of_{platform, device}.h&gt; and not &lt;asm/...&gt; variants.</title>
<updated>2008-01-17T03:58:57Z</updated>
<author>
<name>Jon Loeliger</name>
</author>
<published>2008-01-07T18:07:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0173d422aa32fa1e5141f1759202b955215c1da2'/>
<id>urn:sha1:0173d422aa32fa1e5141f1759202b955215c1da2</id>
<content type='text'>
Signed-off-by: Jon Loeliger &lt;jdl@freescale.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Make non-PCI build work again</title>
<updated>2007-12-21T11:14:08Z</updated>
<author>
<name>Stephen Rothwell</name>
</author>
<published>2007-12-21T04:37:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=373a6da165ac3012a74fd072da340eabca55d031'/>
<id>urn:sha1:373a6da165ac3012a74fd072da340eabca55d031</id>
<content type='text'>
Maple and pasemi both require PCI as does CONFIG_OF_PLATFORM_PCI.
The default setting of CONFIG_ISA_DMA_API is set to match the protection
around the relevant routines in asm/dma.h.

I also had to remove the PMAC platform from the combined build.  The
precis is that to build a 64 bit kernel with no PCI, you can only include
pSeries and iSeries.

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>[POWERPC] pci_controller-&gt;arch_data really is a struct device_node *</title>
<updated>2007-12-11T02:42:37Z</updated>
<author>
<name>Stephen Rothwell</name>
</author>
<published>2007-12-10T03:33:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=44ef339073f67d4abcc62ae52a5fbc069d7a4d29'/>
<id>urn:sha1:44ef339073f67d4abcc62ae52a5fbc069d7a4d29</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>
<entry>
<title>remove asm/bitops.h includes</title>
<updated>2007-10-19T18:53:41Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2007-10-19T06:40:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1977f032722c27ee3730284582fd3991ad9ac81b'/>
<id>urn:sha1:1977f032722c27ee3730284582fd3991ad9ac81b</id>
<content type='text'>
remove asm/bitops.h includes

including asm/bitops directly may cause compile errors. don't include it
and include linux/bitops instead. next patch will deny including asm header
directly.

Cc: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] maple pci_ops: Use named structure member initializers</title>
<updated>2007-08-17T01:01:53Z</updated>
<author>
<name>Nathan Lynch</name>
</author>
<published>2007-08-09T19:18:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e67d40762215bcd7c9b81e828ef6de453a09bc4'/>
<id>urn:sha1:2e67d40762215bcd7c9b81e828ef6de453a09bc4</id>
<content type='text'>
Signed-off-by: Nathan Lynch &lt;ntl@pobox.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Remove gratuitous reads from maple PCI config space methods</title>
<updated>2007-08-17T01:01:53Z</updated>
<author>
<name>Nathan Lynch</name>
</author>
<published>2007-08-09T00:50:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1bdb2867e5f0bca7c94f7df92f23fdd20524a488'/>
<id>urn:sha1:1bdb2867e5f0bca7c94f7df92f23fdd20524a488</id>
<content type='text'>
The maple PCI configuration space write methods read the written
location immediately after the write is performed, presumably in order
to flush the write.  However, configuration space writes are not
allowed to be posted, making these reads gratuitous.  Furthermore,
this behavior potentially causes us to violate the PCI PM spec when
changing between e.g. D0 and D3 states, because a delay of up to 10ms
may be required before the OS accesses configuration space after the
write which initiates the transition.  It definitely causes a system
hang for me with a Broadcom 5721 PCIE network adapter, which is fixed
by this change.

Therefore this removes the gratuitous reads from u3_agp_write_config,
u3_ht_write_config, and u4_pcie_write_config.

Signed-off-by: Nathan Lynch &lt;ntl@pobox.com&gt;
Acked-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Fix Maple platform ISA bus</title>
<updated>2007-07-26T06:17:49Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2007-07-26T04:07:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17cd87c26bd86546ea3217397ef3428581970058'/>
<id>urn:sha1:17cd87c26bd86546ea3217397ef3428581970058</id>
<content type='text'>
The Maple platform has ISA IOs but didn't call the new functions to
actually map those, thus crashing when trying to access the nvram.

This fixes Maple and JS2x using SLOF.

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] rename add_bridge to avoid namespace clashes</title>
<updated>2007-06-29T06:56:23Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2007-06-17T23:06:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=09b55f76c9e41ed88f445f64f00ed39b48ed137d'/>
<id>urn:sha1:09b55f76c9e41ed88f445f64f00ed39b48ed137d</id>
<content type='text'>
Many platforms currently define their own add_bridge function, some
of them globally. This breaks some multiplatform configurations.
Prefixing each of these functions with the platform name avoids
this problem.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Rewrite IO allocation &amp; mapping on powerpc64</title>
<updated>2007-06-14T12:29:56Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2007-06-04T05:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d5134ee8341bffc4f539049abb9e90d469b448d'/>
<id>urn:sha1:3d5134ee8341bffc4f539049abb9e90d469b448d</id>
<content type='text'>
This rewrites pretty much from scratch the handling of MMIO and PIO
space allocations on powerpc64.  The main goals are:

 - Get rid of imalloc and use more common code where possible
 - Simplify the current mess so that PIO space is allocated and
   mapped in a single place for PCI bridges
 - Handle allocation constraints of PIO for all bridges including
   hot plugged ones within the 2GB space reserved for IO ports,
   so that devices on hotplugged busses will now work with drivers
   that assume IO ports fit in an int.
 - Cleanup and separate tracking of the ISA space in the reserved
   low 64K of IO space. No ISA -&gt; Nothing mapped there.

I booted a cell blade with IDE on PIO and MMIO and a dual G5 so
far, that's it :-)

With this patch, all allocations are done using the code in
mm/vmalloc.c, though we use the low level __get_vm_area with
explicit start/stop constraints in order to manage separate
areas for vmalloc/vmap, ioremap, and PCI IOs.

This greatly simplifies a lot of things, as you can see in the
diffstat of that patch :-)

A new pair of functions pcibios_map/unmap_io_space() now replace
all of the previous code that used to manipulate PCI IOs space.
The allocation is done at mapping time, which is now called from
scan_phb's, just before the devices are probed (instead of after,
which is by itself a bug fix). The only other caller is the PCI
hotplug code for hot adding PCI-PCI bridges (slots).

imalloc is gone, as is the "sub-allocation" thing, but I do beleive
that hotplug should still work in the sense that the space allocation
is always done by the PHB, but if you unmap a child bus of this PHB
(which seems to be possible), then the code should properly tear
down all the HPTE mappings for that area of the PHB allocated IO space.

I now always reserve the first 64K of IO space for the bridge with
the ISA bus on it. I have moved the code for tracking ISA in a separate
file which should also make it smarter if we ever are capable of
hot unplugging or re-plugging an ISA bridge.

This should have a side effect on platforms like powermac where VGA IOs
will no longer work. This is done on purpose though as they would have
worked semi-randomly before. The idea at this point is to isolate drivers
that might need to access those and fix them by providing a proper
function to obtain an offset to the legacy IOs of a given bus.

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] Rename device_is_compatible to of_device_is_compatible</title>
<updated>2007-05-07T10:31:14Z</updated>
<author>
<name>Stephen Rothwell</name>
</author>
<published>2007-05-03T07:26:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55b61fec22caa3e7872caea6c4100fc75cb8f49b'/>
<id>urn:sha1:55b61fec22caa3e7872caea6c4100fc75cb8f49b</id>
<content type='text'>
for consistency with other Open Firmware interfaces (and Sparc).

This is just a straight replacement.

This leaves the compatibility define in place.

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>
