git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8366ba
)
arm64: cmpxchg: patch in lse instructions when supported by the CPU
author
Will Deacon
<will.deacon@arm.com>
Thu, 23 Apr 2015 19:08:49 +0000
(20:08 +0100)
committer
Will Deacon
<will.deacon@arm.com>
Mon, 27 Jul 2015 14:28:51 +0000
(15:28 +0100)
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 cmpxchg primitives so that
the LSE cas instruction is used instead.
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/atomic.h
patch
|
blob
|
history
arch/arm64/include/asm/atomic_ll_sc.h
patch
|
blob
|
history
arch/arm64/include/asm/atomic_lse.h
patch
|
blob
|
history
arch/arm64/include/asm/cmpxchg.h
patch
|
blob
|
history
diff --cc
arch/arm64/include/asm/atomic.h
Simple merge
diff --cc
arch/arm64/include/asm/atomic_ll_sc.h
Simple merge
diff --cc
arch/arm64/include/asm/atomic_lse.h
Simple merge
diff --cc
arch/arm64/include/asm/cmpxchg.h
Simple merge