History log of /arch/metag/include/asm/metag_mem.h
Revision Date Author Comments
9e7129630329d50b8e8c3403bb71c85a7c3cbe35 07-Mar-2013 James Hogan <james.hogan@imgtec.com> metag: smp: copy cache partition and enable GCOn

When starting an SMP hardware thread, copy the cache partition
configuration so that the threads share the same cache partitions. Also
enable the GCOn bit if running in the local half of the virtual address
space to enable coherency of shared local cache partitions. An atomic
unlock system event is executed by the new cpu before any memory is read
to ensure that any writes made by the boot cpu prior to full coherency
taking effect are visible to the new cpu.

This is to allow SMP to work even when the bootloader hasn't configured
the caches for coherency. A log message is printed to describe the cache
partition changes so that the user is aware of potential unintentional
cache wastage if they've configured the cache partitions in the wrong
way.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
87aa1328f23a6bec15115af4d815e9c378557ef6 05-Dec-2012 James Hogan <james.hogan@imgtec.com> metag: Header for core memory mapped registers

Add the header <asm/metag_mem.h> describing addresses, fields, and bits
of various core memory mapped registers in the low non-MMU region.

Signed-off-by: James Hogan <james.hogan@imgtec.com>