Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/virt/kvm/arm/
Dmmio.c151 phys_addr_t fault_ipa) in io_mem_abort() argument
180 trace_kvm_mmio(KVM_TRACE_MMIO_WRITE, len, fault_ipa, &data); in io_mem_abort()
183 ret = kvm_io_bus_write(vcpu, KVM_MMIO_BUS, fault_ipa, len, in io_mem_abort()
187 fault_ipa, NULL); in io_mem_abort()
189 ret = kvm_io_bus_read(vcpu, KVM_MMIO_BUS, fault_ipa, len, in io_mem_abort()
195 run->mmio.phys_addr = fault_ipa; in io_mem_abort()
Dmmu.c1664 static int user_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa, in user_mem_abort() argument
1672 gfn_t gfn = fault_ipa >> PAGE_SHIFT; in user_mem_abort()
1715 gfn = (fault_ipa & huge_page_mask(hstate_vma(vma))) >> PAGE_SHIFT; in user_mem_abort()
1777 transparent_hugepage_adjust(&pfn, &fault_ipa)) in user_mem_abort()
1799 (fault_status == FSC_PERM && stage2_is_exec(kvm, fault_ipa)); in user_mem_abort()
1811 ret = stage2_set_pud_huge(kvm, memcache, fault_ipa, &new_pud); in user_mem_abort()
1823 ret = stage2_set_pmd_huge(kvm, memcache, fault_ipa, &new_pmd); in user_mem_abort()
1835 ret = stage2_set_pte(kvm, memcache, fault_ipa, &new_pte, flags); in user_mem_abort()
1852 static void handle_access_fault(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa) in handle_access_fault() argument
1860 trace_kvm_access_fault(fault_ipa); in handle_access_fault()
[all …]
/Linux-v5.4/arch/arm/include/asm/
Dkvm_mmio.h24 phys_addr_t fault_ipa);
/Linux-v5.4/arch/arm64/include/asm/
Dkvm_mmio.h27 phys_addr_t fault_ipa);