summaryrefslogtreecommitdiff
path: root/arch/metag/include/asm/mmu.h
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2012-10-09 10:54:17 +0100
committerJames Hogan <james.hogan@imgtec.com>2013-03-02 20:09:19 +0000
commit99ef7c2ac1e3b01f532bfdebbe92e9960e95bebc (patch)
treefb34d1df645d7eee43fe2441fd4938b0da7bad6f /arch/metag/include/asm/mmu.h
parent027f891f7640144d4b7b15113f3ae9af2c8b095d (diff)
metag: Cache/TLB handling
Add cache and TLB handling code for metag, including the required callbacks used by MM switches and DMA operations. Caches can be partitioned between the hardware threads and the global space, however this is usually configured by the bootloader so Linux doesn't make any changes to this configuration. TLBs aren't configurable, so only need consideration to flush them. On Meta1 the L1 cache was VIVT which required a full flush on MM switch. Meta2 has a VIPT L1 cache so it doesn't require the full flush on MM switch. Meta2 can also have a writeback L2 with hardware prefetch which requires some special handling. Support is optional, and the L2 can be detected and initialised by Linux. Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag/include/asm/mmu.h')
0 files changed, 0 insertions, 0 deletions