Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ARM: 7532/1: decompressor: reset SCTLR.TRE for VMSA ARMv7 cores

This patch zeroes the SCTLR.TRE bit prior to setting the mapping as
cacheable for ARMv7 cores in the decompressor, ensuring that the
memory region attributes are obtained from the C and B bits, not from
the page tables.

Cc: Nicolas Pitre <nico@fluxnic.net>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Matthew Leach <matthew.leach@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Matthew Leach and committed by
Russell King
e1e5b7e4 3f0c3c8f

+1
+1
arch/arm/boot/compressed/head.S
··· 653 653 mcrne p15, 0, r0, c8, c7, 0 @ flush I,D TLBs 654 654 #endif 655 655 mrc p15, 0, r0, c1, c0, 0 @ read control reg 656 + bic r0, r0, #1 << 28 @ clear SCTLR.TRE 656 657 orr r0, r0, #0x5000 @ I-cache enable, RR cache replacement 657 658 orr r0, r0, #0x003c @ write buffer 658 659 #ifdef CONFIG_MMU