RE: [PATCH v4 11/14] iommu: stop calling IOMMU page tables 'p2m tables'

2020-08-14 Thread Tian, Kevin
> From: Paul Durrant > Sent: Tuesday, August 4, 2020 9:42 PM > > From: Paul Durrant > > It's confusing and not consistent with the terminology introduced with > 'dfn_t'. > Just call them IOMMU page tables. > > Also remove a pointless check of the 'acpi_drhd_units' list in > vtd_dump_page_tabl

Re: [PATCH v4 11/14] iommu: stop calling IOMMU page tables 'p2m tables'

2020-08-06 Thread Jan Beulich
On 04.08.2020 15:42, Paul Durrant wrote: > @@ -553,14 +549,7 @@ static void iommu_dump_p2m_table(unsigned char key) > if ( is_hardware_domain(d) || !is_iommu_enabled(d) ) > continue; > > -if ( iommu_use_hap_pt(d) ) > -{ > -printk("\ndomain%d IOMMU

[PATCH v4 11/14] iommu: stop calling IOMMU page tables 'p2m tables'

2020-08-04 Thread Paul Durrant
From: Paul Durrant It's confusing and not consistent with the terminology introduced with 'dfn_t'. Just call them IOMMU page tables. Also remove a pointless check of the 'acpi_drhd_units' list in vtd_dump_page_table_level(). If the list is empty then IOMMU mappings would not have been enabled fo