Searched refs:sprg2 (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.10/arch/powerpc/include/uapi/asm/ |
D | kvm_para.h | 43 __u64 sprg2; member
|
D | kvm.h | 49 __u64 sprg2; member
|
/Linux-v5.10/arch/powerpc/kvm/ |
D | e500mc.c | 132 mtspr(SPRN_GSPRG2, (unsigned long)vcpu->arch.shared->sprg2); in kvmppc_core_vcpu_load_e500mc() 156 vcpu->arch.shared->sprg2 = mfspr(SPRN_GSPRG2); in kvmppc_core_vcpu_put_e500mc()
|
D | book3s_hv_nested.c | 47 hr->sprg[2] = vcpu->arch.shregs.sprg2; in kvmhv_save_hv_regs() 111 hr->sprg[2] = vcpu->arch.shregs.sprg2; in save_hv_return_state() 165 vcpu->arch.shregs.sprg2 = hr->sprg[2]; in restore_hv_regs() 191 vcpu->arch.shregs.sprg2 = hr->sprg[2]; in kvmhv_restore_hv_return_state()
|
D | book3s.c | 519 regs->sprg2 = kvmppc_get_sprg2(vcpu); in kvm_arch_vcpu_ioctl_get_regs() 546 kvmppc_set_sprg2(vcpu, regs->sprg2); in kvm_arch_vcpu_ioctl_set_regs()
|
D | powerpc.c | 148 shared->sprg2 = swab64(shared->sprg2); in kvmppc_swab_shared()
|
D | booke.c | 1416 regs->sprg2 = kvmppc_get_sprg2(vcpu); in kvm_arch_vcpu_ioctl_get_regs() 1447 kvmppc_set_sprg2(vcpu, regs->sprg2); in kvm_arch_vcpu_ioctl_set_regs()
|
D | book3s_hv.c | 425 vcpu->arch.shregs.sprg2, vcpu->arch.shregs.sprg3); in kvmppc_dump_regs() 3494 mtspr(SPRN_SPRG2, vcpu->arch.shregs.sprg2); in kvmhv_load_hv_regs_and_go() 3525 vcpu->arch.shregs.sprg2 = mfspr(SPRN_SPRG2); in kvmhv_load_hv_regs_and_go()
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | kvm.c | 436 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()
|
D | asm-offsets.c | 478 OFFSET(VCPU_SPRG2, kvm_vcpu, arch.shregs.sprg2); in main()
|
/Linux-v5.10/Documentation/virt/kvm/ |
D | ppc-pv.rst | 156 mfsprg rX, 2 ld rX, magic_page->sprg2 166 mtsprg 2, rX std rX, magic_page->sprg2
|
/Linux-v5.10/tools/arch/powerpc/include/uapi/asm/ |
D | kvm.h | 49 __u64 sprg2; member
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | kvm_ppc.h | 960 SHARED_SPRNG_WRAPPER(sprg2, 64, SPRN_GSPRG2)
|