Lines Matching refs:shregs
414 vcpu->arch.regs.nip, vcpu->arch.shregs.msr, vcpu->arch.trap); in kvmppc_dump_regs()
422 vcpu->arch.shregs.srr0, vcpu->arch.shregs.srr1); in kvmppc_dump_regs()
424 vcpu->arch.shregs.sprg0, vcpu->arch.shregs.sprg1); in kvmppc_dump_regs()
426 vcpu->arch.shregs.sprg2, vcpu->arch.shregs.sprg3); in kvmppc_dump_regs()
428 vcpu->arch.regs.ccr, vcpu->arch.regs.xer, vcpu->arch.shregs.dsisr); in kvmppc_dump_regs()
429 pr_err("dar = %.16llx\n", vcpu->arch.shregs.dar); in kvmppc_dump_regs()
720 dt->srr1 = cpu_to_be64(vcpu->arch.shregs.msr); in kvmppc_create_dtl_entry()
1133 vcpu->arch.shregs.msr |= MSR_EE; in kvmppc_nested_cede()
1301 if (vcpu->arch.shregs.msr & MSR_HV) { in kvmppc_handle_exit_hv()
1305 vcpu->arch.shregs.msr); in kvmppc_handle_exit_hv()
1342 ulong flags = vcpu->arch.shregs.msr & 0x083c0000; in kvmppc_handle_exit_hv()
1370 flags = vcpu->arch.shregs.msr & 0x1f0000ull; in kvmppc_handle_exit_hv()
1404 vcpu->arch.fault_dsisr = vcpu->arch.shregs.msr & in kvmppc_handle_exit_hv()
1406 if (vcpu->arch.shregs.msr & HSRR1_HISI_WRITE) in kvmppc_handle_exit_hv()
1466 vcpu->arch.shregs.msr); in kvmppc_handle_exit_hv()
1490 if (vcpu->arch.shregs.msr & MSR_HV) { in kvmppc_handle_nested_exit()
1494 vcpu->arch.shregs.msr); in kvmppc_handle_nested_exit()
1540 if (vcpu->arch.shregs.msr & HSRR1_HISI_WRITE) in kvmppc_handle_nested_exit()
2338 vcpu->arch.shared = &vcpu->arch.shregs; in kvmppc_core_vcpu_create_hv()
3496 mtspr(SPRN_SPRG0, vcpu->arch.shregs.sprg0); in kvmhv_load_hv_regs_and_go()
3497 mtspr(SPRN_SPRG1, vcpu->arch.shregs.sprg1); in kvmhv_load_hv_regs_and_go()
3498 mtspr(SPRN_SPRG2, vcpu->arch.shregs.sprg2); in kvmhv_load_hv_regs_and_go()
3499 mtspr(SPRN_SPRG3, vcpu->arch.shregs.sprg3); in kvmhv_load_hv_regs_and_go()
3508 mtspr(SPRN_SRR0, vcpu->arch.shregs.srr0); in kvmhv_load_hv_regs_and_go()
3509 mtspr(SPRN_SRR1, vcpu->arch.shregs.srr1); in kvmhv_load_hv_regs_and_go()
3527 vcpu->arch.shregs.sprg0 = mfspr(SPRN_SPRG0); in kvmhv_load_hv_regs_and_go()
3528 vcpu->arch.shregs.sprg1 = mfspr(SPRN_SPRG1); in kvmhv_load_hv_regs_and_go()
3529 vcpu->arch.shregs.sprg2 = mfspr(SPRN_SPRG2); in kvmhv_load_hv_regs_and_go()
3530 vcpu->arch.shregs.sprg3 = mfspr(SPRN_SPRG3); in kvmhv_load_hv_regs_and_go()
3621 kvmppc_restore_tm_hv(vcpu, vcpu->arch.shregs.msr, true); in kvmhv_p9_guest_entry()
3654 mtspr(SPRN_DAR, vcpu->arch.shregs.dar); in kvmhv_p9_guest_entry()
3655 mtspr(SPRN_DSISR, vcpu->arch.shregs.dsisr); in kvmhv_p9_guest_entry()
3679 vcpu->arch.regs.msr = vcpu->arch.shregs.msr; in kvmhv_p9_guest_entry()
3692 vcpu->arch.shregs.msr = vcpu->arch.regs.msr; in kvmhv_p9_guest_entry()
3693 vcpu->arch.shregs.dar = mfspr(SPRN_DAR); in kvmhv_p9_guest_entry()
3694 vcpu->arch.shregs.dsisr = mfspr(SPRN_DSISR); in kvmhv_p9_guest_entry()
3758 kvmppc_save_tm_hv(vcpu, vcpu->arch.shregs.msr, true); in kvmhv_p9_guest_entry()
4394 !(vcpu->arch.shregs.msr & MSR_PR)) { in kvmppc_vcpu_run_hv()