Searched refs:shregs (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/arch/powerpc/kvm/ |
D | book3s_hv_tm_builtin.c | 40 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation_early() 45 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation_early() 47 vcpu->arch.regs.nip = vcpu->arch.shregs.srr0; in kvmhv_p9_tm_emulation_early() 52 msr = vcpu->arch.shregs.msr; in kvmhv_p9_tm_emulation_early() 68 vcpu->arch.shregs.msr = msr; in kvmhv_p9_tm_emulation_early() 77 msr = vcpu->arch.shregs.msr; in kvmhv_p9_tm_emulation_early() 84 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation_early() 90 msr = vcpu->arch.shregs.msr; in kvmhv_p9_tm_emulation_early() 99 vcpu->arch.shregs.msr = (msr & ~MSR_TS_MASK) | MSR_TS_T; in kvmhv_p9_tm_emulation_early() 115 vcpu->arch.shregs.msr &= ~MSR_TS_MASK; /* go to N state */ in kvmhv_emulate_tm_rollback()
|
D | book3s_hv_tm.c | 19 u64 msr = vcpu->arch.shregs.msr; in emulate_tx_failure() 23 if (MSR_TM_SUSPENDED(vcpu->arch.shregs.msr)) in emulate_tx_failure() 45 u64 msr = vcpu->arch.shregs.msr; in kvmhv_p9_tm_emulation() 72 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation() 78 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation() 80 vcpu->arch.regs.nip = vcpu->arch.shregs.srr0; in kvmhv_p9_tm_emulation() 112 vcpu->arch.shregs.msr = msr; in kvmhv_p9_tm_emulation() 128 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation() 166 vcpu->arch.shregs.msr = msr; in kvmhv_p9_tm_emulation() 205 vcpu->arch.shregs.msr &= ~MSR_TS_MASK; in kvmhv_p9_tm_emulation() [all …]
|
D | book3s_hv_p9_entry.c | 94 unsigned long guest_msr = vcpu->arch.shregs.msr; in load_vcpu_state() 129 unsigned long guest_msr = vcpu->arch.shregs.msr; in store_vcpu_state() 558 WARN_ON_ONCE(vcpu->arch.shregs.msr & MSR_HV); in kvmhv_vcpu_entry_p9() 559 WARN_ON_ONCE(!(vcpu->arch.shregs.msr & MSR_ME)); in kvmhv_vcpu_entry_p9() 645 mtspr(SPRN_HSRR1, (vcpu->arch.shregs.msr & ~MSR_HV) | MSR_ME); in kvmhv_vcpu_entry_p9() 664 mtspr(SPRN_SPRG0, vcpu->arch.shregs.sprg0); in kvmhv_vcpu_entry_p9() 665 mtspr(SPRN_SPRG1, vcpu->arch.shregs.sprg1); in kvmhv_vcpu_entry_p9() 666 mtspr(SPRN_SPRG2, vcpu->arch.shregs.sprg2); in kvmhv_vcpu_entry_p9() 667 mtspr(SPRN_SPRG3, vcpu->arch.shregs.sprg3); in kvmhv_vcpu_entry_p9() 716 mtspr(SPRN_DAR, vcpu->arch.shregs.dar); in kvmhv_vcpu_entry_p9() [all …]
|
D | book3s_hv_nested.c | 45 hr->srr0 = vcpu->arch.shregs.srr0; in kvmhv_save_hv_regs() 46 hr->srr1 = vcpu->arch.shregs.srr1; in kvmhv_save_hv_regs() 47 hr->sprg[0] = vcpu->arch.shregs.sprg0; in kvmhv_save_hv_regs() 48 hr->sprg[1] = vcpu->arch.shregs.sprg1; in kvmhv_save_hv_regs() 49 hr->sprg[2] = vcpu->arch.shregs.sprg2; in kvmhv_save_hv_regs() 50 hr->sprg[3] = vcpu->arch.shregs.sprg3; in kvmhv_save_hv_regs() 113 hr->srr0 = vcpu->arch.shregs.srr0; in save_hv_return_state() 114 hr->srr1 = vcpu->arch.shregs.srr1; in save_hv_return_state() 115 hr->sprg[0] = vcpu->arch.shregs.sprg0; in save_hv_return_state() 116 hr->sprg[1] = vcpu->arch.shregs.sprg1; in save_hv_return_state() [all …]
|
D | book3s_hv_ras.c | 70 unsigned long srr1 = vcpu->arch.shregs.msr; in kvmppc_realmode_mc_power7() 75 unsigned long dsisr = vcpu->arch.shregs.dsisr; in kvmppc_realmode_mc_power7()
|
D | book3s_hv.c | 455 vcpu->arch.regs.nip, vcpu->arch.shregs.msr, vcpu->arch.trap); in kvmppc_dump_regs() 463 vcpu->arch.shregs.srr0, vcpu->arch.shregs.srr1); in kvmppc_dump_regs() 465 vcpu->arch.shregs.sprg0, vcpu->arch.shregs.sprg1); in kvmppc_dump_regs() 467 vcpu->arch.shregs.sprg2, vcpu->arch.shregs.sprg3); in kvmppc_dump_regs() 469 vcpu->arch.regs.ccr, vcpu->arch.regs.xer, vcpu->arch.shregs.dsisr); in kvmppc_dump_regs() 470 pr_err("dar = %.16llx\n", vcpu->arch.shregs.dar); in kvmppc_dump_regs() 756 dt->srr1 = cpu_to_be64(vcpu->arch.shregs.msr); in __kvmppc_create_dtl_entry() 1370 vcpu->arch.shregs.msr |= MSR_EE; in kvmppc_cede() 1582 if (vcpu->arch.shregs.msr & MSR_HV) { in kvmppc_handle_exit_hv() 1586 vcpu->arch.shregs.msr); in kvmppc_handle_exit_hv() [all …]
|
D | book3s_hv_builtin.c | 513 vcpu->arch.shregs.msr = msr; in kvmppc_set_msr_hv() 551 vcpu->arch.shregs.msr = new_msr; in inject_interrupt() 579 if (vcpu->arch.shregs.msr & MSR_EE) { in kvmppc_guest_entry_inject_int()
|
D | book3s_hv_rm_mmu.c | 1241 key = (vcpu->arch.shregs.msr & MSR_PR) ? SLB_VSID_KP : SLB_VSID_KS; in kvmppc_hpte_hv_fault() 1258 if (data && (vcpu->arch.shregs.msr & MSR_DR)) { in kvmppc_hpte_hv_fault() 1294 if (data && (vcpu->arch.shregs.msr & MSR_IR)) in kvmppc_hpte_hv_fault()
|
D | trace_hv.h | 282 __entry->msr = vcpu->arch.shregs.msr;
|
D | book3s_64_mmu_hv.c | 350 int virtmode = vcpu->arch.shregs.msr & (data ? MSR_DR : MSR_IR); in kvmppc_mmu_book3s_64_hv_xlate() 388 key = (vcpu->arch.shregs.msr & MSR_PR) ? SLB_VSID_KP : SLB_VSID_KS; in kvmppc_mmu_book3s_64_hv_xlate()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | asm-offsets.c | 374 OFFSET(VCPU_MSR, kvm_vcpu, arch.shregs.msr); in main() 375 OFFSET(VCPU_SRR0, kvm_vcpu, arch.shregs.srr0); in main() 376 OFFSET(VCPU_SRR1, kvm_vcpu, arch.shregs.srr1); in main() 377 OFFSET(VCPU_SPRG0, kvm_vcpu, arch.shregs.sprg0); in main() 378 OFFSET(VCPU_SPRG1, kvm_vcpu, arch.shregs.sprg1); in main() 379 OFFSET(VCPU_SPRG2, kvm_vcpu, arch.shregs.sprg2); in main() 380 OFFSET(VCPU_SPRG3, kvm_vcpu, arch.shregs.sprg3); in main() 430 OFFSET(VCPU_DSISR, kvm_vcpu, arch.shregs.dsisr); in main() 431 OFFSET(VCPU_DAR, kvm_vcpu, arch.shregs.dar); in main()
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | kvm_host.h | 799 struct kvm_vcpu_arch_shared shregs; member
|