commit | e946a8cbe4a47a7c2615ffb0d45712e72c7d0f3a | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Fri May 15 11:51:51 2015 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Fri May 15 20:30:12 2015 +0100 |
tree | 22d4cf07324179939951ed6c08fb8e7118a87962 | |
parent | 50beefde30224888d6d63224405ace4bdd4b32a0 [diff] |
ARM: l2c: only unlock caches if NS_LOCKDOWN bit is set Some L2C caches have a bit which allows non-secure software to control the cache lockdown. Some platforms are unable to set this bit. To avoid receiving an abort while trying to unlock the cache lines, check the state of this bit before unlocking. We do this by providing a new method in the l2c_init_data to perform the unlocking. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>