* Too many spurious interrupts on mpc82xx with linux-2.4.35.5
@ 2007-07-04 5:51 Matvejchikov Ilya
[not found] ` <4728C35B.7000709@chello.nl>
0 siblings, 1 reply; 2+ messages in thread
From: Matvejchikov Ilya @ 2007-07-04 5:51 UTC (permalink / raw)
To: linuxppc-embedded
Hi all!
If you still have this problem, try this patch. It helps :)
Signed-off-by : Matvejchikov Ilya <matvejchikov@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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Too many spurious interrupts on mpc82xx with linux-2.4.35.5
[not found] ` <4728C35B.7000709@chello.nl>
@ 2007-10-31 19:49 ` Matvejchikov Ilya
0 siblings, 0 replies; 2+ messages in thread
From: Matvejchikov Ilya @ 2007-10-31 19:49 UTC (permalink / raw)
To: Theo Gjaltema; +Cc: linuxppc-embedded
I'm glad to hear it! :)
2007/10/31, Theo Gjaltema <gjalt007@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@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@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> >
> >
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-31 19:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04 5:51 Too many spurious interrupts on mpc82xx with linux-2.4.35.5 Matvejchikov Ilya
[not found] ` <4728C35B.7000709@chello.nl>
2007-10-31 19:49 ` Matvejchikov Ilya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).