aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Murray <[email protected]>2019-04-09 10:52:44 +0100
committerWill Deacon <[email protected]>2019-04-16 16:27:58 +0100
commit04a1438e5660ae44ecebd6c870fbcc140dd883a7 (patch)
tree0cf6cd7e0b17429213d655cacc6120c0ca6cdb16
parent671db581815faf17cbedd7fcbc48823a247d90b1 (diff)
arm64: add CVADP support to the cache maintenance helper
Allow users of dcache_by_line_op to specify cvadp as an op. Signed-off-by: Andrew Murray <[email protected]> Reviewed-by: Dave Martin <[email protected]> Signed-off-by: Will Deacon <[email protected]>
-rw-r--r--arch/arm64/include/asm/assembler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h
index 621212196871..039fbd822ec6 100644
--- a/arch/arm64/include/asm/assembler.h
+++ b/arch/arm64/include/asm/assembler.h
@@ -407,10 +407,14 @@ alternative_endif
.ifc \op, cvap
sys 3, c7, c12, 1, \kaddr // dc cvap
.else
+ .ifc \op, cvadp
+ sys 3, c7, c13, 1, \kaddr // dc cvadp
+ .else
dc \op, \kaddr
.endif
.endif
.endif
+ .endif
add \kaddr, \kaddr, \tmp1
cmp \kaddr, \size
b.lo 9998b