PREP sym53c8xx sym53c8xx brokeness due to 2.6.9-rc1-bk1 introduced residual data patch ...

Tom Rini trini at kernel.crashing.org
Fri Apr 1 00:28:13 EST 2005


On Tue, Mar 29, 2005 at 01:23:55AM +0200, Sven Luther wrote:
> Hello,
> 
> I have been investigating the prep breakage of the sym53c8xx driver on my
> powerstack II in recent kernels, and traced it to the residual data patch,
> or more exactly to the whole prep_pci.c/prep_setup.c patches that where
> introduced between 2.6.9-rc1 and 2.6.9-rc1-bk1. I didn't have time to find
> more details as the patch is not so small, and seems to do many things, and
> linux.bkbits.net seems done right now.
> 
> Mmm, after a bit more of investigation, the changeset breaking it is :
> 
> # This is a BitKeeper generated diff -Nru style patch.
> #
> # ChangeSet
> #   2004/08/16 10:35:18-07:00 trini at kernel.crashing.org
> #   ppc32: On PReP, use residual data for PCI dev -> IRQ, and use it.
> #
> #   Signed-off-by: Leigh Brown <leigh at solinno.co.uk>
> #   Signed-off-by: Tom Rini <trini at kernel.crashing.org>
> #
> # include/asm-ppc/residual.h
> #   2004/08/16 10:35:09-07:00 trini at kernel.crashing.org +7 -0
> #   This adds a function to use the residual data to determine the IRQ
> #   for a given PCI device, and changes prep_pcibios_fixup() to use it.
> #
> # arch/ppc/platforms/residual.c
> #   2004/08/16 10:35:09-07:00 trini at kernel.crashing.org +60 -0
> #   This adds a function to use the residual data to determine the IRQ
> #   for a given PCI device, and changes prep_pcibios_fixup() to use it.
> #
> # arch/ppc/platforms/prep_pci.c
> #   2004/08/16 10:35:09-07:00 trini at kernel.crashing.org +37 -23
> #   This adds a function to use the residual data to determine the IRQ
> #   for a given PCI device, and changes prep_pcibios_fixup() to use it.
> 
> Mmm, i guess this makes sense, since it seems the sym53c8xx doesn'y find its
> irq anymore or something. Tom Rini, or Leigh Brown, do you have any comments
> on this one ? 

Well, we'd need to be certain it's this patch.  If it's this patch, I
think Leigh was suggesting at the time that the fix would be to fixup
the residual data with the correct information.

But what also went in were changes to specific irq maps, based on what
fixed a given machine for someone else, so one of those changes could
also be it.

-- 
Tom Rini
http://gate.crashing.org/~trini/



More information about the Linuxppc-dev mailing list