Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/arch/arm64/kvm/
Dmmio.c123 int io_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa) in io_mem_abort() argument
142 run->arm_nisv.fault_ipa = fault_ipa; in io_mem_abort()
163 trace_kvm_mmio(KVM_TRACE_MMIO_WRITE, len, fault_ipa, &data); in io_mem_abort()
166 ret = kvm_io_bus_write(vcpu, KVM_MMIO_BUS, fault_ipa, len, in io_mem_abort()
170 fault_ipa, NULL); in io_mem_abort()
172 ret = kvm_io_bus_read(vcpu, KVM_MMIO_BUS, fault_ipa, len, in io_mem_abort()
178 run->mmio.phys_addr = fault_ipa; in io_mem_abort()
Dmmu.c1122 static int user_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa, in user_mem_abort() argument
1208 fault_ipa &= ~(vma_pagesize - 1); in user_mem_abort()
1210 gfn = fault_ipa >> PAGE_SHIFT; in user_mem_abort()
1297 &fault_ipa); in user_mem_abort()
1327 ret = kvm_pgtable_stage2_relax_perms(pgt, fault_ipa, prot); in user_mem_abort()
1331 ret = kvm_pgtable_stage2_map(pgt, fault_ipa, vma_pagesize, in user_mem_abort()
1353 static void handle_access_fault(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa) in handle_access_fault() argument
1359 trace_kvm_access_fault(fault_ipa); in handle_access_fault()
1363 kpte = kvm_pgtable_stage2_mkyoung(mmu->pgt, fault_ipa); in handle_access_fault()
1385 phys_addr_t fault_ipa; in kvm_handle_guest_abort() local
[all …]
/linux-6.1.9/arch/arm64/include/asm/
Dkvm_host.h803 int io_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa);
/linux-6.1.9/tools/include/uapi/linux/
Dkvm.h479 __u64 fault_ipa; member
/linux-6.1.9/include/uapi/linux/
Dkvm.h479 __u64 fault_ipa; member
/linux-6.1.9/Documentation/virt/kvm/
Dapi.rst6401 __u64 fault_ipa;
6421 the ESR_EL2 in the esr_iss field, and the faulting IPA in the fault_ipa field.