From: Marc Zyngier Date: Tue, 8 Jul 2014 11:09:04 +0000 (+0100) Subject: arm/arm64: KVM: vgic: handle out-of-range MMIO accesses X-Git-Tag: fixes-for-v3.18-merge-window~23^2~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3c918361adcceb816c92b21dd95d2b46fb96a8f;p=pandora-kernel.git 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 Signed-off-by: Marc Zyngier --- Reading git-diff-tree failed