Home
last modified time | relevance | path

Searched refs:fault_ipa (Results 1 – 4 of 4) sorted by relevance

/arch/arm64/kvm/hyp/
Dvgic-v2-cpuif-proxy.c41 phys_addr_t fault_ipa; in __vgic_v2_perform_cpuif_access() local
46 fault_ipa = kvm_vcpu_get_fault_ipa(vcpu); in __vgic_v2_perform_cpuif_access()
47 fault_ipa |= kvm_vcpu_get_hfar(vcpu) & GENMASK(11, 0); in __vgic_v2_perform_cpuif_access()
50 if (fault_ipa < vgic->vgic_cpu_base || in __vgic_v2_perform_cpuif_access()
51 fault_ipa >= (vgic->vgic_cpu_base + KVM_VGIC_V2_CPU_SIZE)) in __vgic_v2_perform_cpuif_access()
61 if (fault_ipa & 3) { in __vgic_v2_perform_cpuif_access()
68 addr += fault_ipa - vgic->vgic_cpu_base; in __vgic_v2_perform_cpuif_access()
/arch/arm64/kvm/
Dmmio.c123 int io_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa) in io_mem_abort() argument
141 run->arm_nisv.fault_ipa = fault_ipa; in io_mem_abort()
162 trace_kvm_mmio(KVM_TRACE_MMIO_WRITE, len, fault_ipa, &data); in io_mem_abort()
165 ret = kvm_io_bus_write(vcpu, KVM_MMIO_BUS, fault_ipa, len, in io_mem_abort()
169 fault_ipa, NULL); in io_mem_abort()
171 ret = kvm_io_bus_read(vcpu, KVM_MMIO_BUS, fault_ipa, len, in io_mem_abort()
177 run->mmio.phys_addr = fault_ipa; in io_mem_abort()
Dmmu.c824 static int user_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa, in user_mem_abort() argument
901 fault_ipa &= ~(vma_pagesize - 1); in user_mem_abort()
903 gfn = fault_ipa >> PAGE_SHIFT; in user_mem_abort()
964 &pfn, &fault_ipa); in user_mem_abort()
987 ret = kvm_pgtable_stage2_relax_perms(pgt, fault_ipa, prot); in user_mem_abort()
989 ret = kvm_pgtable_stage2_map(pgt, fault_ipa, vma_pagesize, in user_mem_abort()
1008 static void handle_access_fault(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa) in handle_access_fault() argument
1014 trace_kvm_access_fault(fault_ipa); in handle_access_fault()
1018 kpte = kvm_pgtable_stage2_mkyoung(mmu->pgt, fault_ipa); in handle_access_fault()
1040 phys_addr_t fault_ipa; in kvm_handle_guest_abort() local
[all …]
/arch/arm64/include/asm/
Dkvm_host.h670 int io_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa);