Re: [PATCH v2] iommu/vt-d: respect max guest address width in agaw

2018-11-08 Thread Joerg Roedel
On Wed, Nov 07, 2018 at 02:12:25PM -0800, Jacob Pan wrote: > We have found some issues with this patch on some platforms. Please > disregard this patch. Patch dropped. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.

Re: [PATCH v2] iommu/vt-d: respect max guest address width in agaw

2018-11-07 Thread Jacob Pan
On Wed, 7 Nov 2018 17:04:28 +0100 Joerg Roedel wrote: > On Tue, Nov 06, 2018 at 02:47:15PM -0800, Jacob Pan wrote: > > drivers/iommu/intel-iommu.c | 6 +- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > Applied, thanks. Hi Joerg, We have found some issues with this patch on some p

Re: [PATCH v2] iommu/vt-d: respect max guest address width in agaw

2018-11-07 Thread Joerg Roedel
On Tue, Nov 06, 2018 at 02:47:15PM -0800, Jacob Pan wrote: > drivers/iommu/intel-iommu.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) Applied, thanks. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.

[PATCH v2] iommu/vt-d: respect max guest address width in agaw

2018-11-06 Thread Jacob Pan
Supported guest address witdh (SGAW) only indicates what the iommu's capabilities are wrt page table levels for second level page-tables. IOMMU should pick the right level depending on the Maximum Guest Address Width (MGAW). For pass-through translation type, address width must be programmed with