]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: KVM: export the capability to set guest SError syndrome
authorDongjiu Geng <gengdongjiu@huawei.com>
Thu, 19 Jul 2018 15:24:23 +0000 (16:24 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Sat, 21 Jul 2018 15:02:31 +0000 (16:02 +0100)
commitbe26b3a73413c2ebf14d5e76a66ad964e6458080
tree1873d5e6cfeeff600bd96bab25418c291ac25ecf
parentb7b27facc7b50a5fce0afaa3df56157136ce181a
arm64: KVM: export the capability to set guest SError syndrome

For the arm64 RAS Extension, user space can inject a virtual-SError
with specified ESR. So user space needs to know whether KVM support
to inject such SError, this interface adds this query for this capability.

KVM will check whether system support RAS Extension, if supported, KVM
returns true to user space, otherwise returns false.

Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Reviewed-by: James Morse <james.morse@arm.com>
[expanded documentation wording]
Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Documentation/virtual/kvm/api.txt
arch/arm64/kvm/reset.c
include/uapi/linux/kvm.h