summaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-02-10 03:03:15 +0000
committerWill Deacon <will.deacon@arm.com>2015-07-27 15:28:51 +0100
commit81bb5c6420635dfd058c210bd342c29c95ccd145 (patch)
treeefd296b41a78c1199f9f76f3a9dd02b240023502 /arch/cris
parentc09d6a04d17d730b0463207a26ece082772b59ee (diff)
downloadblackbird-op-linux-81bb5c6420635dfd058c210bd342c29c95ccd145.tar.gz
blackbird-op-linux-81bb5c6420635dfd058c210bd342c29c95ccd145.zip
arm64: locks: patch in lse instructions when supported by the CPU
On CPUs which support the LSE atomic instructions introduced in ARMv8.1, it makes sense to use them in preference to ll/sc sequences. This patch introduces runtime patching of our locking functions so that LSE atomic instructions are used for spinlocks and rwlocks. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud