KVM: PPC: Book3S HV nestedv2: Cancel pending DEC exception
[linux-block.git] / arch / powerpc / kvm / book3s_hv.c
index 8e86eb577eb8e1462bc04e46fd23416df2c455a3..692a7c6f5fd9170a7680ee6a1fe4e2a22adec894 100644 (file)
@@ -4857,7 +4857,7 @@ int kvmhv_run_single_vcpu(struct kvm_vcpu *vcpu, u64 time_limit,
         * entering a nested guest in which case the decrementer is now owned
         * by L2 and the L1 decrementer is provided in hdec_expires
         */
-       if (!kvmhv_is_nestedv2() && kvmppc_core_pending_dec(vcpu) &&
+       if (kvmppc_core_pending_dec(vcpu) &&
                        ((tb < kvmppc_dec_expires_host_tb(vcpu)) ||
                         (trap == BOOK3S_INTERRUPT_SYSCALL &&
                          kvmppc_get_gpr(vcpu, 3) == H_ENTER_NESTED)))