aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2017-11-23 12:11:34 +0000
committerChristoffer Dall <christoffer.dall@linaro.org>2017-11-29 18:17:47 +0100
commite3feebf81744acd8b581e5eb58a93e8fdcf042a5 (patch)
tree2abf6456d4edf1bf02b8cf1b60ea3095ec87aa1d /virt/kvm
parentkvm: arm64: handle single-step during SError exceptions (diff)
downloadlinux-dev-e3feebf81744acd8b581e5eb58a93e8fdcf042a5.tar.xz
linux-dev-e3feebf81744acd8b581e5eb58a93e8fdcf042a5.zip
kvm: arm64: handle single-step of hyp emulated mmio instructions
There is a fast-path of MMIO emulation inside hyp mode. The handling of single-step is broadly the same as kvm_arm_handle_step_debug() except we just setup ESR/HSR so handle_exit() does the correct thing as we exit. For the case of an emulated illegal access causing an SError we will exit via the ARM_EXCEPTION_EL1_SERROR path in handle_exit(). We behave as we would during a real SError and clear the DBG_SPSR_SS bit for the emulated instruction. Acked-by: Marc Zyngier <marc.zyngier@arm.com> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions