]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
KVM: arm/arm64: GICv4: Propagate affinity changes to the physical ITS
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 27 Oct 2017 14:28:42 +0000 (15:28 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 10 Nov 2017 08:29:37 +0000 (09:29 +0100)
commit0fc9a58ee45532e7a298c7aa626b3fe5ff8cdf87
tree25e1a002ba7def8f2cccd74d38e24eee0cd5da6f
parent07b46ed116cf0893200c97db2f72e0f7839b7f91
KVM: arm/arm64: GICv4: Propagate affinity changes to the physical ITS

When the guest issues an affinity change, we need to tell the physical
ITS that we're now targetting a new vcpu.  This is done by extracting
the current mapping, updating the target, and reapplying the mapping.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic/vgic-its.c