]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
authorTigran Tadevosyan <tigran.tadevosyan@arm.com>
Fri, 5 Apr 2019 13:16:13 +0000 (14:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 17:40:25 +0000 (19:40 +0200)
commit4c6df58231f8dde91bcd9fe712c4314d6eec06e1
treea09f056d9eba1723f55da8fe3e7c41a1b5369bf7
parentdc41fe5d6fb56a13732fda728651b19045911dd7
ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled

[ Upstream commit c3143967807adb1357c36b68a7563fc0c4e1f615 ]

When CONFIG_ARM_MPU is not defined, the base address of v7M SCB register
is not initialized with correct value. This prevents enabling I/D caches
when the L1 cache poilcy is applied in kernel.

Fixes: 3c24121039c9da14692eb48f6e39565b28c0f3cf ("ARM: 8756/1: NOMMU: Postpone MPU activation till __after_proc_init")
Signed-off-by: Tigran Tadevosyan <tigran.tadevosyan@arm.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/kernel/head-nommu.S