ARM: 8606/1: V7M: introduce cache operations
authorVladimir Murzin <vladimir.murzin@arm.com>
Tue, 30 Aug 2016 16:30:02 +0000 (17:30 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 6 Sep 2016 14:51:07 +0000 (15:51 +0100)
commit9a1af5f2206bd303ed201c6895c42ac3ac120a20
treef59e498b9d06d08ca811697b28d2034d0bd65ce7
parentb2bf482a5099264fb75936b5b552cdf3c247c93a
ARM: 8606/1: V7M: introduce cache operations

This commit implements the cache operation for V7M.

It is based on V7 counterpart and differs as follows:
- cache operations are memory mapped
- only Thumb instruction set is supported
- we don't handle user access faults

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Tested-by: Andras Szemzo <sza@esh.hu>
Tested-by: Joachim Eastwood <manabian@gmail.com>
Tested-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-v7m.S [new file with mode: 0644]
arch/arm/mm/proc-macros.S