]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite72c1e69fcc9b014d4714ed58026047c4c25afbb
treef1dc8f77d945d60531642802f4def8e5ee303d3b
parente7e45a0d65263eb4b8159505e0ae768a18ee2e5f
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