On Fri, 2014-08-01 at 04:34 -0500, Bhushan Bharat-R65777 wrote: > on dbsr write emulation, deque the debug interrupt even if DBSR_IDE is set. > > case SPRN_DBSR: > > vcpu->arch.dbsr &= ~spr_val; > if (!(vcpu->arch.dbsr & ~DBSR_IDE)) > kvmppc_core_dequeue_debug(vcpu); > break; > > or > vcpu->arch.dbsr &= ~(spr_val | DBSR_IDE); > if (!vcpu->arch.dbsr) > kvmppc_core_dequeue_debug(vcpu); > break; The first option. I see no reason to have KVM forcibly clear DBSR[IDE]. -Scott -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html