Lines Matching defs:trap
413 pr_err("pc = %.16lx msr = %.16llx trap = %x\n",
414 vcpu->arch.regs.nip, vcpu->arch.shregs.msr, vcpu->arch.trap);
1302 printk(KERN_EMERG "KVM trap in HV mode!\n");
1303 printk(KERN_EMERG "trap=0x%x | pc=0x%lx | msr=0x%llx\n",
1304 vcpu->arch.trap, kvmppc_get_pc(vcpu),
1308 run->hw.hardware_exit_reason = vcpu->arch.trap;
1313 switch (vcpu->arch.trap) {
1350 run->hw.hardware_exit_reason = vcpu->arch.trap;
1464 printk(KERN_EMERG "trap=0x%x | pc=0x%lx | msr=0x%llx\n",
1465 vcpu->arch.trap, kvmppc_get_pc(vcpu),
1467 run->hw.hardware_exit_reason = vcpu->arch.trap;
1491 pr_emerg("KVM trap in HV mode while nested!\n");
1492 pr_emerg("trap=0x%x | pc=0x%lx | msr=0x%llx\n",
1493 vcpu->arch.trap, kvmppc_get_pc(vcpu),
1498 switch (vcpu->arch.trap) {
1560 vcpu->arch.trap = 0;
2364 * to trap and then we emulate them.
2973 * so any vcpus becoming runnable will have their arch.trap
2985 if (vcpu->arch.trap)
2990 vcpu->arch.trap = 0;
3066 static void set_irq_happened(int trap)
3068 switch (trap) {
3103 int trap;
3352 trap = __kvmppc_vcore_entry();
3360 set_irq_happened(trap);
3455 int trap;
3525 trap = __kvmhv_vcpu_entry_p9(vcpu);
3589 return trap;
3607 int trap, save_pmu;
3703 trap = plpar_hcall_norets(H_ENTER_NESTED, __pa(&hvregs),
3713 if (trap == BOOK3S_INTERRUPT_SYSCALL && !vcpu->arch.nested &&
3717 trap = 0;
3720 trap = kvmhv_load_hv_regs_and_go(vcpu, time_limit, lpcr);
3804 return trap;
4019 vcpu->arch.trap = 0;
4142 int trap, r, pcpu;
4152 vcpu->arch.trap = 0;
4234 trap = kvmhv_p9_guest_entry(vcpu, time_limit, lpcr);
4235 vcpu->arch.trap = trap;
4248 set_irq_happened(trap);
4280 (trap == BOOK3S_INTERRUPT_SYSCALL &&
4286 if (trap) {