summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/kvm_arm.h
diff options
context:
space:
mode:
authorSudeep Holla2016-04-04 15:46:51 +0200
committerChristoffer Dall2016-04-06 13:47:52 +0200
commit06a71a24bae57a07afee9cda6b00495347d8a448 (patch)
tree46a9cdb33645181f15fe915af1d76eb90c221020 /arch/arm64/include/asm/kvm_arm.h
parentarm64: KVM: Warn when PARange is less than 40 bits (diff)
downloadkernel-qcow2-linux-06a71a24bae57a07afee9cda6b00495347d8a448.tar.gz
kernel-qcow2-linux-06a71a24bae57a07afee9cda6b00495347d8a448.tar.xz
kernel-qcow2-linux-06a71a24bae57a07afee9cda6b00495347d8a448.zip
arm64: KVM: unregister notifiers in hyp mode teardown path
Commit 1e947bad0b63 ("arm64: KVM: Skip HYP setup when already running in HYP") re-organized the hyp init code and ended up leaving the CPU hotplug and PM notifier even if hyp mode initialization fails. Since KVM is not yet supported with ACPI, the above mentioned commit breaks CPU hotplug in ACPI boot. This patch fixes teardown_hyp_mode to properly unregister both CPU hotplug and PM notifiers in the teardown path. Fixes: 1e947bad0b63 ("arm64: KVM: Skip HYP setup when already running in HYP") Cc: Christoffer Dall <christoffer.dall@linaro.org> Cc: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm64/include/asm/kvm_arm.h')
0 files changed, 0 insertions, 0 deletions