]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - virt/kvm/arm/arm.c
KVM: arm/arm64: Handle CPU_PM_ENTER_FAILED
[mirror_ubuntu-bionic-kernel.git] / virt / kvm / arm / arm.c
index b8f0acc5b4723950752358bf95f0dd3c1efadf20..9a866459bff4cef0c22b20047d264c98a7d7124d 100644 (file)
@@ -1239,6 +1239,7 @@ static int hyp_init_cpu_pm_notifier(struct notifier_block *self,
                        cpu_hyp_reset();
 
                return NOTIFY_OK;
+       case CPU_PM_ENTER_FAILED:
        case CPU_PM_EXIT:
                if (__this_cpu_read(kvm_arm_hardware_enabled))
                        /* The hardware was enabled before suspend. */