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
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to