linux/arch/sh/mm
Phil Edworthy c1537b4863 sh: sh2a: Improve cache flush/invalidate functions
The cache functions lock out interrupts for long periods; this patch
reduces the impact when operating on large address ranges. In such
cases it will:
- Invalidate the entire cache rather than individual addresses.
- Do nothing when flushing the operand cache in write-through mode.
- When flushing the operand cache in write-back mdoe, index the
  search for matching addresses on the cache entires instead of the
  addresses to flush

Note: sh2a__flush_purge_region was only invalidating the operand
cache, this adds flush.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2012-01-12 13:11:02 +09:00
..
Kconfig memblock: Kill early_node_map[] 2011-12-08 10:22:09 -08:00
Makefile sh: Enable CONFIG_GCOV_PROFILE_ALL for sh 2011-02-15 16:47:17 +09:00
alignment.c sh: use printk_ratelimited instead of printk_ratelimit 2011-06-30 15:10:06 +09:00
asids-debugfs.c
cache-debugfs.c sh: fix wrong icache/dcache address-array start addr in cache-debugfs. 2011-06-06 12:30:02 +09:00
cache-sh2.c
cache-sh2a.c sh: sh2a: Improve cache flush/invalidate functions 2012-01-12 13:11:02 +09:00
cache-sh3.c
cache-sh4.c
cache-sh5.c
cache-sh7705.c
cache-shx3.c
cache.c sh: Flush executable pages in copy_user_highpage 2011-02-15 16:24:31 +09:00
consistent.c sh64: Move from P1SEG to CAC_ADDR for consistent sync. 2011-05-31 14:38:29 +09:00
extable_32.c
extable_64.c
fault_32.c perf: Remove the nmi parameter from the swevent and overflow interface 2011-07-01 11:06:35 +02:00
fault_64.c
flush-sh4.c
gup.c
hugetlbpage.c thp: pte alloc trans splitting 2011-01-13 17:32:40 -08:00
init.c memblock: s/memblock_analyze()/memblock_allow_resize()/ and update users 2011-12-08 10:22:08 -08:00
ioremap.c
ioremap_fixed.c
kmap.c
mmap.c
nommu.c
numa.c
pgtable.c
pmb.c sh: pmb: Use struct syscore_ops instead of sysdevs 2011-03-23 19:05:18 +09:00
sram.c
tlb-debugfs.c
tlb-pteaex.c
tlb-sh3.c
tlb-sh4.c
tlb-sh5.c
tlb-urb.c
tlbflush_32.c
tlbflush_64.c perf: Remove the nmi parameter from the swevent and overflow interface 2011-07-01 11:06:35 +02:00
uncached.c