[PATCH v4 14/19] arm/arm64: KVM: add opaque private pointer to MMIO data
From: Christoffer Dall <hidden>
Date: 2014-11-23 13:33:30
From: Christoffer Dall <hidden>
Date: 2014-11-23 13:33:30
On Fri, Nov 14, 2014 at 10:07:58AM +0000, Andre Przywara wrote:
For a GICv2 there is always only one (v)CPU involved: the one that does the access. On a GICv3 the access to a CPU redistributor is memory-mapped, but not banked, so the (v)CPU affected is determined by looking at the MMIO address region being accessed. To allow passing the affected CPU into the accessors later, extend struct kvm_exit_mmio to add an opaque private pointer parameter. The current GICv2 emulation just does not use it. Signed-off-by: Andre Przywara <andre.przywara@arm.com> ---
Looks reasonable: Acked-by: Christoffer Dall <redacted>