linux_dsm_epyc7002/virt/kvm/arm
Andrew Jones cc9b43f99d KVM: arm/arm64: use vcpu requests for power_off
System shutdown is currently using request-less VCPU kicks. This
leaves open a tiny race window, as it doesn't ensure the state
change to power_off is seen by a VCPU just about to enter guest
mode. VCPU requests, OTOH, are guaranteed to be seen (see "Ensuring
Requests Are Seen" of Documentation/virtual/kvm/vcpu-requests.rst)
This patch applies the EXIT request used by pause to power_off,
fixing the race.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
2017-06-04 16:53:54 +02:00
..
hyp KVM: arm/arm64: vgic-v3: Fix off-by-one LR access 2017-04-19 17:28:38 +02:00
vgic KVM: arm/arm64: Use uaccess functions for GICv3 {sc}active 2017-06-04 13:26:03 +02:00
aarch32.c arm64: KVM: Make kvm_skip_instr32 available to HYP 2016-09-08 12:53:00 +02:00
arch_timer.c KVM: arm/arm64: Report PMU overflow interrupts to userspace irqchip 2017-04-09 07:49:39 -07:00
arm.c KVM: arm/arm64: replace pause checks with vcpu request checks 2017-06-04 16:53:54 +02:00
mmio.c KVM: arm/arm64: Move shared files to virt/kvm/arm 2017-05-04 13:57:26 +02:00
mmu.c Second round of KVM/ARM Changes for v4.12. 2017-05-09 12:51:49 +02:00
perf.c KVM: arm/arm64: Move shared files to virt/kvm/arm 2017-05-04 13:57:26 +02:00
pmu.c KVM: arm/arm64: Report PMU overflow interrupts to userspace irqchip 2017-04-09 07:49:39 -07:00
psci.c KVM: arm/arm64: use vcpu requests for power_off 2017-06-04 16:53:54 +02:00
trace.h KVM: arm/arm64: Move shared files to virt/kvm/arm 2017-05-04 13:57:26 +02:00