summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorMarc Zyngier2018-12-20 12:36:07 +0100
committerMarc Zyngier2019-02-07 12:44:13 +0100
commit358b28f09f0ab074d781df72b8a671edb1547789 (patch)
tree7e85610ff66698d60b528d8697e4d221a3ceb851 /usr
parentKVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded (diff)
downloadkernel-qcow2-linux-358b28f09f0ab074d781df72b8a671edb1547789.tar.gz
kernel-qcow2-linux-358b28f09f0ab074d781df72b8a671edb1547789.tar.xz
kernel-qcow2-linux-358b28f09f0ab074d781df72b8a671edb1547789.zip
arm/arm64: KVM: Allow a VCPU to fully reset itself
The current kvm_psci_vcpu_on implementation will directly try to manipulate the state of the VCPU to reset it. However, since this is not done on the thread that runs the VCPU, we can end up in a strangely corrupted state when the source and target VCPUs are running at the same time. Fix this by factoring out all reset logic from the PSCI implementation and forwarding the required information along with a request to the target VCPU. Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@arm.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions