summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/kvm.h
diff options
context:
space:
mode:
authorDongjiu Geng2018-07-19 17:24:23 +0200
committerMarc Zyngier2018-07-21 17:02:31 +0200
commitbe26b3a73413c2ebf14d5e76a66ad964e6458080 (patch)
tree1873d5e6cfeeff600bd96bab25418c291ac25ecf /include/uapi/linux/kvm.h
parentarm/arm64: KVM: Add KVM_GET/SET_VCPU_EVENTS (diff)
downloadkernel-qcow2-linux-be26b3a73413c2ebf14d5e76a66ad964e6458080.tar.gz
kernel-qcow2-linux-be26b3a73413c2ebf14d5e76a66ad964e6458080.tar.xz
kernel-qcow2-linux-be26b3a73413c2ebf14d5e76a66ad964e6458080.zip
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>
Diffstat (limited to 'include/uapi/linux/kvm.h')
-rw-r--r--include/uapi/linux/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index b6270a3b38e9..a7d9bc4e4068 100644
--- a/include/uapi/linux/kvm.h
+++ b/include/uapi/linux/kvm.h
@@ -949,6 +949,7 @@ struct kvm_ppc_resize_hpt {
#define KVM_CAP_GET_MSR_FEATURES 153
#define KVM_CAP_HYPERV_EVENTFD 154
#define KVM_CAP_HYPERV_TLBFLUSH 155
+#define KVM_CAP_ARM_INJECT_SERROR_ESR 156
#ifdef KVM_CAP_IRQ_ROUTING