linux/arch/metag
James Hogan 99ef7c2ac1 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>
2013-03-02 20:09:19 +00:00
..
boot metag: Boot 2013-03-02 20:09:17 +00:00
include/asm metag: Cache/TLB handling 2013-03-02 20:09:19 +00:00
kernel metag: Boot 2013-03-02 20:09:17 +00:00
mm metag: Cache/TLB handling 2013-03-02 20:09:19 +00:00
tbx metag: TBX source 2013-03-02 20:09:18 +00:00