summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorEric Auger <eric.auger@linaro.org>2015-09-25 21:41:16 (GMT)
committerChristoffer Dall <christoffer.dall@linaro.org>2015-10-22 21:01:46 (GMT)
commit101d3da09c953b08c814cd9a0b8605623d640ba0 (patch)
tree3a2ef254199675f339f4004c4d15b222851f3264 /arch/arm64
parent4f5f1dc03606e18986b874f899cf86b0a3e4f2a5 (diff)
downloadlinux-101d3da09c953b08c814cd9a0b8605623d640ba0.tar.xz
KVM: arm/arm64: check power_off in critical section before VCPU run
In case a vcpu off PSCI call is called just after we executed the vcpu_sleep check, we can enter the guest although power_off is set. Let's check the power_off state in the critical section, just before entering the guest. Signed-off-by: Eric Auger <eric.auger@linaro.org> Reported-by: Christoffer Dall <christoffer.dall@linaro.org> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm64')
0 files changed, 0 insertions, 0 deletions