Home
last modified time | relevance | path

Searched refs:kvmppc_get_gpr (Results 1 – 17 of 17) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_pr_papr.c41 long flags = kvmppc_get_gpr(vcpu, 4); in kvmppc_h_pr_enter()
42 long pte_index = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_enter()
73 hpte[0] = cpu_to_be64(kvmppc_get_gpr(vcpu, 6)); in kvmppc_h_pr_enter()
74 hpte[1] = cpu_to_be64(kvmppc_get_gpr(vcpu, 7)); in kvmppc_h_pr_enter()
91 unsigned long flags= kvmppc_get_gpr(vcpu, 4); in kvmppc_h_pr_remove()
92 unsigned long pte_index = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_remove()
93 unsigned long avpn = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_remove()
156 unsigned long tsh = kvmppc_get_gpr(vcpu, paramnr+(2*i)); in kvmppc_h_pr_bulk_remove()
157 unsigned long tsl = kvmppc_get_gpr(vcpu, paramnr+(2*i)+1); in kvmppc_h_pr_bulk_remove()
219 unsigned long flags = kvmppc_get_gpr(vcpu, 4); in kvmppc_h_pr_protect()
[all …]
Dbook3s_paired_singles.c689 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
699 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single()
712 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
722 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single()
742 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
746 addr += kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single()
756 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single()
760 addr += kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single()
833 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single()
837 addr += kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single()
[all …]
Dbook3s_emulate.c138 ulong rs_val = kvmppc_get_gpr(vcpu, rs); in kvmppc_core_emulate_op_pr()
149 kvmppc_set_msr(vcpu, kvmppc_get_gpr(vcpu, rs)); in kvmppc_core_emulate_op_pr()
167 srnum = (kvmppc_get_gpr(vcpu, rb) >> 28) & 0xf; in kvmppc_core_emulate_op_pr()
178 kvmppc_get_gpr(vcpu, rs)); in kvmppc_core_emulate_op_pr()
182 (kvmppc_get_gpr(vcpu, rb) >> 28) & 0xf, in kvmppc_core_emulate_op_pr()
183 kvmppc_get_gpr(vcpu, rs)); in kvmppc_core_emulate_op_pr()
189 ulong addr = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr()
197 ulong cmd = kvmppc_get_gpr(vcpu, 3); in kvmppc_core_emulate_op_pr()
211 ulong gpr = kvmppc_get_gpr(vcpu, 4 + i); in kvmppc_core_emulate_op_pr()
228 kvmppc_get_gpr(vcpu, rs), in kvmppc_core_emulate_op_pr()
[all …]
Demulate_loadstore.c125 kvmppc_get_gpr(vcpu, rs), 8, 1); in kvmppc_emulate_loadstore()
130 kvmppc_get_gpr(vcpu, rs), 8, 1); in kvmppc_emulate_loadstore()
136 kvmppc_get_gpr(vcpu, rs), 4, 1); in kvmppc_emulate_loadstore()
141 kvmppc_get_gpr(vcpu, rs), 4, 1); in kvmppc_emulate_loadstore()
147 kvmppc_get_gpr(vcpu, rs), 1, 1); in kvmppc_emulate_loadstore()
152 kvmppc_get_gpr(vcpu, rs), 1, 1); in kvmppc_emulate_loadstore()
176 kvmppc_get_gpr(vcpu, rs), 2, 1); in kvmppc_emulate_loadstore()
181 kvmppc_get_gpr(vcpu, rs), 2, 1); in kvmppc_emulate_loadstore()
201 kvmppc_get_gpr(vcpu, rs), 4, 0); in kvmppc_emulate_loadstore()
210 kvmppc_get_gpr(vcpu, rs), 2, 0); in kvmppc_emulate_loadstore()
[all …]
Dtrace_hv.h348 __entry->req = kvmppc_get_gpr(vcpu, 3);
349 __entry->gpr4 = kvmppc_get_gpr(vcpu, 4);
350 __entry->gpr5 = kvmppc_get_gpr(vcpu, 5);
351 __entry->gpr6 = kvmppc_get_gpr(vcpu, 6);
352 __entry->gpr7 = kvmppc_get_gpr(vcpu, 7);
375 __entry->hcall_rc = kvmppc_get_gpr(vcpu, 3);
Dbook3s_hv.c369 r, kvmppc_get_gpr(vcpu, r), in kvmppc_dump_regs()
370 r+16, kvmppc_get_gpr(vcpu, r+16)); in kvmppc_dump_regs()
781 unsigned long req = kvmppc_get_gpr(vcpu, 3); in kvmppc_pseries_do_hcall()
795 target = kvmppc_get_gpr(vcpu, 4); in kvmppc_pseries_do_hcall()
807 target = kvmppc_get_gpr(vcpu, 4); in kvmppc_pseries_do_hcall()
815 yield_count = kvmppc_get_gpr(vcpu, 5); in kvmppc_pseries_do_hcall()
821 ret = do_h_register_vpa(vcpu, kvmppc_get_gpr(vcpu, 4), in kvmppc_pseries_do_hcall()
822 kvmppc_get_gpr(vcpu, 5), in kvmppc_pseries_do_hcall()
823 kvmppc_get_gpr(vcpu, 6)); in kvmppc_pseries_do_hcall()
851 ret = kvmppc_h_set_mode(vcpu, kvmppc_get_gpr(vcpu, 4), in kvmppc_pseries_do_hcall()
[all …]
Dbook3s.c120 crit_r1 = kvmppc_get_gpr(vcpu, 1); in kvmppc_critical_section()
522 regs->gpr[i] = kvmppc_get_gpr(vcpu, i); in kvm_arch_vcpu_ioctl_get_regs()
860 unsigned long size = kvmppc_get_gpr(vcpu, 4); in kvmppc_h_logical_ci_load()
861 unsigned long addr = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_logical_ci_load()
902 unsigned long size = kvmppc_get_gpr(vcpu, 4); in kvmppc_h_logical_ci_store()
903 unsigned long addr = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_logical_ci_store()
904 unsigned long val = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_logical_ci_store()
Dbooke_emulate.c97 kvmppc_set_msr(vcpu, kvmppc_get_gpr(vcpu, rs)); in kvmppc_booke_emulate_op()
102 | (kvmppc_get_gpr(vcpu, rs) & MSR_EE); in kvmppc_booke_emulate_op()
Dbook3s_xics.c898 rc = kvmppc_h_ipoll(vcpu, kvmppc_get_gpr(vcpu, 4)); in kvmppc_xics_hcall()
912 kvmppc_h_cppr(vcpu, kvmppc_get_gpr(vcpu, 4)); in kvmppc_xics_hcall()
915 rc = kvmppc_h_eoi(vcpu, kvmppc_get_gpr(vcpu, 4)); in kvmppc_xics_hcall()
918 rc = kvmppc_h_ipi(vcpu, kvmppc_get_gpr(vcpu, 4), in kvmppc_xics_hcall()
919 kvmppc_get_gpr(vcpu, 5)); in kvmppc_xics_hcall()
Demulate.c96 ulong spr_val = kvmppc_get_gpr(vcpu, rs); in kvmppc_emulate_mtspr()
Dbook3s_pr.c1136 ulong cmd = kvmppc_get_gpr(vcpu, 3); in kvmppc_handle_exit_pr()
1148 ulong gpr = kvmppc_get_gpr(vcpu, 4 + i); in kvmppc_handle_exit_pr()
1155 (((u32)kvmppc_get_gpr(vcpu, 3)) == OSI_SC_MAGIC_R3) && in kvmppc_handle_exit_pr()
1156 (((u32)kvmppc_get_gpr(vcpu, 4)) == OSI_SC_MAGIC_R4)) { in kvmppc_handle_exit_pr()
1163 gprs[i] = kvmppc_get_gpr(vcpu, i); in kvmppc_handle_exit_pr()
1167 (((u32)kvmppc_get_gpr(vcpu, 0)) == KVM_SC_MAGIC_R0)) { in kvmppc_handle_exit_pr()
Dbooke.c89 kvmppc_get_gpr(vcpu, i), in kvmppc_dump_vcpu()
90 kvmppc_get_gpr(vcpu, i+1), in kvmppc_dump_vcpu()
91 kvmppc_get_gpr(vcpu, i+2), in kvmppc_dump_vcpu()
92 kvmppc_get_gpr(vcpu, i+3)); in kvmppc_dump_vcpu()
396 ulong crit_r1 = kvmppc_get_gpr(vcpu, 1); in kvmppc_booke_irqprio_deliver()
1223 (((u32)kvmppc_get_gpr(vcpu, 0)) == KVM_SC_MAGIC_R0)) { in kvmppc_handle_exit()
1454 regs->gpr[i] = kvmppc_get_gpr(vcpu, i); in kvm_arch_vcpu_ioctl_get_regs()
Dpowerpc.c170 int nr = kvmppc_get_gpr(vcpu, 11); in kvmppc_kvm_pv()
172 unsigned long __maybe_unused param1 = kvmppc_get_gpr(vcpu, 3); in kvmppc_kvm_pv()
173 unsigned long __maybe_unused param2 = kvmppc_get_gpr(vcpu, 4); in kvmppc_kvm_pv()
174 unsigned long __maybe_unused param3 = kvmppc_get_gpr(vcpu, 5); in kvmppc_kvm_pv()
175 unsigned long __maybe_unused param4 = kvmppc_get_gpr(vcpu, 6); in kvmppc_kvm_pv()
Dbook3s_rtas.c233 args_phys = kvmppc_get_gpr(vcpu, 4) & KVM_PAM; in kvmppc_rtas_hcall()
/arch/powerpc/include/asm/
Dkvm_booke.h42 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr() function
Dkvm_book3s.h276 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr() function
Dkvm_ppc.h881 ea = kvmppc_get_gpr(vcpu, rb); in kvmppc_get_ea_indexed()
883 ea += kvmppc_get_gpr(vcpu, ra); in kvmppc_get_ea_indexed()