PREP sym53c8xx sym53c8xx brokeness due to 2.6.9-rc1-bk1 introduced residual data patch ...
Sven Luther
sven.luther at wanadoo.fr
Fri Apr 1 04:45:49 EST 2005
On Thu, Mar 31, 2005 at 07:28:13AM -0700, Tom Rini wrote:
> 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.
I got through all the changesets one by one, and it is most definitively this
one. i unapply it and it works, i apply it and it breaks.
/me went through a couple hours of binary diff in this way monday evening :/
> 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.
Nope, it is most definitively the patch above which causes the problem.
I believe the new irq setting method is borked somehow.
Friendly,
Sven Luther
More information about the Linuxppc-dev
mailing list