alistair23-linux/arch/sh
Matt Fleming a781d1e5ff sh: Drop associative writes for SH-4 cache flushes.
When flushing/invalidating the icache/dcache via the memory-mapped IC/OC
address arrays, the associative bit should only be used in conjunction with
virtual addresses. However, we currently flush cache lines based on physical
address, so stop using the associative bit.

It is a better strategy to use non-associative writes (and physical tags) for
flushing the caches anyway, because flushing by virtual address (as with the
A-bit set) requires a valid TLB entry for that virtual address. If one does not
exist in the TLB no exception is generated and the flush is silently ignored.

This is also future-proofing for SH-4A parts which are gradually phasing out
associative writes to the cache array due to the aforementioned case of certain
flushes silently turning in to nops.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-12-04 16:18:11 +09:00
..
boards sh: mach-ecovec24: LCDC drive ability become high 2009-12-04 13:42:32 +09:00
boot Merge branch 'sh/stable-updates' 2009-10-26 19:46:59 +09:00
cchips
configs sh: enable onenand support in kfr2r09 defconfig. 2009-09-25 11:55:07 +09:00
drivers sh: dma: Kill off bogus dma_sysclass symbol export. 2009-11-13 12:29:19 +09:00
include sh: mach-ecovec24: Remove un-defined settings for VPU 2009-12-04 13:42:34 +09:00
kernel sh: allow runtime pm without suspend/resume callbacks 2009-12-04 13:42:37 +09:00
lib sh: Optimised memset for SH4 2009-11-24 16:28:43 +09:00
lib64 sh64: Kill off special clear_page() implementation. 2009-08-04 17:17:00 +09:00
math-emu sh: Minor optimisations to FPU handling 2009-11-24 17:45:38 +09:00
mm sh: Drop associative writes for SH-4 cache flushes. 2009-12-04 16:18:11 +09:00
oprofile sh: oprofile: Fix up count size mismatch for common impl. 2009-11-05 17:13:15 +09:00
tools sh: sh7785lcr: fix prototype board on 32bit MMU mode. 2009-08-28 10:19:13 +09:00
Kconfig Merge branch 'sh/stable-updates' 2009-10-27 17:10:24 +09:00
Kconfig.cpu
Kconfig.debug sh: Add initial support for SH7757 CPU subtype 2009-08-21 17:25:47 +09:00
Makefile sh: Add default uImage rule for se7724, ap325rxa, and migor. 2009-12-04 13:57:40 +09:00