summaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic/vgic-v4.c
diff options
context:
space:
mode:
authorRadim Krčmář <rkrcmar@redhat.com>2018-01-17 14:59:27 +0100
committerRadim Krčmář <rkrcmar@redhat.com>2018-01-17 14:59:27 +0100
commitf44efa5aeaadb0091f90d6888161a0dcb84fa441 (patch)
tree195820159823299b700c202feb61988b65e26096 /virt/kvm/arm/vgic/vgic-v4.c
parenta8750ddca918032d6349adbf9a4b6555e7db20da (diff)
parentacfb3b883f6d6a4b5d27ad7fdded11f6a09ae6dd (diff)
downloadlinux-f44efa5aeaadb0091f90d6888161a0dcb84fa441.tar.bz2
Merge tag 'kvm-arm-fixes-for-v4.15-3-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm
KVM/ARM Fixes for v4.15, Round 3 (v2) Three more fixes for v4.15 fixing incorrect huge page mappings on systems using the contigious hint for hugetlbfs; supporting an alternative GICv4 init sequence; and correctly implementing the ARM SMCC for HVC and SMC handling.
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-v4.c')
-rw-r--r--virt/kvm/arm/vgic/vgic-v4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/arm/vgic/vgic-v4.c b/virt/kvm/arm/vgic/vgic-v4.c
index 4a37292855bc..bc4265154bac 100644
--- a/virt/kvm/arm/vgic/vgic-v4.c
+++ b/virt/kvm/arm/vgic/vgic-v4.c
@@ -118,7 +118,7 @@ int vgic_v4_init(struct kvm *kvm)
struct kvm_vcpu *vcpu;
int i, nr_vcpus, ret;
- if (!vgic_supports_direct_msis(kvm))
+ if (!kvm_vgic_global_state.has_gicv4)
return 0; /* Nothing to see here... move along. */
if (dist->its_vm.vpes)