summaryrefslogtreecommitdiffstats
path: root/Documentation/arm/CCN.txt
diff options
context:
space:
mode:
authorMark Rutland2017-01-27 17:15:38 +0100
committerWill Deacon2017-01-27 18:13:14 +0100
commit49f6cba617fef4bc097a291e0dfd028cc7073c52 (patch)
treed45460e73e98a004d0bb9ddb3cadfabaa8f9d624 /Documentation/arm/CCN.txt
parentarm64: Use __tlbi() macros in KVM code (diff)
downloadkernel-qcow2-linux-49f6cba617fef4bc097a291e0dfd028cc7073c52.tar.gz
kernel-qcow2-linux-49f6cba617fef4bc097a291e0dfd028cc7073c52.tar.xz
kernel-qcow2-linux-49f6cba617fef4bc097a291e0dfd028cc7073c52.zip
arm64: handle sys and undef traps consistently
If an EL0 instruction in the SYS class triggers an exception, do_sysintr looks for a sys64_hook matching the instruction, and if none is found, injects a SIGILL. This mirrors what we do for undefined instruction encodings in do_undefinstr, where we look for an undef_hook matching the instruction, and if none is found, inject a SIGILL. Over time, new SYS instruction encodings may be allocated. Prior to allocation, exceptions resulting from these would be handled by do_undefinstr, whereas after allocation these may be handled by do_sysintr. To ensure that we have consistent behaviour if and when this happens, it would be beneficial to have do_sysinstr fall back to do_undefinstr. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Reviewed-by: Suzuki Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'Documentation/arm/CCN.txt')
0 files changed, 0 insertions, 0 deletions