aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic/vgic-v3.c
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-07-15 12:43:22 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2016-07-18 18:09:40 +0100
commit8f6cdc1c2eec20c3bbf3a83ad0e1db165f709917 (patch)
treefbc225d6e0db2124103c65bbe14834bfc6a0eda1 /virt/kvm/arm/vgic/vgic-v3.c
parentarm64: KVM: Clean up a condition (diff)
downloadlinux-dev-8f6cdc1c2eec20c3bbf3a83ad0e1db165f709917.tar.xz
linux-dev-8f6cdc1c2eec20c3bbf3a83ad0e1db165f709917.zip
KVM: arm/arm64: vgic: Move redistributor kvm_io_devices
Logically a GICv3 redistributor is assigned to a (v)CPU, so we should aim to keep redistributor related variables out of our struct vgic_dist. Let's start by replacing the redistributor related kvm_io_device array with two members in our existing struct vgic_cpu, which are naturally per-VCPU and thus don't require any allocation / freeing. So apart from the better fit with the redistributor design this saves some code as well. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Tested-by: Eric Auger <eric.auger@redhat.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-v3.c')
0 files changed, 0 insertions, 0 deletions