Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/
A Dpci_amd_iommu.c121 BUG_ON( !hd->arch.root_table || !hd->arch.paging_mode || in amd_iommu_setup_domain_device()
140 (u32 *)dte, page_to_maddr(hd->arch.root_table), domain->domain_id, in amd_iommu_setup_domain_device()
153 page_to_maddr(hd->arch.root_table), in amd_iommu_setup_domain_device()
200 if ( unlikely(!hd->arch.root_table) ) in amd_iommu_alloc_root()
202 hd->arch.root_table = alloc_amd_iommu_pgtable(); in amd_iommu_alloc_root()
203 if ( !hd->arch.root_table ) in amd_iommu_alloc_root()
449 if ( hd->arch.root_table ) in deallocate_iommu_page_tables()
451 deallocate_next_page_table(hd->arch.root_table, hd->arch.paging_mode); in deallocate_iommu_page_tables()
452 hd->arch.root_table = NULL; in deallocate_iommu_page_tables()
594 if ( !hd->arch.root_table ) in amd_dump_p2m_table()
[all …]
A Diommu_map.c448 table = hd->arch.root_table; in iommu_pde_from_gfn()
562 old_root = hd->arch.root_table; in update_paging_mode()
592 hd->arch.root_table = new_root; in update_paging_mode()
617 page_to_maddr(hd->arch.root_table), in update_paging_mode()
735 if ( !hd->arch.root_table ) in amd_iommu_unmap_page()
807 if ( hd->arch.root_table != p2m_table ) in amd_iommu_share_p2m()
809 free_amd_iommu_pgtable(hd->arch.root_table); in amd_iommu_share_p2m()
810 hd->arch.root_table = p2m_table; in amd_iommu_share_p2m()
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Diommu.h43 struct page_info *root_table; member
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dmm.c198 unsigned int level, root_table; in dump_pt_walk() local
213 root_table = offsets[root_level - 1]; in dump_pt_walk()
214 printk("Using concatenated root table %u\n", root_table); in dump_pt_walk()
215 if ( root_table >= nr_root_tables ) in dump_pt_walk()
222 root_table = 0; in dump_pt_walk()
224 mapping = map_domain_page(mfn_add(root_mfn, root_table)); in dump_pt_walk()
A Dp2m.c191 unsigned int root_table; in p2m_get_root_pointer() local
203 root_table = gfn_x(gfn) >> (level_orders[P2M_ROOT_LEVEL - 1]); in p2m_get_root_pointer()
204 root_table &= LPAE_ENTRY_MASK; in p2m_get_root_pointer()
206 if ( root_table >= P2M_ROOT_PAGES ) in p2m_get_root_pointer()
209 return __map_domain_page(p2m->root + root_table); in p2m_get_root_pointer()

Completed in 11 milliseconds