]> 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 16:47:27 +0000 (09:47 -0700)
commitae9973c90989ac2893398af11b02351d6d623450
tree6c9ac55401e8a3631421ab712c2715075437df62
parentb8751608ef925da4b504643236d6e5b6961db7d9
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