/linux/arch/powerpc/kvm/ |
A D | book3s_pr_papr.c | 38 long flags = kvmppc_get_gpr(vcpu, 4); in kvmppc_h_pr_enter() 39 long pte_index = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_enter() 70 hpte[0] = cpu_to_be64(kvmppc_get_gpr(vcpu, 6)); in kvmppc_h_pr_enter() 71 hpte[1] = cpu_to_be64(kvmppc_get_gpr(vcpu, 7)); in kvmppc_h_pr_enter() 88 unsigned long flags= kvmppc_get_gpr(vcpu, 4); in kvmppc_h_pr_remove() 90 unsigned long avpn = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_remove() 218 unsigned long avpn = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_protect() 288 unsigned long ioba = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_put_tce() 289 unsigned long tce = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_put_tce() 302 unsigned long ioba = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_put_tce_indirect() [all …]
|
A D | book3s_paired_singles.c | 735 addr += kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() 749 addr += kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() 826 addr += kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() 1011 kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() 1023 kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() 1032 kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() 1044 kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() 1053 kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() 1065 kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() 1074 kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() [all …]
|
A D | book3s_emulate.c | 339 kvmppc_get_gpr(vcpu, rs)); in kvmppc_core_emulate_op_pr() 344 kvmppc_get_gpr(vcpu, rs)); in kvmppc_core_emulate_op_pr() 389 kvmppc_get_gpr(vcpu, rs), in kvmppc_core_emulate_op_pr() 390 kvmppc_get_gpr(vcpu, rb)); in kvmppc_core_emulate_op_pr() 397 kvmppc_get_gpr(vcpu, rb)); in kvmppc_core_emulate_op_pr() 412 b = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr() 428 rb_val = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr() 439 rb_val = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr() 1057 dar = kvmppc_get_gpr(vcpu, ra); in kvmppc_alignment_dar() 1062 dar = kvmppc_get_gpr(vcpu, ra); in kvmppc_alignment_dar() [all …]
|
A D | book3s_hv.c | 1005 kvmppc_get_gpr(vcpu, 5), in kvmppc_pseries_do_hcall() 1006 kvmppc_get_gpr(vcpu, 6)); in kvmppc_pseries_do_hcall() 1012 kvmppc_get_gpr(vcpu, 5), in kvmppc_pseries_do_hcall() 1013 kvmppc_get_gpr(vcpu, 6), in kvmppc_pseries_do_hcall() 1014 kvmppc_get_gpr(vcpu, 7)); in kvmppc_pseries_do_hcall() 1020 kvmppc_get_gpr(vcpu, 5)); in kvmppc_pseries_do_hcall() 1026 kvmppc_get_gpr(vcpu, 5)); in kvmppc_pseries_do_hcall() 1038 kvmppc_get_gpr(vcpu, 5), in kvmppc_pseries_do_hcall() 1079 kvmppc_get_gpr(vcpu, 5), in kvmppc_pseries_do_hcall() 1109 kvmppc_get_gpr(vcpu, 5), in kvmppc_pseries_do_hcall() [all …]
|
A D | trace_hv.h | 348 __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);
|
A D | book3s_hv_nested.c | 307 hv_ptr = kvmppc_get_gpr(vcpu, 4); in kvmhv_enter_nested_guest() 308 regs_ptr = kvmppc_get_gpr(vcpu, 5); in kvmhv_enter_nested_guest() 539 unsigned long ptcr = kvmppc_get_gpr(vcpu, 4); in kvmhv_set_partition_table() 569 int l1_lpid = kvmppc_get_gpr(vcpu, 4); in kvmhv_copy_tofrom_guest_nested() 570 int pid = kvmppc_get_gpr(vcpu, 5); in kvmhv_copy_tofrom_guest_nested() 571 gva_t eaddr = kvmppc_get_gpr(vcpu, 6); in kvmhv_copy_tofrom_guest_nested() 572 gpa_t gp_to = (gpa_t) kvmppc_get_gpr(vcpu, 7); in kvmhv_copy_tofrom_guest_nested() 573 gpa_t gp_from = (gpa_t) kvmppc_get_gpr(vcpu, 8); in kvmhv_copy_tofrom_guest_nested() 575 unsigned long n = kvmppc_get_gpr(vcpu, 9); in kvmhv_copy_tofrom_guest_nested() 1238 ret = kvmhv_emulate_priv_tlbie(vcpu, kvmppc_get_gpr(vcpu, 4), in kvmhv_do_nested_tlbie() [all …]
|
A D | book3s.c | 119 crit_r1 = kvmppc_get_gpr(vcpu, 1); in kvmppc_critical_section() 557 regs->gpr[i] = kvmppc_get_gpr(vcpu, i); in kvm_arch_vcpu_ioctl_get_regs() 924 unsigned long size = kvmppc_get_gpr(vcpu, 4); in kvmppc_h_logical_ci_load() 925 unsigned long addr = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_logical_ci_load() 966 unsigned long size = kvmppc_get_gpr(vcpu, 4); in kvmppc_h_logical_ci_store() 967 unsigned long addr = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_logical_ci_store() 968 unsigned long val = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_logical_ci_store()
|
A D | book3s_hv_tm.c | 120 newmsr = kvmppc_get_gpr(vcpu, rs); in kvmhv_p9_tm_emulation() 196 ra = kvmppc_get_gpr(vcpu, ra) & 0xff; in kvmhv_p9_tm_emulation()
|
A D | book3s_xics.c | 893 rc = kvmppc_h_ipoll(vcpu, kvmppc_get_gpr(vcpu, 4)); in kvmppc_xics_hcall() 907 kvmppc_h_cppr(vcpu, kvmppc_get_gpr(vcpu, 4)); in kvmppc_xics_hcall() 910 rc = kvmppc_h_eoi(vcpu, kvmppc_get_gpr(vcpu, 4)); in kvmppc_xics_hcall() 913 rc = kvmppc_h_ipi(vcpu, kvmppc_get_gpr(vcpu, 4), in kvmppc_xics_hcall() 914 kvmppc_get_gpr(vcpu, 5)); in kvmppc_xics_hcall()
|
A D | book3s_hv_tm_builtin.c | 76 newmsr = kvmppc_get_gpr(vcpu, rs); in kvmhv_p9_tm_emulation_early()
|
A D | booke_emulate.c | 86 kvmppc_set_msr(vcpu, kvmppc_get_gpr(vcpu, rs)); in kvmppc_booke_emulate_op() 91 | (kvmppc_get_gpr(vcpu, rs) & MSR_EE); in kvmppc_booke_emulate_op()
|
A D | booke.c | 105 kvmppc_get_gpr(vcpu, i), in kvmppc_dump_vcpu() 106 kvmppc_get_gpr(vcpu, i+1), in kvmppc_dump_vcpu() 107 kvmppc_get_gpr(vcpu, i+2), in kvmppc_dump_vcpu() 108 kvmppc_get_gpr(vcpu, i+3)); in kvmppc_dump_vcpu() 419 ulong crit_r1 = kvmppc_get_gpr(vcpu, 1); in kvmppc_booke_irqprio_deliver() 1262 (((u32)kvmppc_get_gpr(vcpu, 0)) == KVM_SC_MAGIC_R0)) { in kvmppc_handle_exit() 1464 regs->gpr[i] = kvmppc_get_gpr(vcpu, i); in kvm_arch_vcpu_ioctl_get_regs()
|
A D | book3s_pr.c | 1295 ulong cmd = kvmppc_get_gpr(vcpu, 3); in kvmppc_handle_exit_pr() 1307 ulong gpr = kvmppc_get_gpr(vcpu, 4 + i); in kvmppc_handle_exit_pr() 1314 (((u32)kvmppc_get_gpr(vcpu, 3)) == OSI_SC_MAGIC_R3) && in kvmppc_handle_exit_pr() 1315 (((u32)kvmppc_get_gpr(vcpu, 4)) == OSI_SC_MAGIC_R4)) { in kvmppc_handle_exit_pr() 1322 gprs[i] = kvmppc_get_gpr(vcpu, i); in kvmppc_handle_exit_pr() 1326 (((u32)kvmppc_get_gpr(vcpu, 0)) == KVM_SC_MAGIC_R0)) { in kvmppc_handle_exit_pr()
|
A D | emulate.c | 78 ulong spr_val = kvmppc_get_gpr(vcpu, rs); in kvmppc_emulate_mtspr()
|
A D | book3s_xive.c | 2186 return xive_vm_h_cppr(vcpu, kvmppc_get_gpr(vcpu, 4)); in kvmppc_xive_xics_hcall() 2188 return xive_vm_h_eoi(vcpu, kvmppc_get_gpr(vcpu, 4)); in kvmppc_xive_xics_hcall() 2190 return xive_vm_h_ipi(vcpu, kvmppc_get_gpr(vcpu, 4), in kvmppc_xive_xics_hcall() 2191 kvmppc_get_gpr(vcpu, 5)); in kvmppc_xive_xics_hcall() 2193 return xive_vm_h_ipoll(vcpu, kvmppc_get_gpr(vcpu, 4)); in kvmppc_xive_xics_hcall()
|
A D | book3s_rtas.c | 230 args_phys = kvmppc_get_gpr(vcpu, 4) & KVM_PAM; in kvmppc_rtas_hcall()
|
A D | powerpc.c | 163 int nr = kvmppc_get_gpr(vcpu, 11); in kvmppc_kvm_pv() 165 unsigned long __maybe_unused param1 = kvmppc_get_gpr(vcpu, 3); in kvmppc_kvm_pv() 166 unsigned long __maybe_unused param2 = kvmppc_get_gpr(vcpu, 4); in kvmppc_kvm_pv() 167 unsigned long __maybe_unused param3 = kvmppc_get_gpr(vcpu, 5); in kvmppc_kvm_pv() 168 unsigned long __maybe_unused param4 = kvmppc_get_gpr(vcpu, 6); in kvmppc_kvm_pv()
|
/linux/arch/powerpc/include/asm/ |
A D | kvm_booke.h | 31 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr() function
|
A D | kvm_ppc.h | 1024 ea = kvmppc_get_gpr(vcpu, rb); in kvmppc_get_ea_indexed() 1026 ea += kvmppc_get_gpr(vcpu, ra); in kvmppc_get_ea_indexed()
|
A D | kvm_book3s.h | 343 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr() function
|