Home
last modified time | relevance | path

Searched refs:gcr3_tbl (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/iommu/amd/
H A Diommu.c1571 free_gcr3_tbl_level2(domain->gcr3_tbl); in free_gcr3_table()
1573 free_gcr3_tbl_level1(domain->gcr3_tbl); in free_gcr3_table()
1577 free_page((unsigned long)domain->gcr3_tbl); in free_gcr3_table()
1614 u64 gcr3 = iommu_virt_to_phys(domain->gcr3_tbl); in set_dte_entry()
2537 domain->gcr3_tbl = (void *)get_zeroed_page(GFP_ATOMIC); in domain_enable_v2()
2538 if (domain->gcr3_tbl == NULL) in domain_enable_v2()
2566 if (!pdom->gcr3_tbl) in amd_iommu_domain_enable_v2()
2718 pte = __get_gcr3_pte(domain->gcr3_tbl, domain->glx, pasid, true); in __set_gcr3()
2734 pte = __get_gcr3_pte(domain->gcr3_tbl, domain->glx, pasid, false); in __clear_gcr3()
H A Damd_iommu_types.h564 u64 *gcr3_tbl; /* Guest CR3 table */ member