[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1420744670.5830.44.camel@kernel.crashing.org>
Date: Thu, 08 Jan 2015 20:17:50 +0100
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Scott Wood <scottwood@...escale.com>
Cc: linuxppc-dev@...ts.ozlabs.org,
Purcareata Bogdan <b43198@...escale.com>,
linux-kernel@...r.kernel.org, Andreas Mohr <andi@...as.de>
Subject: Re: [RFC] PPC: MPIC: necessary readback after EOI?
On Wed, 2015-01-07 at 11:04 -0600, Scott Wood wrote:
> On Wed, 2015-01-07 at 15:44 +0100, Benjamin Herrenschmidt wrote:
> > On Mon, 2015-01-05 at 12:10 -0600, Scott Wood wrote:
> > > It would have been nice if a code comment explained why it was doing the
> > > readback... I don't see any particular need to wait for EOI completion
> > > here (unlike when masking).
> >
> > The EOI is what causes the MPIC to drop it's EE output to the CPU, if the
> > EOI is processed too slowly & asynchronously (posted write + 33Mhz MPIC)
> > we observe cases of spurrious interrupts. We had some macs basically getting
> > a spurrious irq for every MPIC interrupts...
>
> Shouldn't reading INTACK be what causes the MPIC to drop its EE output?
Hrm, looks like I had too much wine or something, you are correct yes,
it's the intack, so my explanation is bogus.
So we are down to possibly delaying the raising back of the CPU priority
which is not a big deal indeed, we could probably get rid of the read
back.
Ben.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists