Re: [Xen-devel] [PATCH v2] x86/vtd: fix iommu_share_p2m_table

2018-10-08 Thread Jan Beulich
>>> On 08.10.18 at 15:52, wrote: > Commit 2916951c1 "mm / iommu: include need_iommu() test in > iommu_use_hap_pt()" changed the check in iommu_share_p2m_table to use > need_iommu(d) (as part of iommu_use_hap_pt) instead of iommu_enabled, > which broke the check because at the point in domain const

Re: [Xen-devel] [PATCH v2] x86/vtd: fix iommu_share_p2m_table

2018-10-08 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: 08 October 2018 14:53 > To: xen-devel@lists.xenproject.org > Cc: Roger Pau Monne ; Jan Beulich > ; Paul Durrant > Subject: [PATCH v2] x86/vtd: fix iommu_share_p2m_table > > Commit 2916951c1 "mm / iommu: inc

[Xen-devel] [PATCH v2] x86/vtd: fix iommu_share_p2m_table

2018-10-08 Thread Roger Pau Monne
Commit 2916951c1 "mm / iommu: include need_iommu() test in iommu_use_hap_pt()" changed the check in iommu_share_p2m_table to use need_iommu(d) (as part of iommu_use_hap_pt) instead of iommu_enabled, which broke the check because at the point in domain construction where iommu_share_p2m_table is cal