Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/include/uapi/asm/
Dkvm_para.h43 __u64 sprg2; member
Dkvm.h48 __u64 sprg2; member
/linux-6.12.1/arch/powerpc/kvm/
De500mc.c137 mtspr(SPRN_GSPRG2, (unsigned long)vcpu->arch.shared->sprg2); in kvmppc_core_vcpu_load_e500mc()
161 vcpu->arch.shared->sprg2 = mfspr(SPRN_GSPRG2); in kvmppc_core_vcpu_put_e500mc()
Dbook3s_hv_nested.c49 hr->sprg[2] = vcpu->arch.shregs.sprg2; in kvmhv_save_hv_regs()
117 hr->sprg[2] = vcpu->arch.shregs.sprg2; in save_hv_return_state()
159 vcpu->arch.shregs.sprg2 = hr->sprg[2]; in restore_hv_regs()
187 vcpu->arch.shregs.sprg2 = hr->sprg[2]; in kvmhv_restore_hv_return_state()
Dbook3s.c567 regs->sprg2 = kvmppc_get_sprg2(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
594 kvmppc_set_sprg2(vcpu, regs->sprg2); in kvm_arch_vcpu_ioctl_set_regs()
Dbook3s_hv_p9_entry.c666 mtspr(SPRN_SPRG2, vcpu->arch.shregs.sprg2); in kvmhv_vcpu_entry_p9()
836 vcpu->arch.shregs.sprg2 = mfspr(SPRN_SPRG2); in kvmhv_vcpu_entry_p9()
Dbook3s_hv_nestedv2.c301 vcpu->arch.shregs.sprg2); in gs_msg_ops_vcpu_fill_info()
551 vcpu->arch.shregs.sprg2 = kvmppc_gse_get_u64(gse); in gs_msg_ops_vcpu_refresh_info()
Dpowerpc.c149 shared->sprg2 = swab64(shared->sprg2); in kvmppc_swab_shared()
Dbooke.c1464 regs->sprg2 = kvmppc_get_sprg2(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
1495 kvmppc_set_sprg2(vcpu, regs->sprg2); 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.c436 kvm_patch_ins_ld(inst, magic_var(sprg2), inst_rt); in kvm_check_ins()
539 kvm_patch_ins_std(inst, magic_var(sprg2), inst_rt); in kvm_check_ins()
Dasm-offsets.c381 OFFSET(VCPU_SPRG2, kvm_vcpu, arch.shregs.sprg2); in main()
/linux-6.12.1/Documentation/virt/kvm/
Dppc-pv.rst156 mfsprg rX, 2 ld rX, magic_page->sprg2
166 mtsprg 2, rX std rX, magic_page->sprg2
/linux-6.12.1/tools/arch/powerpc/include/uapi/asm/
Dkvm.h48 __u64 sprg2; member
/linux-6.12.1/arch/powerpc/include/asm/
Dkvm_ppc.h1023 KVMPPC_BOOKE_HV_SPRNG_OR_VCPU_SHARED_REGS_ACCESSOR(sprg2, 64, SPRN_GSPRG2, KVMPPC_GSID_SPRG2)