Home
last modified time | relevance | path

Searched refs:sprg1 (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/arch/powerpc/include/uapi/asm/
Dkvm_para.h42 __u64 sprg1; member
Dkvm.h48 __u64 sprg1; member
/Linux-v5.10/arch/powerpc/kvm/
De500mc.c131 mtspr(SPRN_GSPRG1, (unsigned long)vcpu->arch.shared->sprg1); in kvmppc_core_vcpu_load_e500mc()
155 vcpu->arch.shared->sprg1 = mfspr(SPRN_GSPRG1); in kvmppc_core_vcpu_put_e500mc()
Dbook3s_hv_nested.c46 hr->sprg[1] = vcpu->arch.shregs.sprg1; in kvmhv_save_hv_regs()
110 hr->sprg[1] = vcpu->arch.shregs.sprg1; in save_hv_return_state()
164 vcpu->arch.shregs.sprg1 = hr->sprg[1]; in restore_hv_regs()
190 vcpu->arch.shregs.sprg1 = hr->sprg[1]; in kvmhv_restore_hv_return_state()
Dbook3s.c518 regs->sprg1 = kvmppc_get_sprg1(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
545 kvmppc_set_sprg1(vcpu, regs->sprg1); in kvm_arch_vcpu_ioctl_set_regs()
Dpowerpc.c147 shared->sprg1 = swab64(shared->sprg1); in kvmppc_swab_shared()
Dbooke.c1415 regs->sprg1 = kvmppc_get_sprg1(vcpu); in kvm_arch_vcpu_ioctl_get_regs()
1446 kvmppc_set_sprg1(vcpu, regs->sprg1); in kvm_arch_vcpu_ioctl_set_regs()
Dbook3s_hv.c423 vcpu->arch.shregs.sprg0, vcpu->arch.shregs.sprg1); in kvmppc_dump_regs()
3493 mtspr(SPRN_SPRG1, vcpu->arch.shregs.sprg1); in kvmhv_load_hv_regs_and_go()
3524 vcpu->arch.shregs.sprg1 = mfspr(SPRN_SPRG1); in kvmhv_load_hv_regs_and_go()
/Linux-v5.10/arch/powerpc/kernel/
Dkvm.c433 kvm_patch_ins_ld(inst, magic_var(sprg1), inst_rt); in kvm_check_ins()
536 kvm_patch_ins_std(inst, magic_var(sprg1), inst_rt); in kvm_check_ins()
Dasm-offsets.c477 OFFSET(VCPU_SPRG1, kvm_vcpu, arch.shregs.sprg1); in main()
/Linux-v5.10/Documentation/virt/kvm/
Dppc-pv.rst155 mfsprg rX, 1 ld rX, magic_page->sprg1
165 mtsprg 1, rX std rX, magic_page->sprg1
/Linux-v5.10/tools/arch/powerpc/include/uapi/asm/
Dkvm.h48 __u64 sprg1; member
/Linux-v5.10/arch/powerpc/include/asm/
Dkvm_ppc.h959 SHARED_SPRNG_WRAPPER(sprg1, 64, SPRN_GSPRG1)