kernel-ark/arch/sh
Paul Mundt 8263a67e16 sh: Support for extended ASIDs on PTEAEX-capable SH-X3 cores.
This adds support for extended ASIDs (up to 16-bits) on newer SH-X3 cores
that implement the PTAEX register and respective functionality. Presently
only the 65nm SH7786 (90nm only supports legacy 8-bit ASIDs).

The main change is in how the PTE is written out when loading the entry
in to the TLB, as well as in how the TLB entry is selectively flushed.

While SH-X2 extended mode splits out the memory-mapped U and I-TLB data
arrays for extra bits, extended ASID mode splits out the address arrays.
While we don't use the memory-mapped data array access, the address
array accesses are necessary for selective TLB flushes, so these are
implemented newly and replace the generic SH-4 implementation.

With this, TLB flushes in switch_mm() are almost non-existent on newer
parts.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-03-17 17:49:49 +09:00
..
boards sh: sh7763rdp: Change IRQ number for sh_eth of sh7763rdp 2009-03-17 15:20:59 +09:00
boot sh: Support fixed 32-bit PMB mappings from bootloader. 2009-03-10 15:49:54 +09:00
cchips sh: Switch HD64461 from hw_interrupt_type to irq_chip 2008-12-22 18:43:50 +09:00
configs sh: espt-giga board support 2009-03-17 15:18:52 +09:00
drivers sh: dma: Make G2 DMA configurable. 2009-03-17 12:47:56 +09:00
include sh: Support for extended ASIDs on PTEAEX-capable SH-X3 cores. 2009-03-17 17:49:49 +09:00
kernel sh: Support for extended ASIDs on PTEAEX-capable SH-X3 cores. 2009-03-17 17:49:49 +09:00
lib sh: Handle calling csum_partial with misaligned data 2009-01-29 11:56:02 +09:00
lib64 sh: Provide sdivsi3/udivsi3/udivdi3 for sh64, kill off libgcc linking. 2008-12-22 18:44:05 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Support for extended ASIDs on PTEAEX-capable SH-X3 cores. 2009-03-17 17:49:49 +09:00
oprofile sh: Add support for SH7786 CPU subtype. 2009-03-03 15:40:25 +09:00
tools sh: espt-giga board support 2009-03-17 15:18:52 +09:00
Kconfig sh: Support for extended ASIDs on PTEAEX-capable SH-X3 cores. 2009-03-17 17:49:49 +09:00
Kconfig.cpu sh: Support for extended ASIDs on PTEAEX-capable SH-X3 cores. 2009-03-17 17:49:49 +09:00
Kconfig.debug sh: Conditionalize the code dumper on CONFIG_DUMP_CODE. 2008-12-22 18:44:47 +09:00
Makefile sh: Generate uImage by default on Urquell board. 2009-03-10 17:00:48 +09:00