]> git.baikalelectronics.ru Git - kernel.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)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 23 Apr 2019 16:28:37 +0000 (17:28 +0100)
commitbf783656f077592c591ae6b45934780b7a7de6d0
tree366d4c17a8d55bf9c4830fd67630c4f7b9dc7016
parentd2837d1d97fd0f3b2dd51a3cd27cd463f9999a9f
ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled

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: d16f0bb21d82a5d7eb73265ab9026b5f29d4f01c ("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>
arch/arm/kernel/head-nommu.S