arm64: Handle trapped DC CVADP
authorAndrew Murray <andrew.murray@arm.com>
Tue, 9 Apr 2019 09:52:42 +0000 (10:52 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 16 Apr 2019 15:27:36 +0000 (16:27 +0100)
commitd16ed4105f5bbd8a34f15053045a6657f4c52c6f
treef1dc8f77d945d60531642802f4def8e5ee303d3b
parentaec0bff757c937489d003ab7b36c52e77e4b096a
arm64: Handle trapped DC CVADP

The ARMv8.5 DC CVADP instruction may be trapped to EL1 via
SCTLR_EL1.UCI therefore let's provide a handler for it.

Just like the CVAP instruction we use a 'sys' instruction instead of
the 'dc' alias to avoid build issues with older toolchains.

Signed-off-by: Andrew Murray <andrew.murray@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/esr.h
arch/arm64/kernel/traps.c