Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/
Dvgic-v2-cpuif-proxy.c39 phys_addr_t fault_ipa; in __vgic_v2_perform_cpuif_access() local
44 fault_ipa = kvm_vcpu_get_fault_ipa(vcpu); in __vgic_v2_perform_cpuif_access()
45 fault_ipa |= kvm_vcpu_get_hfar(vcpu) & GENMASK(11, 0); in __vgic_v2_perform_cpuif_access()
48 if (fault_ipa < vgic->vgic_cpu_base || in __vgic_v2_perform_cpuif_access()
49 fault_ipa >= (vgic->vgic_cpu_base + KVM_VGIC_V2_CPU_SIZE)) in __vgic_v2_perform_cpuif_access()
59 if (fault_ipa & 3) { in __vgic_v2_perform_cpuif_access()
66 addr += fault_ipa - vgic->vgic_cpu_base; in __vgic_v2_perform_cpuif_access()
/kernel/linux/linux-5.10/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.c741 static int user_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa, in user_mem_abort() argument
818 fault_ipa &= ~(vma_pagesize - 1); in user_mem_abort()
820 gfn = fault_ipa >> PAGE_SHIFT; in user_mem_abort()
881 &pfn, &fault_ipa); in user_mem_abort()
907 ret = kvm_pgtable_stage2_relax_perms(pgt, fault_ipa, prot); in user_mem_abort()
909 ret = kvm_pgtable_stage2_map(pgt, fault_ipa, vma_pagesize, in user_mem_abort()
922 static void handle_access_fault(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa) in handle_access_fault() argument
928 trace_kvm_access_fault(fault_ipa); in handle_access_fault()
932 kpte = kvm_pgtable_stage2_mkyoung(mmu->pgt, fault_ipa); in handle_access_fault()
954 phys_addr_t fault_ipa; in kvm_handle_guest_abort() local
[all …]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_host.h544 int io_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa);
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dkvm.h325 __u64 fault_ipa; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dkvm.h416 __u64 fault_ipa; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dkvm.h416 __u64 fault_ipa; member
/kernel/linux/linux-5.10/Documentation/virt/kvm/
Dapi.rst5246 __u64 fault_ipa;
5267 in the fault_ipa field. Userspace can either fix up the access if it's
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0001_linux_arch.patch15556 static int user_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa,
15559 @@ -893,10 +911,18 @@ static int user_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa,