linux/virt/kvm/arm
Marc Zyngier c3c918361a arm/arm64: KVM: vgic: handle out-of-range MMIO accesses
Now that we can (almost) dynamically size the number of interrupts,
we're facing an interesting issue:

We have to evaluate at runtime whether or not an access hits a valid
register, based on the sizing of this particular instance of the
distributor. Furthermore, the GIC spec says that accessing a reserved
register is RAZ/WI.

For this, add a new field to our range structure, indicating the number
of bits a single interrupts uses. That allows us to find out whether or
not the access is in range.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2014-09-18 18:48:57 -07:00
..
arch_timer.c arm, kvm: fix double lock on cpu_add_remove_lock 2014-04-08 13:15:54 +02:00
vgic-v2.c KVM/ARM New features for 3.17 include: 2014-08-05 09:47:45 +02:00
vgic-v3.c KVM: arm64: GICv3: mandate page-aligned GICV region 2014-07-31 15:59:40 +02:00
vgic.c arm/arm64: KVM: vgic: handle out-of-range MMIO accesses 2014-09-18 18:48:57 -07:00