[PATCH] powerpc/booke: Add support for new e500mc core

Kumar Gala galak at kernel.crashing.org
Wed Jun 18 01:34:38 EST 2008


On Jun 17, 2008, at 10:04 AM, Olof Johansson wrote:

> On Jun 17, 2008, at 9:42 AM, Kumar Gala wrote:
>
>>> But: since the cacheline is available in cputable, it can still be  
>>> used at runtime, so as long as the alignments are large enough,  
>>> stuff like the dcbz loops should still be OK (might need an audit  
>>> though to make sure there's nothing missed). With that, you could  
>>> at least still boot an E500MC kernel on E500.
>>
>> Its not as simple as that since there are assumptions about how  
>> many bytes a dcbz will clear.
>
> Ok, ppc64 already gets that info from the cputable, not from compile  
> time options. I guess ppc32 lacks that so far.

Yeah, if you look at the asm/cache.h the defines in there are used all  
over the place for ppc32 (like copy_32.S, misc_32.S)

- k



More information about the Linuxppc-dev mailing list