linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Matvejchikov Ilya" <matvejchikov@gmail.com>
To: "Theo Gjaltema" <gjalt007@chello.nl>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Too many spurious interrupts on mpc82xx with linux-2.4.35.5
Date: Wed, 31 Oct 2007 22:49:45 +0300	[thread overview]
Message-ID: <8496f91a0710311249p5841d66elc6ae5183df9b043f@mail.gmail.com> (raw)
In-Reply-To: <4728C35B.7000709@chello.nl>

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
> >
> >
>
>

      parent reply	other threads:[~2007-10-31 19:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8496f91a0710311249p5841d66elc6ae5183df9b043f@mail.gmail.com \
    --to=matvejchikov@gmail.com \
    --cc=gjalt007@chello.nl \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).