Home
last modified time | relevance | path

Searched refs:gpa (Results 1 – 25 of 37) sorted by relevance

12

/xen-4.10.0-shim-comet/xen/arch/arm/
A Dmem_access.c222 bool p2m_mem_access_check(paddr_t gpa, vaddr_t gla, const struct npfec npfec) in p2m_mem_access_check() argument
235 rc = p2m_get_mem_access(v->domain, gaddr_to_gfn(gpa), &xma); in p2m_mem_access_check()
277 rc = p2m_set_mem_access(v->domain, gaddr_to_gfn(gpa), 1, in p2m_mem_access_check()
283 rc = p2m_set_mem_access(v->domain, gaddr_to_gfn(gpa), 1, in p2m_mem_access_check()
305 rc = p2m_set_mem_access(v->domain, gaddr_to_gfn(gpa), 1, in p2m_mem_access_check()
320 req->u.mem_access.gfn = gpa >> PAGE_SHIFT; in p2m_mem_access_check()
321 req->u.mem_access.offset = gpa & ((1 << PAGE_SHIFT) - 1); in p2m_mem_access_check()
A Dguestcopy.c126 int access_guest_memory_by_ipa(struct domain *d, paddr_t gpa, void *buf, in access_guest_memory_by_ipa() argument
130 uint64_t offset = gpa & ~PAGE_MASK; /* Offset within the mapped page */ in access_guest_memory_by_ipa()
142 page = get_page_from_gfn(d, paddr_to_pfn(gpa), &p2mt, P2M_ALLOC); in access_guest_memory_by_ipa()
A Dio.c89 paddr_t gpa) in find_mmio_handler() argument
92 struct mmio_handler key = {.addr = gpa}; in find_mmio_handler()
108 handler = find_mmio_handler(v->domain, info->gpa); in handle_mmio()
A Dvuart.c112 paddr_t offset = info->gpa - d->arch.vuart.info->base_addr; in vuart_mmio_read()
130 paddr_t offset = info->gpa - d->arch.vuart.info->base_addr; in vuart_mmio_write()
A Dvgic-v3-its.c998 switch ( info->gpa & 0xffff ) in vgic_v3_its_mmio_read()
1110 v, info->dabt.reg, (unsigned long)info->gpa & 0xffff); in vgic_v3_its_mmio_read()
1125 v, info->gpa & 0xffff); in vgic_v3_its_mmio_read()
1132 v, info->gpa & 0xffff); in vgic_v3_its_mmio_read()
1138 info->dabt.size, info->dabt.reg, (unsigned long)info->gpa & 0xffff); in vgic_v3_its_mmio_read()
1246 switch ( info->gpa & 0xffff ) in vgic_v3_its_mmio_write()
1419 v, info->dabt.reg, (unsigned long)info->gpa & 0xffff); in vgic_v3_its_mmio_write()
1436 v, info->gpa & 0xffff); in vgic_v3_its_mmio_write()
1442 v, info->gpa & 0xffff); in vgic_v3_its_mmio_write()
1447 info->dabt.size, info->dabt.reg, (unsigned long)info->gpa & 0xffff); in vgic_v3_its_mmio_write()
A Dvgic-v3.c1030 paddr_t gpa, uint32_t *offset) in get_vcpu_from_rdist() argument
1036 vcpu_id = region->first_cpu + ((gpa - region->base) / stride); in get_vcpu_from_rdist()
1042 *offset = gpa - v->arch.vgic.rdist_base; in get_vcpu_from_rdist()
1055 v = get_vcpu_from_rdist(v->domain, region, info->gpa, &offset); in vgic_v3_rdistr_mmio_read()
1066 v, info->gpa); in vgic_v3_rdistr_mmio_read()
1079 v = get_vcpu_from_rdist(v->domain, region, info->gpa, &offset); in vgic_v3_rdistr_mmio_write()
1090 v, info->gpa); in vgic_v3_rdistr_mmio_write()
1101 int gicd_reg = (int)(info->gpa - v->domain->arch.vgic.dbase); in vgic_v3_distr_mmio_read()
1304 int gicd_reg = (int)(info->gpa - v->domain->arch.vgic.dbase); in vgic_v3_distr_mmio_write()
A Dtraps.c1871 paddr_t gpa; in do_trap_instr_abort_guest() local
1886 gpa = get_faulting_ipa(gva); in do_trap_instr_abort_guest()
1902 rc = gva_to_ipa(gva, &gpa, GV2M_READ); in do_trap_instr_abort_guest()
1917 p2m_mem_access_check(gpa, gva, npfec); in do_trap_instr_abort_guest()
1930 mfn = gfn_to_mfn(current->domain, _gfn(paddr_to_pfn(gpa))); in do_trap_instr_abort_guest()
2020 info.gpa = get_faulting_ipa(info.gva); in do_trap_data_abort_guest()
2023 rc = gva_to_ipa(info.gva, &info.gpa, GV2M_READ); in do_trap_data_abort_guest()
2044 p2m_mem_access_check(info.gpa, info.gva, npfec); in do_trap_data_abort_guest()
2067 mfn = gfn_to_mfn(current->domain, gaddr_to_gfn(info.gpa)); in do_trap_data_abort_guest()
2071 if ( try_map_mmio(gaddr_to_gfn(info.gpa)) ) in do_trap_data_abort_guest()
[all …]
A Dvpl011.c229 uint32_t vpl011_reg = (uint32_t)(info->gpa - GUEST_PL011_BASE); in vpl011_mmio_read()
310 uint32_t vpl011_reg = (uint32_t)(info->gpa - GUEST_PL011_BASE); in vpl011_mmio_write()
/xen-4.10.0-shim-comet/xen/include/asm-arm/
A Dvreg.h168 return vreg_reg_extract(reg, info->gpa & offmask, \
178 vreg_reg_update(&tmp, val, info->gpa & offmask, \
190 vreg_reg_setbits(&tmp, bits, info->gpa & offmask, \
202 vreg_reg_clearbits(&tmp, bits, info->gpa & offmask, \
A Dmem_access.h38 bool p2m_mem_access_check(paddr_t gpa, vaddr_t gla, const struct npfec npfec);
A Dmmio.h33 paddr_t gpa; member
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Demulate.c847 BUG_ON((gpa & ~PAGE_MASK) + size > PAGE_SIZE); in hvmemul_phys_mmio_access()
886 gpa += chunk; in hvmemul_phys_mmio_access()
949 vio->mmio_gpfn = PFN_DOWN(gpa); in latch_linear_to_phys()
963 paddr_t gpa; in hvmemul_linear_mmio_access() local
973 gpa = pfn_to_paddr(vio->mmio_gpfn) | offset; in hvmemul_linear_mmio_access()
1324 paddr_t gpa; in hvmemul_rep_ins() local
1389 paddr_t gpa; in hvmemul_rep_outs() local
1587 paddr_t gpa; in hvmemul_rep_stos() local
1665 gpa -= bytes - bytes_per_rep; in hvmemul_rep_stos()
1683 gpa, *reps, bytes_per_rep); in hvmemul_rep_stos()
[all …]
A Dintercept.c323 bool_t hvm_mmio_internal(paddr_t gpa) in hvm_mmio_internal() argument
329 .addr = gpa, in hvm_mmio_internal()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/vmx/
A Dvvmx.c766 uint64_t gpa; in _map_msr_bitmap() local
787 unsigned long gpa; in _map_io_bitmap() local
1476 unsigned long gpa = 0; in nvmx_handle_vmxon() local
1490 if ( (gpa & ~PAGE_MASK) || !gfn_valid(v->domain, _gfn(gpa >> PAGE_SHIFT)) ) in nvmx_handle_vmxon()
1505 nvmx->vmxon_region_pa = gpa; in nvmx_handle_vmxon()
1693 unsigned long gpa = 0; in nvmx_handle_vmptrld() local
1700 if ( gpa == vcpu_2_nvmx(v).vmxon_region_pa || gpa & 0xfff ) in nvmx_handle_vmptrld()
1765 unsigned long gpa = 0; in nvmx_handle_vmptrst() local
1772 gpa = nvcpu->nv_vvmcxaddr; in nvmx_handle_vmptrst()
1790 unsigned long gpa = 0; in nvmx_handle_vmclear() local
[all …]
A Dvmx.c2253 __vmread(GUEST_PHYSICAL_ADDRESS, &veinfo->gpa); in vmx_vcpu_emulate_ve()
3216 unsigned long gla, gfn = gpa >> PAGE_SHIFT; in ept_handle_violation()
3243 uint64_t gpa; in ept_handle_violation() member
3249 _d.gpa = gpa; in ept_handle_violation()
3268 ret = hvm_hap_nested_page_fault(gpa, gla, npfec); in ept_handle_violation()
3291 gpa, mfn_x(mfn), p2mt); in ept_handle_violation()
4047 paddr_t gpa; in vmx_vmexit_handler() local
4049 __vmread(GUEST_PHYSICAL_ADDRESS, &gpa); in vmx_vmexit_handler()
4057 paddr_t gpa; in vmx_vmexit_handler() local
4059 __vmread(GUEST_PHYSICAL_ADDRESS, &gpa); in vmx_vmexit_handler()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/vmx/
A Dvmx.h455 static always_inline void __invept(unsigned long type, u64 eptp, u64 gpa) in __invept() argument
458 u64 eptp, gpa; in __invept() member
459 } operand = {eptp, gpa}; in __invept()
592 bool_t ept_handle_misconfig(uint64_t gpa);
633 u64 gpa; member
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dmem_access.h37 bool p2m_mem_access_check(paddr_t gpa, unsigned long gla,
A Dpaging.h102 void (*pagetable_dying )(struct vcpu *v, paddr_t gpa);
348 void pagetable_dying(struct domain *d, paddr_t gpa);
/xen-4.10.0-shim-comet/xen/arch/x86/mm/hap/
A Dnested_ept.c149 static int ept_lvl_table_offset(unsigned long gpa, int lvl) in ept_lvl_table_offset() argument
151 return (gpa >> (EPT_L4_PAGETABLE_SHIFT -(4 - lvl) * 9)) & in ept_lvl_table_offset()
/xen-4.10.0-shim-comet/xen/arch/x86/mm/
A Dmem_access.c140 bool p2m_mem_access_check(paddr_t gpa, unsigned long gla, in p2m_mem_access_check() argument
145 gfn_t gfn = gaddr_to_gfn(gpa); in p2m_mem_access_check()
219 req->u.mem_access.offset = gpa & ((1 << PAGE_SHIFT) - 1); in p2m_mem_access_check()
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/
A Dio.h105 bool_t hvm_mmio_internal(paddr_t gpa);
/xen-4.10.0-shim-comet/xen/include/public/hvm/
A Dhvm_op.h112 uint64_t gpa; member
/xen-4.10.0-shim-comet/xen/arch/x86/mm/shadow/
A Dmulti.c2838 paddr_t gpa; in sh_page_fault() local
2961 SHADOW_PRINTK("fast path mmio %#"PRIpaddr"\n", gpa); in sh_page_fault()
3258 gpa = guest_walk_to_gpa(&gw); in sh_page_fault()
3542 SHADOW_PRINTK("mmio %#"PRIpaddr"\n", gpa); in sh_page_fault()
4565 static void sh_pagetable_dying(struct vcpu *v, paddr_t gpa) in sh_pagetable_dying() argument
4580 if ( gcr3 == gpa ) in sh_pagetable_dying()
4583 l3gfn = gpa >> PAGE_SHIFT; in sh_pagetable_dying()
4588 gpa); in sh_pagetable_dying()
4644 static void sh_pagetable_dying(struct vcpu *v, paddr_t gpa) in sh_pagetable_dying() argument
4650 gmfn = get_gfn_query(d, _gfn(gpa >> PAGE_SHIFT), &p2mt); in sh_pagetable_dying()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/svm/
A Dsvm.c1687 struct cpu_user_regs *regs, uint64_t pfec, paddr_t gpa) in svm_do_nested_pgfault() argument
1690 unsigned long gfn = gpa >> PAGE_SHIFT; in svm_do_nested_pgfault()
1714 ret = hvm_hap_nested_page_fault(gpa, ~0ul, npfec); in svm_do_nested_pgfault()
1719 uint64_t gpa; in svm_do_nested_pgfault() member
1726 _d.gpa = gpa; in svm_do_nested_pgfault()
1742 nestedsvm_vmexit_defer(v, VMEXIT_NPF, pfec, gpa); in svm_do_nested_pgfault()
1752 gpa, mfn_x(mfn), p2mt); in svm_do_nested_pgfault()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/
A Dpci_amd_iommu.c528 paddr_t gpa, int indent) in amd_dump_p2m_table_level() argument
575 address = gpa + amd_offset_level_address(index, level); in amd_dump_p2m_table_level()

Completed in 60 milliseconds

12