From: Andre Przywara Date: Thu, 13 Nov 2014 16:21:35 +0000 (+0000) Subject: arm/arm64: KVM: add opaque private pointer to MMIO data X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~97^2~37^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fedf146778e6d1c26319ebaf56131a4f3a6be03;p=pandora-kernel.git arm/arm64: KVM: add opaque private pointer to MMIO data 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 Acked-by: Christoffer Dall Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed