From: Russell King Date: Sun, 16 Mar 2014 17:38:08 +0000 (+0000) Subject: ARM: l2c: provide generic hook to intercept writes to secure registers X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~13^2~1^3~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8abd259f657d5742f96ffd46ed65feb11c44b1fb;p=pandora-kernel.git 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 --- Reading git-diff-tree failed