]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: arm: Add 32bit get/set events support
authorJames Morse <james.morse@arm.com>
Thu, 19 Jul 2018 15:24:25 +0000 (16:24 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Sat, 21 Jul 2018 15:02:32 +0000 (16:02 +0100)
commitb0960b9569db6b2fe8a75967d47b9dcdeb44016b
tree465340bda85cfe34f1d816e7e746b1e638e41f90
parent539aee0edb9fdc8f465e3843c261acc88c47d8ee
KVM: arm: Add 32bit get/set events support

arm64's new use of KVMs get_events/set_events API calls isn't just
or RAS, it allows an SError that has been made pending by KVM as
part of its device emulation to be migrated.

Wire this up for 32bit too.

We only need to read/write the HCR_VA bit, and check that no esr has
been provided, as we don't yet support VDFSR.

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Dongjiu Geng <gengdongjiu@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Documentation/virtual/kvm/api.txt
arch/arm/include/asm/kvm_host.h
arch/arm/include/uapi/asm/kvm.h
arch/arm/kvm/guest.c
virt/kvm/arm/arm.c