Searched refs:shregs (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/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() 63 newmsr = vcpu->arch.shregs.srr1; in kvmhv_p9_tm_emulation() 69 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation() 71 vcpu->arch.regs.nip = vcpu->arch.shregs.srr0; in kvmhv_p9_tm_emulation() 102 vcpu->arch.shregs.msr = msr; in kvmhv_p9_tm_emulation() 118 vcpu->arch.shregs.msr = newmsr; in kvmhv_p9_tm_emulation() 154 vcpu->arch.shregs.msr = msr; in kvmhv_p9_tm_emulation() 191 vcpu->arch.shregs.msr &= ~MSR_TS_MASK; in kvmhv_p9_tm_emulation() [all …]
|
D | book3s_hv_nested.c | 43 hr->srr0 = vcpu->arch.shregs.srr0; in kvmhv_save_hv_regs() 44 hr->srr1 = vcpu->arch.shregs.srr1; in kvmhv_save_hv_regs() 45 hr->sprg[0] = vcpu->arch.shregs.sprg0; in kvmhv_save_hv_regs() 46 hr->sprg[1] = vcpu->arch.shregs.sprg1; in kvmhv_save_hv_regs() 47 hr->sprg[2] = vcpu->arch.shregs.sprg2; in kvmhv_save_hv_regs() 48 hr->sprg[3] = vcpu->arch.shregs.sprg3; in kvmhv_save_hv_regs() 108 hr->srr0 = vcpu->arch.shregs.srr0; in save_hv_return_state() 109 hr->srr1 = vcpu->arch.shregs.srr1; in save_hv_return_state() 110 hr->sprg[0] = vcpu->arch.shregs.sprg0; in save_hv_return_state() 111 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() 76 unsigned long dsisr = vcpu->arch.shregs.dsisr; in kvmppc_realmode_mc_power7()
|
D | book3s_hv.c | 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() [all …]
|
D | book3s_hv_builtin.c | 767 vcpu->arch.shregs.msr = msr; in kvmppc_set_msr_hv() 805 vcpu->arch.shregs.msr = new_msr; in inject_interrupt() 831 if (vcpu->arch.shregs.msr & MSR_EE) { in kvmppc_guest_entry_inject_int()
|
D | book3s_hv_rm_mmu.c | 1239 key = (vcpu->arch.shregs.msr & MSR_PR) ? SLB_VSID_KP : SLB_VSID_KS; in kvmppc_hpte_hv_fault() 1256 if (data && (vcpu->arch.shregs.msr & MSR_DR)) { in kvmppc_hpte_hv_fault() 1292 if (data && (vcpu->arch.shregs.msr & MSR_IR)) in kvmppc_hpte_hv_fault()
|
D | trace_hv.h | 262 __entry->msr = vcpu->arch.shregs.msr;
|
D | book3s_64_mmu_hv.c | 341 int virtmode = vcpu->arch.shregs.msr & (data ? MSR_DR : MSR_IR); in kvmppc_mmu_book3s_64_hv_xlate() 379 key = (vcpu->arch.shregs.msr & MSR_PR) ? SLB_VSID_KP : SLB_VSID_KS; in kvmppc_mmu_book3s_64_hv_xlate()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | asm-offsets.c | 473 OFFSET(VCPU_MSR, kvm_vcpu, arch.shregs.msr); in main() 474 OFFSET(VCPU_SRR0, kvm_vcpu, arch.shregs.srr0); in main() 475 OFFSET(VCPU_SRR1, kvm_vcpu, arch.shregs.srr1); in main() 476 OFFSET(VCPU_SPRG0, kvm_vcpu, arch.shregs.sprg0); in main() 477 OFFSET(VCPU_SPRG1, kvm_vcpu, arch.shregs.sprg1); in main() 478 OFFSET(VCPU_SPRG2, kvm_vcpu, arch.shregs.sprg2); in main() 479 OFFSET(VCPU_SPRG3, kvm_vcpu, arch.shregs.sprg3); in main() 531 OFFSET(VCPU_DSISR, kvm_vcpu, arch.shregs.dsisr); in main() 532 OFFSET(VCPU_DAR, kvm_vcpu, arch.shregs.dar); in main()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | kvm_host.h | 793 struct kvm_vcpu_arch_shared shregs; member
|