aboutsummaryrefslogtreecommitdiffstats
path: root/arch/metag/include/asm/metag_mem.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-07-15metag: Fix typosAndrea Gelmini1-1/+1
Fix typos in metag architecture. [james.hogan@imgtec.com: squashed patches and fixed "detailed"] Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net> Signed-off-by: James Hogan <james.hogan@imgtec.com>
2013-03-15metag: smp: copy cache partition and enable GCOnJames Hogan1-0/+3
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>
2013-03-02metag: Header for core memory mapped registersJames Hogan1-0/+1106
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>