OSDN Git Service

target/arm: kvm: Handle DABT with no valid ISS
authorBeata Michalska <beata.michalska@linaro.org>
Fri, 3 Jul 2020 15:59:42 +0000 (16:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Jul 2020 15:59:42 +0000 (16:59 +0100)
commit694bcaa81f41b7fc5e07273debe1dc309b3dcf03
treec7310b7c7edb24cd86823e34dc229611d0e4b2d5
parent1b6f99d84f21473cf2d1adab312dd28dd315a083
target/arm: kvm: Handle DABT with no valid ISS

On ARMv7 & ARMv8 some load/store instructions might trigger a data abort
exception with no valid ISS info to be decoded. The lack of decode info
makes it at least tricky to emulate those instruction which is one of the
(many) reasons why KVM will not even try to do so.

Add support for handling those by requesting KVM to inject external
dabt into the quest.

Signed-off-by: Beata Michalska <beata.michalska@linaro.org>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-id: 20200629114110.30723-2-beata.michalska@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/kvm.c