ARM: 8604/1: V7M: Add support for reading the CTR with read_cpuid_cachetype()
authorJonathan Austin <jonathan.austin@arm.com>
Tue, 30 Aug 2016 16:27:19 +0000 (17:27 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 6 Sep 2016 14:51:07 +0000 (15:51 +0100)
commitf5a5c89e36d0897b65e4e6bc2f646f75f8074263
treebeaaf4b52d04056a54fea8fc7d9706f2d01f481b
parent296909ee6d9cf98f68a61d5e9774ff5435df2c6a
ARM: 8604/1: V7M: Add support for reading the CTR with read_cpuid_cachetype()

With the addition of caches to the V7M Architecture a new Cache Type
Register (CTR) is defined at 0xE000ED7C. This register serves the same
purpose as the V7A/R version and accessed via the read_cpuid_cachetype.

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
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/include/asm/cachetype.h
arch/arm/include/asm/cputype.h
arch/arm/kernel/setup.c