ARM: 8864/1: Add workaround for I-Cache line size mismatch between CPU cores
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 28 May 2019 08:38:14 +0000 (09:38 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 20 Jun 2019 21:29:58 +0000 (22:29 +0100)
commit5f41f9198f296091c6a58bc2e86af1e9f019b2a3
treef309f6b56520b0b974c46cff4de32b3d8decc1c1
parent304009a182b9fc6eff74060b415c8240380501cb
ARM: 8864/1: Add workaround for I-Cache line size mismatch between CPU cores

Some big.LITTLE systems have I-Cache line size mismatch between
LITTLE and big cores. This patch adds a workaround for proper I-Cache
support on such systems. Without it, some class of the userspace code
(typically self-modifying) might suffer from random SIGILL failures.

Similar workaround already exists for ARM64 architecture. I has been
added by commit 116c81f427ff ("arm64: Work around systems with mismatched
cache line sizes").

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/configs/exynos_defconfig
arch/arm/include/asm/cacheflush.h
arch/arm/kernel/smp.c
arch/arm/mm/Kconfig
arch/arm/mm/cache-v7.S
arch/arm/mm/init.c
arch/arm/mm/mm.h