[PATCH] powerpc: Fix bogus cache flushing on all 40x and BookE processors

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Dec 2 20:20:41 EST 2008


On Tue, 2008-12-02 at 01:36 -0600, Kumar Gala wrote:

> > #define CPU_FTRS_E200	(CPU_FTR_USE_TB | CPU_FTR_SPE_COMP | \
> > 	    CPU_FTR_NODSISRALIGN | CPU_FTR_COHERENT_ICACHE | \
> > -	    CPU_FTR_UNIFIED_ID_CACHE)
> > +	    CPU_FTR_UNIFIED_ID_CACHE | CPU_FTR_NOEXECUTE)
> > #define CPU_FTRS_E500	(CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_USE_TB | \
> > -	    CPU_FTR_SPE_COMP | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_NODSISRALIGN)
> > +	    CPU_FTR_SPE_COMP | CPU_FTR_MAYBE_CAN_NAP |  
> > CPU_FTR_NODSISRALIGN \
> 
> Added a '|' at the end of the line before the escape

Right. Will send a new patch tomorrow. Appart from that, have you
verified it doesn't have any adverse effects for you ? I did some quick
tests on 440 and things seem to be fine.

Cheers,
Ben.





More information about the Linuxppc-dev mailing list