<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/kernel/prom_parse.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-03-07T17:09:33Z</updated>
<entry>
<title>[POWERPC] Fix warning in prom_parse.c of_irq_map_oldworld()</title>
<updated>2007-03-07T17:09:33Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2007-03-07T10:27:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84532c91206bc6748991fb1ae3ba8a1894d339fa'/>
<id>urn:sha1:84532c91206bc6748991fb1ae3ba8a1894d339fa</id>
<content type='text'>
This function spews a warning due to possible use of an uninitialized
variable. This can happen on broken device-trees or when called with
a NULL argument. Makes ure we properly fail instead.

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] add of_get_mac_address and update fsl_soc.c to use it</title>
<updated>2007-02-16T23:21:25Z</updated>
<author>
<name>Timur Tabi</name>
</author>
<published>2007-02-16T18:01:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=29cfe6f4fb7d187f65564764a0ecf2caf9d8ed58'/>
<id>urn:sha1:29cfe6f4fb7d187f65564764a0ecf2caf9d8ed58</id>
<content type='text'>
Add function of_get_mac_address(), which obtains the best MAC address to use
from the device tree by checking various properties in order.  The order is:
'mac-address', then 'local-mac-address', then 'address'.  It skips properties
that contain invalid MAC addresses, which were probably not initialized
by U-Boot.

Update gfar_of_init() and fs_enet_of_init() in fsl_soc.c to call
of_get_mac_address().

Signed-off-by: Timur Tabi &lt;timur@freescale.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Workaround oldworld OF bug with IRQs &amp; P2P bridges</title>
<updated>2006-12-20T05:37:47Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2006-12-14T20:13:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6f67f9d26fe5ced50f716e9620b42c0721d8b8d9'/>
<id>urn:sha1:6f67f9d26fe5ced50f716e9620b42c0721d8b8d9</id>
<content type='text'>
On some oldworld PowerMacs, OF doesn't assign interrupts properly
beyond P2P bridges. Fortunately, the fix is easy as all those machines
just wire all IRQ lines together to one IRQ which is assigned to the
bridge itself. We already have a special function for parsing Apple
OldWorld interrupts which are special, so let's add to it the ability
to walk up the PCI tree to find interrupts.

This fixes irqs on the lower slots of s900 clones among others.

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] Fix OF pci flags parsing</title>
<updated>2006-12-04T09:41:49Z</updated>
<author>
<name>Olof Johansson</name>
</author>
<published>2006-11-28T03:21:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4468f01dc7cfd1998845cd66a0cdb1f3ef9740f0'/>
<id>urn:sha1:4468f01dc7cfd1998845cd66a0cdb1f3ef9740f0</id>
<content type='text'>
For PCI devices with only io ports, of_bus_pci_get_flags() will fall
through and still mark the resource as IORESOURCE_MEM.

Signed-off-by: Olof Johansson &lt;olof@lixom.net&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 up the OF functions to only do PCI stuff if PCI is actually configured</title>
<updated>2006-10-24T05:01:27Z</updated>
<author>
<name>Andy Fleming</name>
</author>
<published>2006-10-16T21:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=83efafb301bc79a32799ca854fb590e82c4396e9'/>
<id>urn:sha1:83efafb301bc79a32799ca854fb590e82c4396e9</id>
<content type='text'>
The original problem that inspired this patch was solved quite some time
ago (Turning off PCI didn't work), but this patch neatens things up a
little (I think), by putting all the PCI stuff inside a single CONFIG_PCI
block.  It also removes the OF PCI bus matching entries if CONFIG_PCI is
off.

Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>Revert "[POWERPC] Don't get PCI IRQ from OF for devices with no IRQ"</title>
<updated>2006-10-08T22:38:22Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2006-10-08T22:38:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e24bb60e11e3fe9858b71874a4ac59333adbc4fc'/>
<id>urn:sha1:e24bb60e11e3fe9858b71874a4ac59333adbc4fc</id>
<content type='text'>
This reverts commit 41550c5128150175197257b6ceab2cd50dea7b51.

Quoth Ben Herrenschmidt:
 "Please revert this one for now.  It seems to break G5s :( Looks like
  PCI cells inside Apple IO ASICs don't have a PCI_INTERRUPT_LINE set.
  I need to figure out a better fix."

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Don't get PCI IRQ from OF for devices with no IRQ</title>
<updated>2006-10-06T11:10:41Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2006-10-05T06:40:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41550c5128150175197257b6ceab2cd50dea7b51'/>
<id>urn:sha1:41550c5128150175197257b6ceab2cd50dea7b51</id>
<content type='text'>
This patch adds checking of the PCI_INTERRUPT_PIN register before
using standard OF parsing to retreive PCI interrupts. The reason is
that some PCI devices may have no PCI interrupt, though they may have
interrupts attached via other means. In this case, we shall not use
irq-&gt;pdev, but device-specific code can later retreive those interrupts
instead.

Without that patch, Maple and derivatives don't get the right interrupt
for the second IDE channel as the linux IDE code fallsback to the PCI
irq instead of trying to use the legacy ones for the on-board controller
(which has no PCI_INTERRUPT_PIN). Having no PCI IRQ assign to it (as it
doesn't request any) fixes it.

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>Merge branch 'merge'</title>
<updated>2006-08-31T05:45:48Z</updated>
<author>
<name>Paul Mackerras</name>
</author>
<published>2006-08-31T05:45:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa43f77939c97bf9d3580c6a5e71a5a40290e451'/>
<id>urn:sha1:aa43f77939c97bf9d3580c6a5e71a5a40290e451</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[POWERPC] Make OF irq map code detect more error cases</title>
<updated>2006-08-30T04:31:03Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2006-08-25T04:46:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=006b64de607f895de2ba1e21d3179cddf059128f'/>
<id>urn:sha1:006b64de607f895de2ba1e21d3179cddf059128f</id>
<content type='text'>
Device-tree bugs on js20 with some versions of SLOF were causing the
interrupt for IDE to not be parsed correctly and fail to boot. This
patch adds a bit more sanity checking to the parser to detect some of
those errors and fail instead of returning bogus information.  The
powerpc PCI code can then trigger a fallback that works on those
machines.

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>Merge branch 'merge'</title>
<updated>2006-08-25T04:56:07Z</updated>
<author>
<name>Paul Mackerras</name>
</author>
<published>2006-08-25T04:56:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea0763a7e62f60f3e166327268a80f16ad806718'/>
<id>urn:sha1:ea0763a7e62f60f3e166327268a80f16ad806718</id>
<content type='text'>
</content>
</entry>
</feed>
