ARM: new VGIC: Implement arch_move_irqs()
authorAndre Przywara <andre.przywara@linaro.org>
Mon, 5 Mar 2018 11:13:36 +0000 (11:13 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 29 Mar 2018 17:09:45 +0000 (10:09 -0700)
commitb7fd05b5ed5572225db9a7964220c487e40b5cf1
tree6a199ac6068b9562e5a200d38a6d854870177b78
parentebe29cbd338aba99a0e17ecbdc73a25545bd219a
ARM: new VGIC: Implement arch_move_irqs()

When a VCPU moves to another CPU, we need to adjust the target affinity
of any hardware mapped vIRQs, to observe our "physical-follows-virtual"
policy.
Implement arch_move_irqs() to adjust the physical affinity of all hardware
mapped vIRQs targetting this VCPU.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/vgic/vgic.c