diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-03-16 17:38:08 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-05-30 00:48:39 +0100 |
commit | 8abd259f657d5742f96ffd46ed65feb11c44b1fb (patch) | |
tree | 76bf882d836625f95f150c53382c41401e09f49d /arch/arm/mach-imx/system.c | |
parent | c0fe18ba30a62854490b1ac0f7a02145d84153f5 (diff) |
ARM: l2c: provide generic hook to intercept writes to secure registers
When Linux is running in the non-secure world, any write to a secure
L2C register will generate an abort. Platforms normally have to call
firmware to work around this. Provide a hook for them to intercept
any L2C secure register write.
l2c_write_sec() avoids writes to secure registers which are already set
to the appropriate value, thus avoiding the overhead of needlessly
calling into the secure monitor.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-imx/system.c')
0 files changed, 0 insertions, 0 deletions