Too many spurious interrupts on mpc82xx with linux-2.4.35.5

Matvejchikov Ilya matvejchikov at gmail.com
Thu Nov 1 06:49:45 EST 2007


I'm glad to hear it! :)

2007/10/31, Theo Gjaltema <gjalt007 at chello.nl>:
> Matvejchikov,
>
> I've tried this on 2.4.25 kernel from the denx eldk3.1.1 distribution
> and it works here fine as well.
> Thanks,
>   Theo.
>
> Matvejchikov Ilya schreef:
> > Hi all!
> >
> > If you still have this problem, try this patch. It helps :)
> >
> > Signed-off-by : Matvejchikov Ilya <matvejchikov at gmail.com>
> > ---
> > diff -purN linux-2.4.34.5-vanilla/arch/ppc/kernel/cpm2_pic.c
> > linux-2.4.34.5/arch/ppc/kernel/cpm2_pic.c
> > --- linux-2.4.34.5-vanilla/arch/ppc/kernel/cpm2_pic.c 2007-06-06
> > 23:20:53.000000000 +0400
> > +++ linux-2.4.34.5/arch/ppc/kernel/cpm2_pic.c 2007-06-28
> > 12:17:42.000000000 +0400
> > @@ -79,6 +79,12 @@ static void cpm2_mask_and_ack(unsigned i
> >       ppc_cached_irq_mask[word] &= ~(1 << (31 - bit));
> >       simr[word] = ppc_cached_irq_mask[word];
> >       sipnr[word] = 1 << (31 - bit);
> > +
> > +     /*
> > +      * Work around large numbers of spurious IRQs on PowerPC 82xx
> > +      * systems.
> > +      */
> > +     mb();
> >  }
> >
> >  static void cpm2_end_irq(unsigned int irq_nr)
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded at ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >
> >
>
>


More information about the Linuxppc-embedded mailing list