The KVM_VGIC_V3_ITS_SIZE macro from the Linux API header file already covers the doorbell page, so we don't need to add that extra page size in our code. Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx> --- arm/gic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arm/gic.c b/arm/gic.c index aca0b939..dd4d747d 100644 --- a/arm/gic.c +++ b/arm/gic.c @@ -229,8 +229,8 @@ int gic__create(struct kvm *kvm, enum irqchip_type type) case IRQCHIP_GICV2: break; case IRQCHIP_GICV3_ITS: - /* We reserve the 64K page with the doorbell as well. */ - gic_msi_size = KVM_VGIC_V3_ITS_SIZE + SZ_64K; + /* The 64K page with the doorbell is included. */ + gic_msi_size = KVM_VGIC_V3_ITS_SIZE; /* fall through */ case IRQCHIP_GICV3: gic_redists_size = kvm->cfg.nrcpus * ARM_GIC_REDIST_SIZE; -- 2.14.1 _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm