summaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic/vgic-v3.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-08-18 12:19:19 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-08-18 12:19:19 +0200
commit2eeb321fd2e24c0910e96e82509a961d1531fa29 (patch)
tree800cea75783554f02e9b0254707346d54516546e /virt/kvm/arm/vgic/vgic-v3.c
parentc95ba92afb238ac565c68968fc72e38ca8d1b6e8 (diff)
parentf7f6f2d94f0027242ddfd665289b107a873fde43 (diff)
downloadlinux-0-day-2eeb321fd2e24c0910e96e82509a961d1531fa29.tar.gz
linux-0-day-2eeb321fd2e24c0910e96e82509a961d1531fa29.tar.xz
Merge tag 'kvm-arm-for-v4.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
KVM/ARM Fixes for v4.8-rc3 This tag contains the following fixes on top of v4.8-rc1: - ITS init issues - ITS error handling issues - ITS IRQ leakage fix - Plug a couple of ITS race conditions - An erratum workaround for timers - Some removal of misleading use of errors and comments - A fix for GICv3 on 32-bit guests
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-v3.c')
-rw-r--r--virt/kvm/arm/vgic/vgic-v3.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/virt/kvm/arm/vgic/vgic-v3.c b/virt/kvm/arm/vgic/vgic-v3.c
index 0506543df38a7..9f0dae397d9c8 100644
--- a/virt/kvm/arm/vgic/vgic-v3.c
+++ b/virt/kvm/arm/vgic/vgic-v3.c
@@ -289,6 +289,14 @@ int vgic_v3_map_resources(struct kvm *kvm)
goto out;
}
+ if (vgic_has_its(kvm)) {
+ ret = vgic_register_its_iodevs(kvm);
+ if (ret) {
+ kvm_err("Unable to register VGIC ITS MMIO regions\n");
+ goto out;
+ }
+ }
+
dist->ready = true;
out: