Home
last modified time | relevance | path

Searched refs:sprg3 (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/arch/powerpc/include/uapi/asm/
Dkvm_para.h44 __u64 sprg3; member
Dkvm.h49 __u64 sprg3; member
/linux-6.12.1/arch/powerpc/kvm/
De500mc.c138 mtspr(SPRN_GSPRG3, (unsigned long)vcpu->arch.shared->sprg3); in kvmppc_core_vcpu_load_e500mc()
162 vcpu->arch.shared->sprg3 = mfspr(SPRN_GSPRG3); in kvmppc_core_vcpu_put_e500mc()
Dbook3s_hv_nested.c50 hr->sprg[3] = vcpu->arch.shregs.sprg3; in kvmhv_save_hv_regs()
118 hr->sprg[3] = vcpu->arch.shregs.sprg3; in save_hv_return_state()
160 vcpu->arch.shregs.sprg3 = hr->sprg[3]; in restore_hv_regs()
188 vcpu->arch.shregs.sprg3 = hr->sprg[3]; in kvmhv_restore_hv_return_state()
Dbook3s.c568 regs->sprg3 = kvmppc_get_sprg3(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
595 kvmppc_set_sprg3(vcpu, regs->sprg3); in kvm_arch_vcpu_ioctl_set_regs()
Dbook3s_hv_p9_entry.c667 mtspr(SPRN_SPRG3, vcpu->arch.shregs.sprg3); in kvmhv_vcpu_entry_p9()
837 vcpu->arch.shregs.sprg3 = mfspr(SPRN_SPRG3); in kvmhv_vcpu_entry_p9()
Dbook3s_hv_nestedv2.c305 vcpu->arch.shregs.sprg3); in gs_msg_ops_vcpu_fill_info()
554 vcpu->arch.shregs.sprg3 = kvmppc_gse_get_u64(gse); in gs_msg_ops_vcpu_refresh_info()
Dpowerpc.c150 shared->sprg3 = swab64(shared->sprg3); in kvmppc_swab_shared()
Dbooke.c1465 regs->sprg3 = kvmppc_get_sprg3(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
1496 kvmppc_set_sprg3(vcpu, regs->sprg3); in kvm_arch_vcpu_ioctl_set_regs()
Dbook3s_hv.c501 vcpu->arch.shregs.sprg2, vcpu->arch.shregs.sprg3); in kvmppc_dump_regs()
/linux-6.12.1/arch/powerpc/kernel/
Dkvm.c439 kvm_patch_ins_ld(inst, magic_var(sprg3), inst_rt); in kvm_check_ins()
542 kvm_patch_ins_std(inst, magic_var(sprg3), inst_rt); in kvm_check_ins()
Dasm-offsets.c382 OFFSET(VCPU_SPRG3, kvm_vcpu, arch.shregs.sprg3); in main()
397 OFFSET(VCPU_SHARED_SPRG3, kvm_vcpu_arch_shared, sprg3); in main()
/linux-6.12.1/Documentation/virt/kvm/
Dppc-pv.rst157 mfsprg rX, 3 ld rX, magic_page->sprg3
167 mtsprg 3, rX std rX, magic_page->sprg3
/linux-6.12.1/tools/arch/powerpc/include/uapi/asm/
Dkvm.h49 __u64 sprg3; member
/linux-6.12.1/arch/powerpc/include/asm/
Dkvm_ppc.h1024 KVMPPC_BOOKE_HV_SPRNG_OR_VCPU_SHARED_REGS_ACCESSOR(sprg3, 64, SPRN_GSPRG3, KVMPPC_GSID_SPRG3)