diff options
author | Vladimir Murzin <vladimir.murzin@arm.com> | 2016-11-02 11:55:34 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-11-14 10:32:54 +0000 |
commit | 2988509dd8a0e9c2b64192a46ec2fe8211af6d3c (patch) | |
tree | 10d3d4a9c17e13cf4603949bd768ea5a4ae2f0c1 /arch/arm/kvm/arm.c | |
parent | e29bd6f26703088930a5b3595623cf155ddea600 (diff) | |
download | linux-2988509dd8a0e9c2b64192a46ec2fe8211af6d3c.tar.gz linux-2988509dd8a0e9c2b64192a46ec2fe8211af6d3c.tar.xz |
ARM: KVM: Support vGICv3 ITS
This patch allows to build and use vGICv3 ITS in 32-bit mode.
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm/arm.c')
-rw-r--r-- | arch/arm/kvm/arm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index 19b5f5c1c0ff..8f92efa8460e 100644 --- a/arch/arm/kvm/arm.c +++ b/arch/arm/kvm/arm.c @@ -221,6 +221,12 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext) case KVM_CAP_MAX_VCPUS: r = KVM_MAX_VCPUS; break; + case KVM_CAP_MSI_DEVID: + if (!kvm) + r = -EINVAL; + else + r = kvm->arch.vgic.msis_require_devid; + break; default: r = kvm_arch_dev_ioctl_check_extension(kvm, ext); break; |