Commit 04a1438e authored by Andrew Murray's avatar Andrew Murray Committed by Will Deacon

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: default avatarAndrew Murray <andrew.murray@arm.com>
Reviewed-by: default avatarDave Martin <Dave.Martin@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 671db581
...@@ -407,10 +407,14 @@ alternative_endif ...@@ -407,10 +407,14 @@ alternative_endif
.ifc \op, cvap .ifc \op, cvap
sys 3, c7, c12, 1, \kaddr // dc cvap sys 3, c7, c12, 1, \kaddr // dc cvap
.else .else
.ifc \op, cvadp
sys 3, c7, c13, 1, \kaddr // dc cvadp
.else
dc \op, \kaddr dc \op, \kaddr
.endif .endif
.endif .endif
.endif .endif
.endif
add \kaddr, \kaddr, \tmp1 add \kaddr, \kaddr, \tmp1
cmp \kaddr, \size cmp \kaddr, \size
b.lo 9998b b.lo 9998b
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment