]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8164/1: mm: clear SCTLR.HA instead of setting it for LPAE
authorWill Deacon <will.deacon@arm.com>
Thu, 25 Sep 2014 10:39:19 +0000 (11:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 25 Sep 2014 14:32:57 +0000 (15:32 +0100)
commitaa1fbb0fbe3c055a6fafc09496fa717f3f1321c2
tree49e7743423d609cea33343f89f384571827f1596
parent2876f1a5bd3f4e26c45fe4ef155631cfe5f68405
ARM: 8164/1: mm: clear SCTLR.HA instead of setting it for LPAE

SCTLR.HA (hardware access flag) is deprecated and not actually
implemented by any CPUs. Furthermore, it can confuse cr_alignment checks
where the whole value of SCTLR is compared against the value sitting in
the hardware, since the bit is actually RAZ/WI and will not match the
saved cr_alignment value.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/proc-v7-3level.S