diff options
author | Andre Przywara <andre.przywara@arm.com> | 2018-04-25 11:09:44 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-05-23 13:21:58 +0100 |
commit | a43b08e86842a95391a3d18f734fe36c51236ef5 (patch) | |
tree | 5981280fdd6ebf10a72a1667a6b3b36526e21b22 | |
parent | a5d36dd12d40380024e4c905f11b43a55fd2523b (diff) | |
download | kvmtool-a43b08e86842a95391a3d18f734fe36c51236ef5.tar.gz |
arm/gic: avoid GICv2m MMIO frame overlap
Currently we accidentally overlap the GICv2m MMIO frame with the CPU
interface region. Fix this by moving the v2m frame below the CPUI region.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r-- | arm/gic.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -224,7 +224,7 @@ int gic__create(struct kvm *kvm, enum irqchip_type type) switch (type) { case IRQCHIP_GICV2M: gic_msi_size = KVM_VGIC_V2M_SIZE; - gic_msi_base = ARM_GIC_DIST_BASE - gic_msi_size; + gic_msi_base = ARM_GIC_CPUI_BASE - gic_msi_size; break; case IRQCHIP_GICV2: break; |