Re: [PATCH] powerpc: Add workaround for MPICs with broken register reads

2007-09-07 Thread Olof Johansson
On Thu, Sep 06, 2007 at 09:55:21AM -0500, Milton Miller wrote: > On Wed Sep 5 12:44:17 EST 2007, Olof Johansson wrote: >> diff --git a/arch/powerpc/platforms/Kconfig >> b/arch/powerpc/platforms/Kconfig >> index 041df77..b9f1efa 100644 >> --- a/arch/powerpc/platforms/Kconfig >> +++ b/arch/powerpc/p

Re: [PATCH] powerpc: Add workaround for MPICs with broken register reads

2007-09-06 Thread Milton Miller
On Wed Sep 5 12:44:17 EST 2007, Olof Johansson wrote: > diff --git a/arch/powerpc/platforms/Kconfig > b/arch/powerpc/platforms/Kconfig > index 041df77..b9f1efa 100644 > --- a/arch/powerpc/platforms/Kconfig > +++ b/arch/powerpc/platforms/Kconfig > @@ -137,6 +137,10 @@ config MPIC_U3_HT_IRQS >

[PATCH] powerpc: Add workaround for MPICs with broken register reads

2007-09-04 Thread Olof Johansson
Some versions of PWRficient 1682M have an interrupt controller in which the first register in each pair for interrupt sources doesn't always read with the right polarity/sense values. To work around this, keep a software copy of the register instead. Since it's not modified from the mpic itsel