Home
last modified time | relevance | path

Searched refs:virt_to_maddr (Results 1 – 23 of 23) sorted by relevance

/xen/xen/arch/x86/x86_64/
A Dmachine_kexec.c16 range->start = virt_to_maddr(_start); in machine_kexec_get_xen()
17 range->size = virt_to_maddr(_end) - (unsigned long)range->start; in machine_kexec_get_xen()
/xen/xen/arch/x86/guest/hyperv/
A Dtlb.c109 nr_banks, virt_to_maddr(flush), 0); in flush_tlb_ex()
120 nr_banks, virt_to_maddr(flush), 0); in flush_tlb_ex()
188 virt_to_maddr(flush), 0); in hyperv_flush_tlb()
192 0, virt_to_maddr(flush), 0); in hyperv_flush_tlb()
/xen/xen/include/asm-arm/
A Dmm.h158 ((mfn_to_maddr(mfn) >= virt_to_maddr(&_start)) && \
159 (mfn_to_maddr(mfn) <= virt_to_maddr((vaddr_t)_end - 1)))
237 #define vmap_to_mfn(va) maddr_to_mfn(virt_to_maddr((vaddr_t)va))
248 #define virt_to_maddr(va) __virt_to_maddr((vaddr_t)(va)) macro
284 #define __pa(x) (virt_to_maddr(x))
288 #define __virt_to_mfn(va) (virt_to_maddr(va) >> PAGE_SHIFT)
/xen/xen/arch/arm/
A Dgic-v3-lpi.c260 if ( virt_to_maddr(pendtable) & ~GENMASK(51, 16) ) in gicv3_lpi_allocate_pendtable()
272 val |= virt_to_maddr(pendtable); in gicv3_lpi_allocate_pendtable()
304 if ( (virt_to_maddr(table) & ~GENMASK(51, 12)) ) in gicv3_lpi_set_proptable()
317 reg |= virt_to_maddr(lpi_data.lpi_property); in gicv3_lpi_set_proptable()
A Dgic-v3-its.c283 paddr_t paddr = virt_to_maddr(vaddr); in check_baser_phys_addr()
313 if ( virt_to_maddr(buffer) & ~GENMASK(51, 12) ) in its_map_cbaser()
319 reg |= GITS_VALID_BIT | virt_to_maddr(buffer); in its_map_cbaser()
386 reg |= encode_baser_phys_addr(virt_to_maddr(buffer), in its_map_baser()
724 virt_to_maddr(itt_addr), true); in gicv3_its_map_guest_device()
A Dmm.c290 BUG_ON( virt_to_maddr(pgtable) != ttbr ); in dump_hyp_walk()
996 vaddr_t offset = mfn_to_maddr(mfn) - virt_to_maddr(&_start); in xen_map_table()
1321 paddr_t pa = virt_to_maddr(__init_begin); in free_init_memory()
/xen/xen/arch/x86/hvm/svm/
A Dvmcb.c100 vmcb->_msrpm_base_pa = virt_to_maddr(svm->msrpm); in construct_vmcb()
204 svm->vmcb_pa = nv->nv_n1vmcx_pa = virt_to_maddr(svm->vmcb); in svm_create_vmcb()
A Dsvmdebug.c43 sizeof(struct vmcb_struct), virt_to_maddr(vmcb), vmcb); in svm_vmcb_dump()
A Dnestedsvm.c119 nv->nv_n2vmcx_pa = virt_to_maddr(nv->nv_n2vmcx); in nsvm_vcpu_initialise()
398 (uint64_t)virt_to_maddr(svm->ns_iomap); in nsvm_vmrun_permissionmap()
400 (uint64_t)virt_to_maddr(svm->ns_merged_msrpm); in nsvm_vmrun_permissionmap()
/xen/xen/include/asm-x86/
A Dpage.h255 #define __pa(x) (virt_to_maddr(x))
259 #define __virt_to_mfn(va) (virt_to_maddr(va) >> PAGE_SHIFT)
285 #define virt_to_maddr(va) __virt_to_maddr((unsigned long)(va)) macro
/xen/xen/common/efi/
A Druntime.c114 switch_cr3_cr4(virt_to_maddr(efi_l4_pgtable), read_cr4()); in efi_rs_enter()
145 (read_cr3() == virt_to_maddr(efi_l4_pgtable)); in efi_rs_using_pgtables()
A Dboot.c1461 l4e_from_paddr(virt_to_maddr(l3dst), __PAGE_HYPERVISOR); in copy_mapping()
1640 l4e_from_paddr(virt_to_maddr(pl3e), __PAGE_HYPERVISOR); in efi_init_memory()
1650 *pl3e = l3e_from_paddr(virt_to_maddr(pl2e), __PAGE_HYPERVISOR); in efi_init_memory()
1663 *pl2e = l2e_from_paddr(virt_to_maddr(l1t), __PAGE_HYPERVISOR); in efi_init_memory()
/xen/xen/drivers/passthrough/amd/
A Diommu_init.c87 addr_64 = (u64)virt_to_maddr(iommu->dev_table.buffer); in register_iommu_dev_table_in_mmio_space()
112 addr_64 = virt_to_maddr(iommu->cmd_buffer.buffer); in register_iommu_cmd_buffer_in_mmio_space()
140 addr_64 = virt_to_maddr(iommu->event_log.buffer); in register_iommu_event_log_in_mmio_space()
168 addr_64 = virt_to_maddr(iommu->ppr_log.buffer); in register_iommu_ppr_log_in_mmio_space()
A Diommu_map.c128 dte->it_root = virt_to_maddr(ptr) >> 6; in amd_iommu_set_intremap_table()
/xen/xen/arch/x86/
A Dmpparse.c683 virt_to_maddr(mpf)); in smp_scan_config()
685 reserve_bootmem(virt_to_maddr(mpf), PAGE_SIZE); in smp_scan_config()
/xen/xen/drivers/passthrough/vtd/
A Dintremap.c671 new_ire.post.pda_l = virt_to_maddr(pi_desc) >> (32 - PDA_LOW_BIT); in msi_msg_to_remap_entry()
672 new_ire.post.pda_h = virt_to_maddr(pi_desc) >> 32; in msi_msg_to_remap_entry()
A Dqinval.c171 qinval_entry->q.inv_wait_dsc.hi.saddr = virt_to_maddr(this_poll_slot); in queue_invalidate_wait()
/xen/xen/arch/x86/hvm/vmx/
A Dvvmx.c597 __vmwrite(MSR_BITMAP, virt_to_maddr(nvmx->msr_merged)); in update_msrbitmap()
639 __vmwrite(IO_BITMAP_A, virt_to_maddr(bitmap)); in nvmx_update_exec_control()
640 __vmwrite(IO_BITMAP_B, virt_to_maddr(bitmap) + PAGE_SIZE); in nvmx_update_exec_control()
1341 __vmwrite(MSR_BITMAP, virt_to_maddr(v->arch.hvm.vmx.msr_bitmap)); in load_vvmcs_host_state()
A Dvmcs.c1155 __vmwrite(MSR_BITMAP, virt_to_maddr(msr_bitmap)); in construct_vmcs()
1192 __vmwrite(PI_DESC_ADDR, virt_to_maddr(&v->arch.hvm.vmx.pi_desc)); in construct_vmcs()
1458 addr = virt_to_maddr(*ptr); in vmx_add_msr()
A Dvmx.c2147 __vmwrite(EPTP_LIST_ADDR, virt_to_maddr(d->arch.altp2m_visible_eptp)); in vmx_vcpu_update_vmfunc_ve()
/xen/xen/arch/x86/pv/
A Dshim.c284 si->shared_info = virt_to_maddr(d->shared_info); in write_start_info()
A Ddom0_build.c752 si->shared_info = virt_to_maddr(d->shared_info); in dom0_construct_pv()
/xen/xen/arch/x86/mm/shadow/
A Dmulti.c4121 v->arch.hvm.hw_cr[3] = virt_to_maddr(&v->arch.paging.shadow.l3table); in sh_update_cr3()

Completed in 58 milliseconds