]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: 7532/1: decompressor: reset SCTLR.TRE for VMSA ARMv7 cores
authorMatthew Leach <matthew.leach@arm.com>
Tue, 11 Sep 2012 16:56:57 +0000 (17:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:24 +0000 (10:39 -0700)
commitcfa259e003d1d7a3ecca5b30b7d1361838c7dbe3
tree24a27d4dd25663223146ce6a42ff19bc494dd432
parentdd2b53aed0496eca6f309ed39502a0dddf1a05ef
ARM: 7532/1: decompressor: reset SCTLR.TRE for VMSA ARMv7 cores

commit e1e5b7e4251c7538ca08c2c5545b0c2fbd8a6635 upstream.

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>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/compressed/head.S