/linux/arch/powerpc/kvm/ |
H A D | book3s_pr_papr.c | 81 kvmppc_set_gpr(vcpu, 3, ret); in kvmppc_h_pr_enter() 122 kvmppc_set_gpr(vcpu, 3, ret); in kvmppc_h_pr_remove() 209 kvmppc_set_gpr(vcpu, 3, ret); in kvmppc_h_pr_bulk_remove() 257 kvmppc_set_gpr(vcpu, 3, ret); in kvmppc_h_pr_protect() 269 kvmppc_set_gpr(vcpu, 3, rc); in kvmppc_h_pr_logical_ci_load() 280 kvmppc_set_gpr(vcpu, 3, rc); in kvmppc_h_pr_logical_ci_store() 311 kvmppc_set_gpr(vcpu, 3, rc); in kvmppc_h_pr_put_tce() 327 kvmppc_set_gpr(vcpu, 3, rc); in kvmppc_h_pr_put_tce_indirect() 342 kvmppc_set_gpr(vcpu, 3, rc); in kvmppc_h_pr_stuff_tce() 366 kvmppc_set_gpr(vcpu, 3, rc); in kvmppc_h_pr_xics_hcall() [all …]
|
H A D | emulate_loadstore.c | 114 kvmppc_set_gpr(vcpu, op.update_reg, vcpu->arch.vaddr_accessed); in kvmppc_emulate_loadstore() 134 kvmppc_set_gpr(vcpu, op.update_reg, vcpu->arch.vaddr_accessed); in kvmppc_emulate_loadstore() 233 kvmppc_set_gpr(vcpu, op.update_reg, vcpu->arch.vaddr_accessed); in kvmppc_emulate_loadstore() 257 kvmppc_set_gpr(vcpu, op.update_reg, vcpu->arch.vaddr_accessed); in kvmppc_emulate_loadstore()
|
H A D | book3s_paired_singles.c | 698 kvmppc_set_gpr(vcpu, ax_ra, addr); in kvmppc_emulate_paired_single() 721 kvmppc_set_gpr(vcpu, ax_ra, addr); in kvmppc_emulate_paired_single() 755 kvmppc_set_gpr(vcpu, ax_ra, addr); in kvmppc_emulate_paired_single() 842 kvmppc_set_gpr(vcpu, ax_ra, addr); in kvmppc_emulate_paired_single() 939 kvmppc_set_gpr(vcpu, ax_ra, addr); in kvmppc_emulate_paired_single() 958 kvmppc_set_gpr(vcpu, ax_ra, addr); in kvmppc_emulate_paired_single() 977 kvmppc_set_gpr(vcpu, ax_ra, addr); in kvmppc_emulate_paired_single() 996 kvmppc_set_gpr(vcpu, ax_ra, addr); in kvmppc_emulate_paired_single() 1019 kvmppc_set_gpr(vcpu, ax_ra, addr); in kvmppc_emulate_paired_single() 1040 kvmppc_set_gpr(vcpu, ax_ra, addr); in kvmppc_emulate_paired_single() [all …]
|
H A D | book3s_emulate.c | 256 kvmppc_set_gpr(vcpu, 3, EV_UNIMPLEMENTED); in kvmppc_core_emulate_op_pr() 295 kvmppc_set_gpr(vcpu, rt, kvmppc_get_msr(vcpu)); in kvmppc_core_emulate_op_pr() 320 kvmppc_set_gpr(vcpu, rt, sr); in kvmppc_core_emulate_op_pr() 332 kvmppc_set_gpr(vcpu, rt, sr); in kvmppc_core_emulate_op_pr() 415 kvmppc_set_gpr(vcpu, rt, t); in kvmppc_core_emulate_op_pr() 430 kvmppc_set_gpr(vcpu, rt, t); in kvmppc_core_emulate_op_pr() 441 kvmppc_set_gpr(vcpu, rt, t); in kvmppc_core_emulate_op_pr()
|
H A D | book3s.c | 602 kvmppc_set_gpr(vcpu, i, regs->gpr[i]); in kvm_arch_vcpu_ioctl_set_regs() 952 kvmppc_set_gpr(vcpu, 4, *(u8 *)&buf); in kvmppc_h_logical_ci_load() 956 kvmppc_set_gpr(vcpu, 4, be16_to_cpu(*(__be16 *)&buf)); in kvmppc_h_logical_ci_load() 960 kvmppc_set_gpr(vcpu, 4, be32_to_cpu(*(__be32 *)&buf)); in kvmppc_h_logical_ci_load() 964 kvmppc_set_gpr(vcpu, 4, be64_to_cpu(*(__be64 *)&buf)); in kvmppc_h_logical_ci_load()
|
H A D | book3s_xics.c | 716 kvmppc_set_gpr(vcpu, 4, ((u32)state.cppr << 24) | state.xisr); in kvmppc_h_ipoll() 717 kvmppc_set_gpr(vcpu, 5, state.mfrr); in kvmppc_h_ipoll() 889 kvmppc_set_gpr(vcpu, 4, res); in kvmppc_xics_hcall() 890 kvmppc_set_gpr(vcpu, 5, get_tb()); in kvmppc_xics_hcall() 904 kvmppc_set_gpr(vcpu, 4, res); in kvmppc_xics_hcall()
|
H A D | emulate.c | 186 kvmppc_set_gpr(vcpu, rt, spr_val); in kvmppc_emulate_mfspr()
|
H A D | book3s_hv_rm_xics.c | 484 kvmppc_set_gpr(vcpu, 5, get_tb()); in xics_rm_h_xirr_x() 521 kvmppc_set_gpr(vcpu, 4, xirr); in xics_rm_h_xirr()
|
H A D | book3s_hv_rm_mmu.c | 779 kvmppc_set_gpr(vcpu, 4 + i * 2, v); in kvmppc_h_read() 780 kvmppc_set_gpr(vcpu, 5 + i * 2, r); in kvmppc_h_read() 827 kvmppc_set_gpr(vcpu, 4, gr); in kvmppc_h_clear_ref() 875 kvmppc_set_gpr(vcpu, 4, gr); in kvmppc_h_clear_mod()
|
H A D | book3s_64_vio.c | 798 kvmppc_set_gpr(vcpu, 4, 0); in kvmppc_h_get_tce() 803 kvmppc_set_gpr(vcpu, 4, tbl[idx % TCES_PER_PAGE]); in kvmppc_h_get_tce()
|
H A D | powerpc.c | 247 kvmppc_set_gpr(vcpu, 4, r2); in kvmppc_kvm_pv() 1185 kvmppc_set_gpr(vcpu, vcpu->arch.io_gpr, gpr); in kvmppc_complete_mmio_load() 1837 kvmppc_set_gpr(vcpu, i, gprs[i]); in kvm_arch_vcpu_ioctl_run() 1842 kvmppc_set_gpr(vcpu, 3, run->papr_hcall.ret); in kvm_arch_vcpu_ioctl_run() 1844 kvmppc_set_gpr(vcpu, 4 + i, run->papr_hcall.args[i]); in kvm_arch_vcpu_ioctl_run()
|
H A D | e500_emulate.c | 120 kvmppc_set_gpr(vcpu, rt, in kvmppc_e500_emul_mftmr()
|
H A D | booke_emulate.c | 80 kvmppc_set_gpr(vcpu, rt, vcpu->arch.shared->msr); in kvmppc_booke_emulate_op()
|
H A D | book3s_hv_builtin.c | 190 kvmppc_set_gpr(vcpu, 4, rand); in kvmppc_rm_h_random()
|
H A D | book3s_hv.c | 1104 kvmppc_set_gpr(vcpu, 3, H_SUCCESS); in kvmppc_nested_h_rpt_invalidate() 1326 kvmppc_set_gpr(vcpu, 4, rand); in kvmppc_pseries_do_hcall() 1349 kvmppc_set_gpr(vcpu, 3, 0); in kvmppc_pseries_do_hcall() 1353 kvmppc_set_gpr(vcpu, 3, 0); in kvmppc_pseries_do_hcall() 1414 kvmppc_set_gpr(vcpu, 3, ret); in kvmppc_pseries_do_hcall() 1581 kvmppc_set_gpr(vcpu, get_rt(inst), arg); in kvmppc_emulate_doorbell_instr() 4392 kvmppc_set_gpr(vcpu, 3, 0); in kvmhv_p9_guest_entry() 4427 kvmppc_set_gpr(vcpu, 3, 0); in kvmhv_p9_guest_entry() 4440 kvmppc_set_gpr(vcpu, 3, 0); in kvmhv_p9_guest_entry() 4449 kvmppc_set_gpr(vcpu, 3, ret); in kvmhv_p9_guest_entry()
|
H A D | booke.c | 1256 kvmppc_set_gpr(vcpu, 3, kvmppc_kvm_pv(vcpu)); in kvmppc_handle_exit() 1272 kvmppc_set_gpr(vcpu, 3, kvmppc_kvm_pv(vcpu)); in kvmppc_handle_exit() 1503 kvmppc_set_gpr(vcpu, i, regs->gpr[i]); in kvm_arch_vcpu_ioctl_set_regs() 2141 kvmppc_set_gpr(vcpu, 1, (16<<20) - 8); /* -8 for the callee-save LR slot */ in kvmppc_core_vcpu_create()
|
H A D | book3s_xive.c | 331 kvmppc_set_gpr(vcpu, 4, hirq | (old_cppr << 24)); in xive_vm_h_xirr() 367 kvmppc_set_gpr(vcpu, 4, hirq | (xc->cppr << 24)); in xive_vm_h_ipoll() 2800 kvmppc_set_gpr(vcpu, 5, get_tb() + kvmppc_get_tb_offset(vcpu)); in kvmppc_xive_xics_hcall()
|
H A D | book3s_pr.c | 1332 kvmppc_set_gpr(vcpu, 3, kvmppc_kvm_pv(vcpu)); in kvmppc_handle_exit_pr()
|
/linux/arch/powerpc/include/asm/ |
H A D | kvm_booke.h | 26 static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) in kvmppc_set_gpr() function
|
H A D | kvm_book3s.h | 401 static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) in kvmppc_set_gpr() function
|