Home
last modified time | relevance | path

Searched refs:ipa (Results 1 – 25 of 40) sorted by relevance

12

/arch/arm64/kvm/
Dpvtime.c80 u64 ipa; in kvm_arm_pvtime_set_attr() local
88 if (get_user(ipa, user)) in kvm_arm_pvtime_set_attr()
90 if (!IS_ALIGNED(ipa, 64)) in kvm_arm_pvtime_set_attr()
97 if (kvm_is_error_hva(gfn_to_hva(kvm, ipa >> PAGE_SHIFT))) in kvm_arm_pvtime_set_attr()
102 vcpu->arch.steal.base = ipa; in kvm_arm_pvtime_set_attr()
111 u64 ipa; in kvm_arm_pvtime_get_attr() local
117 ipa = vcpu->arch.steal.base; in kvm_arm_pvtime_get_attr()
119 if (put_user(ipa, user)) in kvm_arm_pvtime_get_attr()
Dtrace_arm.h55 unsigned long long ipa),
56 TP_ARGS(vcpu_pc, hsr, hxfar, ipa),
62 __field( unsigned long long, ipa )
69 __entry->ipa = ipa;
73 __entry->ipa, __entry->hsr,
78 TP_PROTO(unsigned long ipa),
79 TP_ARGS(ipa),
82 __field( unsigned long, ipa )
86 __entry->ipa = ipa;
89 TP_printk("IPA: %lx", __entry->ipa)
Dpkvm.c291 static int pkvm_vm_ioctl_set_fw_ipa(struct kvm *kvm, u64 ipa) in pkvm_vm_ioctl_set_fw_ipa() argument
304 kvm->arch.pkvm.pvmfw_load_addr = ipa; in pkvm_vm_ioctl_set_fw_ipa()
/arch/arm64/kvm/hyp/include/nvhe/
Dmem_protect.h72 int __pkvm_guest_share_host(struct kvm_vcpu *vcpu, u64 ipa);
73 int __pkvm_guest_unshare_host(struct kvm_vcpu *vcpu, u64 ipa);
76 int __pkvm_install_ioguard_page(struct kvm_vcpu *vcpu, u64 ipa);
77 int __pkvm_remove_ioguard_page(struct kvm_vcpu *vcpu, u64 ipa);
Dpkvm.h98 static inline bool ipa_in_pvmfw_region(struct kvm_shadow_vm *vm, u64 ipa) in ipa_in_pvmfw_region() argument
105 return ipa - pkvm->pvmfw_load_addr < pvmfw_size; in ipa_in_pvmfw_region()
108 int pkvm_load_pvmfw_pages(struct kvm_shadow_vm *vm, u64 ipa, phys_addr_t phys,
/arch/s390/kvm/
Dintercept.c37 ilen = insn_length(vcpu->arch.sie_block->ipa >> 8); in kvm_s390_get_ilen()
110 vcpu->arch.sie_block->ipa, in handle_instruction()
113 switch (vcpu->arch.sie_block->ipa >> 8) { in handle_instruction()
377 if (vcpu->arch.sie_block->ipa == 0xb254) /* MVPG */ in handle_partial_execution()
379 if (vcpu->arch.sie_block->ipa >> 8 == 0xae) /* SIGP */ in handle_partial_execution()
454 trace_kvm_s390_handle_operexc(vcpu, vcpu->arch.sie_block->ipa, in handle_operexc()
457 if (vcpu->arch.sie_block->ipa == 0xb256) in handle_operexc()
460 if (vcpu->arch.sie_block->ipa == 0 && vcpu->kvm->arch.user_instr0) in handle_operexc()
547 if (vcpu->arch.sie_block->ipa == 0xb210) in handle_pv_notification()
549 if (vcpu->arch.sie_block->ipa == 0xb220) in handle_pv_notification()
[all …]
Ddiag.c25 start = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in diag_release_pages()
26 end = vcpu->run->s.regs.gprs[vcpu->arch.sie_block->ipa & 0xf] + PAGE_SIZE; in diag_release_pages()
72 u16 rx = (vcpu->arch.sie_block->ipa & 0xf0) >> 4; in __diag_page_ref_service()
73 u16 ry = (vcpu->arch.sie_block->ipa & 0x0f); in __diag_page_ref_service()
172 tid = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in __diag_time_slice_end_directed()
214 unsigned int reg = vcpu->arch.sie_block->ipa & 0xf; in __diag_ipl_functions()
Dtrace.h152 TP_PROTO(VCPU_PROTO_COMMON, __u16 ipa, __u32 ipb),
153 TP_ARGS(VCPU_ARGS_COMMON, ipa, ipb),
162 __entry->instruction = ((__u64)ipa << 48) |
419 TP_PROTO(VCPU_PROTO_COMMON, __u16 ipa, __u32 ipb),
420 TP_ARGS(VCPU_ARGS_COMMON, ipa, ipb),
429 __entry->instruction = ((__u64)ipa << 48) |
Dpriv.c49 if ((vcpu->arch.sie_block->ipa & 0xf) <= 4) in kvm_s390_handle_aa()
593 if (vcpu->arch.sie_block->ipa == 0xb236) in handle_io_inst()
595 if (vcpu->arch.sie_block->ipa == 0xb235) in handle_io_inst()
944 switch (vcpu->arch.sie_block->ipa & 0x00ff) { in kvm_s390_handle_b2()
1280 switch (vcpu->arch.sie_block->ipa & 0x00ff) { in kvm_s390_handle_b9()
1298 int reg1 = (vcpu->arch.sie_block->ipa & 0x00f0) >> 4; in kvm_s390_handle_lctl()
1299 int reg3 = vcpu->arch.sie_block->ipa & 0x000f; in kvm_s390_handle_lctl()
1337 int reg1 = (vcpu->arch.sie_block->ipa & 0x00f0) >> 4; in kvm_s390_handle_stctl()
1338 int reg3 = vcpu->arch.sie_block->ipa & 0x000f; in kvm_s390_handle_stctl()
1371 int reg1 = (vcpu->arch.sie_block->ipa & 0x00f0) >> 4; in handle_lctlg()
[all …]
Dsigp.c439 int r1 = (vcpu->arch.sie_block->ipa & 0x00f0) >> 4; in kvm_s390_handle_sigp()
440 int r3 = vcpu->arch.sie_block->ipa & 0x000f; in kvm_s390_handle_sigp()
490 int r3 = vcpu->arch.sie_block->ipa & 0x000f; in kvm_s390_handle_sigp_pei()
Dvsie.c57 scb->ipa = 0x1000; in set_validity_icpt()
392 scb_o->ipa = scb_s->ipa; in unshadow_scb()
953 int ilen = insn_length(scb_s->ipa >> 8); in retry_vsie_icpt()
1155 if (scb_s->ipa == 0xb2b0) in do_vsie_run()
1164 if ((scb_s->ipa & 0xf000) != 0xf000) in do_vsie_run()
1165 scb_s->ipa += 0x1000; in do_vsie_run()
1168 if (scb_s->ipa == 0xb254) in do_vsie_run()
/arch/arm64/kvm/hyp/vhe/
Dtlb.c83 phys_addr_t ipa, int level) in __kvm_tlb_flush_vmid_ipa() argument
97 ipa >>= 12; in __kvm_tlb_flush_vmid_ipa()
98 __tlbi_level(ipas2e1is, ipa, level); in __kvm_tlb_flush_vmid_ipa()
/arch/arm64/include/asm/
Dstage2_pgtable.h30 #define stage2_pgtable_levels(ipa) ARM64_HW_PGTABLE_LEVELS((ipa) - 4) argument
Dkvm_arm.h266 #define ARM64_VTTBR_X(ipa, levels) ((ipa) - ((levels) * (PAGE_SHIFT - 3))) argument
Dkvm_asm.h215 extern void __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, phys_addr_t ipa,
/arch/arm/boot/dts/
Dqcom-sdx55.dtsi177 ipa_smp2p_out: ipa-ap-to-modem {
178 qcom,entry-name = "ipa";
182 ipa_smp2p_in: ipa-modem-to-ap {
183 qcom,entry-name = "ipa";
279 compatible = "qcom,sdx55-ipa-virt";
313 ipa: ipa@1e40000 { label
314 compatible = "qcom,sdx55-ipa";
321 reg-names = "ipa-reg",
322 "ipa-shared",
329 interrupt-names = "ipa",
[all …]
/arch/arm64/kvm/hyp/nvhe/
Dtlb.c125 phys_addr_t ipa, int level) in __kvm_tlb_flush_vmid_ipa() argument
139 ipa >>= 12; in __kvm_tlb_flush_vmid_ipa()
140 __tlbi_level(ipas2e1is, ipa, level); in __kvm_tlb_flush_vmid_ipa()
Dmem_protect.c1593 int __pkvm_guest_share_host(struct kvm_vcpu *vcpu, u64 ipa) in __pkvm_guest_share_host() argument
1601 .addr = ipa, in __pkvm_guest_share_host()
1624 int __pkvm_guest_unshare_host(struct kvm_vcpu *vcpu, u64 ipa) in __pkvm_guest_unshare_host() argument
1632 .addr = ipa, in __pkvm_guest_unshare_host()
1980 static bool __check_ioguard_page(struct kvm_vcpu *vcpu, u64 ipa) in __check_ioguard_page() argument
1987 ret = kvm_pgtable_get_leaf(&vm->pgt, ipa, &pte, &level); in __check_ioguard_page()
1996 int __pkvm_install_ioguard_page(struct kvm_vcpu *vcpu, u64 ipa) in __pkvm_install_ioguard_page() argument
2008 if (ipa & ~PAGE_MASK) in __pkvm_install_ioguard_page()
2013 ret = kvm_pgtable_get_leaf(&vm->pgt, ipa, &pte, &level); in __pkvm_install_ioguard_page()
2028 ret = kvm_pgtable_stage2_annotate(&vm->pgt, ipa, PAGE_SIZE, in __pkvm_install_ioguard_page()
[all …]
Dpkvm.c867 int pkvm_load_pvmfw_pages(struct kvm_shadow_vm *vm, u64 ipa, phys_addr_t phys, in pkvm_load_pvmfw_pages() argument
871 u64 npages, offset = ipa - pkvm->pvmfw_load_addr; in pkvm_load_pvmfw_pages()
1229 static u64 __pkvm_memshare_page_req(struct kvm_vcpu *vcpu, u64 ipa) in __pkvm_memshare_page_req() argument
1239 vcpu->arch.fault.hpfar_el2 = (ipa >> 8) & HPFAR_MASK; in __pkvm_memshare_page_req()
1254 u64 ipa = smccc_get_arg1(vcpu); in pkvm_memshare_call() local
1262 err = __pkvm_guest_share_host(vcpu, ipa); in pkvm_memshare_call()
1272 *exit_code = __pkvm_memshare_page_req(vcpu, ipa); in pkvm_memshare_call()
1286 u64 ipa = smccc_get_arg1(vcpu); in pkvm_memunshare_call() local
1294 err = __pkvm_guest_unshare_host(vcpu, ipa); in pkvm_memunshare_call()
1308 u64 ipa = smccc_get_arg1(vcpu); in pkvm_install_ioguard_page() local
[all …]
/arch/arm64/boot/dts/qcom/
Dsc7280-idp.dts59 &ipa {
Dsm8350.dtsi415 ipa_smp2p_out: ipa-ap-to-modem {
416 qcom,entry-name = "ipa";
420 ipa_smp2p_in: ipa-modem-to-ap {
421 qcom,entry-name = "ipa";
710 ipa: ipa@1e40000 { label
711 compatible = "qcom,sm8350-ipa";
718 reg-names = "ipa-reg",
719 "ipa-shared",
726 interrupt-names = "ipa",
728 "ipa-clock-query",
[all …]
Dsc7280.dtsi372 ipa_smp2p_out: ipa-ap-to-modem {
373 qcom,entry-name = "ipa";
377 ipa_smp2p_in: ipa-modem-to-ap {
378 qcom,entry-name = "ipa";
590 ipa: ipa@1e40000 { label
591 compatible = "qcom,sc7280-ipa";
598 reg-names = "ipa-reg",
599 "ipa-shared",
606 interrupt-names = "ipa",
608 "ipa-clock-query",
[all …]
Dsc7180.dtsi638 ipa_smp2p_out: ipa-ap-to-modem {
639 qcom,entry-name = "ipa";
643 ipa_smp2p_in: ipa-modem-to-ap {
644 qcom,entry-name = "ipa";
1426 compatible = "qcom,sc7180-ipa-virt";
1432 ipa: ipa@1e40000 { label
1433 compatible = "qcom,sc7180-ipa";
1440 reg-names = "ipa-reg",
1441 "ipa-shared",
1448 interrupt-names = "ipa",
[all …]
Dsc7280-idp.dtsi197 &ipa {
Dsdm845.dtsi1017 ipa_smp2p_out: ipa-ap-to-modem {
1018 qcom,entry-name = "ipa";
1022 ipa_smp2p_in: ipa-modem-to-ap {
1023 qcom,entry-name = "ipa";
2346 ipa: ipa@1e40000 { label
2347 compatible = "qcom,sdm845-ipa";
2354 reg-names = "ipa-reg",
2355 "ipa-shared",
2362 interrupt-names = "ipa",
2364 "ipa-clock-query",
[all …]

12