]> 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)
commit9ce4ea26d4a8e6150e4a6b9a94d09e7d394f9767
tree49e7743423d609cea33343f89f384571827f1596
parentf20316483358c0217989f0af33f9bc10a0a00944
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