| /Linux-v5.10/arch/powerpc/kvm/ |
| 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() 89 unsigned long pte_index = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_pr_remove() 90 unsigned long avpn = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_pr_remove() 153 unsigned long tsh = kvmppc_get_gpr(vcpu, paramnr+(2*i)); in kvmppc_h_pr_bulk_remove() 154 unsigned long tsl = kvmppc_get_gpr(vcpu, paramnr+(2*i)+1); in kvmppc_h_pr_bulk_remove() 216 unsigned long flags = kvmppc_get_gpr(vcpu, 4); in kvmppc_h_pr_protect() [all …]
|
| D | book3s_paired_singles.c | 678 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single() 688 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single() 701 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single() 711 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single() 731 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single() 735 addr += kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() 745 ulong addr = kvmppc_get_gpr(vcpu, ax_ra); in kvmppc_emulate_paired_single() 749 addr += kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() 822 ulong addr = ax_ra ? kvmppc_get_gpr(vcpu, ax_ra) : 0; in kvmppc_emulate_paired_single() 826 addr += kvmppc_get_gpr(vcpu, ax_rb); in kvmppc_emulate_paired_single() [all …]
|
| D | book3s_emulate.c | 303 ulong rs_val = kvmppc_get_gpr(vcpu, rs); in kvmppc_core_emulate_op_pr() 314 kvmppc_set_msr(vcpu, kvmppc_get_gpr(vcpu, rs)); in kvmppc_core_emulate_op_pr() 332 srnum = (kvmppc_get_gpr(vcpu, rb) >> 28) & 0xf; in kvmppc_core_emulate_op_pr() 343 kvmppc_get_gpr(vcpu, rs)); in kvmppc_core_emulate_op_pr() 347 (kvmppc_get_gpr(vcpu, rb) >> 28) & 0xf, in kvmppc_core_emulate_op_pr() 348 kvmppc_get_gpr(vcpu, rs)); in kvmppc_core_emulate_op_pr() 354 ulong addr = kvmppc_get_gpr(vcpu, rb); in kvmppc_core_emulate_op_pr() 362 ulong cmd = kvmppc_get_gpr(vcpu, 3); in kvmppc_core_emulate_op_pr() 376 ulong gpr = kvmppc_get_gpr(vcpu, 4 + i); in kvmppc_core_emulate_op_pr() 393 kvmppc_get_gpr(vcpu, rs), in kvmppc_core_emulate_op_pr() [all …]
|
| 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);
|
| D | book3s_hv.c | 416 r, kvmppc_get_gpr(vcpu, r), in kvmppc_dump_regs() 417 r+16, kvmppc_get_gpr(vcpu, r+16)); in kvmppc_dump_regs() 909 unsigned long req = kvmppc_get_gpr(vcpu, 3); in kvmppc_pseries_do_hcall() 923 target = kvmppc_get_gpr(vcpu, 4); in kvmppc_pseries_do_hcall() 935 target = kvmppc_get_gpr(vcpu, 4); in kvmppc_pseries_do_hcall() 943 yield_count = kvmppc_get_gpr(vcpu, 5); in kvmppc_pseries_do_hcall() 949 ret = do_h_register_vpa(vcpu, kvmppc_get_gpr(vcpu, 4), in kvmppc_pseries_do_hcall() 950 kvmppc_get_gpr(vcpu, 5), in kvmppc_pseries_do_hcall() 951 kvmppc_get_gpr(vcpu, 6)); in kvmppc_pseries_do_hcall() 979 ret = kvmppc_h_set_mode(vcpu, kvmppc_get_gpr(vcpu, 4), in kvmppc_pseries_do_hcall() [all …]
|
| D | book3s_hv_nested.c | 235 hv_ptr = kvmppc_get_gpr(vcpu, 4); in kvmhv_enter_nested_guest() 236 regs_ptr = kvmppc_get_gpr(vcpu, 5); in kvmhv_enter_nested_guest() 446 unsigned long ptcr = kvmppc_get_gpr(vcpu, 4); in kvmhv_set_partition_table() 476 int l1_lpid = kvmppc_get_gpr(vcpu, 4); in kvmhv_copy_tofrom_guest_nested() 477 int pid = kvmppc_get_gpr(vcpu, 5); in kvmhv_copy_tofrom_guest_nested() 478 gva_t eaddr = kvmppc_get_gpr(vcpu, 6); in kvmhv_copy_tofrom_guest_nested() 479 gpa_t gp_to = (gpa_t) kvmppc_get_gpr(vcpu, 7); in kvmhv_copy_tofrom_guest_nested() 480 gpa_t gp_from = (gpa_t) kvmppc_get_gpr(vcpu, 8); in kvmhv_copy_tofrom_guest_nested() 482 unsigned long n = kvmppc_get_gpr(vcpu, 9); in kvmhv_copy_tofrom_guest_nested() 1145 ret = kvmhv_emulate_priv_tlbie(vcpu, kvmppc_get_gpr(vcpu, 4), in kvmhv_do_nested_tlbie() [all …]
|
| D | book3s.c | 95 crit_r1 = kvmppc_get_gpr(vcpu, 1); in kvmppc_critical_section() 527 regs->gpr[i] = kvmppc_get_gpr(vcpu, i); in kvm_arch_vcpu_ioctl_get_regs() 896 unsigned long size = kvmppc_get_gpr(vcpu, 4); in kvmppc_h_logical_ci_load() 897 unsigned long addr = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_logical_ci_load() 938 unsigned long size = kvmppc_get_gpr(vcpu, 4); in kvmppc_h_logical_ci_store() 939 unsigned long addr = kvmppc_get_gpr(vcpu, 5); in kvmppc_h_logical_ci_store() 940 unsigned long val = kvmppc_get_gpr(vcpu, 6); in kvmppc_h_logical_ci_store()
|
| D | book3s_hv_tm.c | 110 newmsr = kvmppc_get_gpr(vcpu, rs); in kvmhv_p9_tm_emulation() 182 ra = kvmppc_get_gpr(vcpu, ra) & 0xff; in kvmhv_p9_tm_emulation()
|
| D | book3s_hv_tm_builtin.c | 76 newmsr = kvmppc_get_gpr(vcpu, rs); in kvmhv_p9_tm_emulation_early()
|
| 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()
|
| 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()
|
| D | booke.c | 79 kvmppc_get_gpr(vcpu, i), in kvmppc_dump_vcpu() 80 kvmppc_get_gpr(vcpu, i+1), in kvmppc_dump_vcpu() 81 kvmppc_get_gpr(vcpu, i+2), in kvmppc_dump_vcpu() 82 kvmppc_get_gpr(vcpu, i+3)); in kvmppc_dump_vcpu() 393 ulong crit_r1 = kvmppc_get_gpr(vcpu, 1); in kvmppc_booke_irqprio_deliver() 1222 (((u32)kvmppc_get_gpr(vcpu, 0)) == KVM_SC_MAGIC_R0)) { in kvmppc_handle_exit() 1424 regs->gpr[i] = kvmppc_get_gpr(vcpu, i); in kvm_arch_vcpu_ioctl_get_regs()
|
| D | emulate.c | 78 ulong spr_val = kvmppc_get_gpr(vcpu, rs); in kvmppc_emulate_mtspr()
|
| D | book3s_pr.c | 1316 ulong cmd = kvmppc_get_gpr(vcpu, 3); in kvmppc_handle_exit_pr() 1328 ulong gpr = kvmppc_get_gpr(vcpu, 4 + i); in kvmppc_handle_exit_pr() 1335 (((u32)kvmppc_get_gpr(vcpu, 3)) == OSI_SC_MAGIC_R3) && in kvmppc_handle_exit_pr() 1336 (((u32)kvmppc_get_gpr(vcpu, 4)) == OSI_SC_MAGIC_R4)) { in kvmppc_handle_exit_pr() 1343 gprs[i] = kvmppc_get_gpr(vcpu, i); in kvmppc_handle_exit_pr() 1347 (((u32)kvmppc_get_gpr(vcpu, 0)) == KVM_SC_MAGIC_R0)) { in kvmppc_handle_exit_pr()
|
| D | book3s_rtas.c | 230 args_phys = kvmppc_get_gpr(vcpu, 4) & KVM_PAM; in kvmppc_rtas_hcall()
|
| 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-v5.10/arch/powerpc/include/asm/ |
| D | kvm_booke.h | 31 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr() function
|
| 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()
|
| D | kvm_book3s.h | 331 static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) in kvmppc_get_gpr() function
|