]> git.baikalelectronics.ru Git - kernel.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)
commitfd6204bbf85052937c4b6afc1c317c30924b3e81
tree1873d5e6cfeeff600bd96bab25418c291ac25ecf
parent8b2e9351f7fef3de31237614316ea72f94c1d4f9
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