Re: [PATCH v2] iommu/intel-iommu: fix pasid table size encoding

2017-01-04 Thread Joerg Roedel
On Tue, Dec 06, 2016 at 10:14:23AM -0800, Jacob Pan wrote: > drivers/iommu/intel-iommu.c | 23 ++- > 1 file changed, 22 insertions(+), 1 deletion(-) Applied to the fixes branch, thanks. ___ iommu mailing list iommu@lists.linux-found

Re: [PATCH v2] iommu/intel-iommu: fix pasid table size encoding

2016-12-15 Thread Joerg Roedel
On Thu, Dec 15, 2016 at 12:07:10PM -0800, Raj, Ashok wrote: > Haven't heard about it from David yet, but can we queue this for 4.10? > If you have any questions/concerns please let us know. I'll queue the fix when rc1 is out. Joerg ___ iommu

Re: [PATCH v2] iommu/intel-iommu: fix pasid table size encoding

2016-12-15 Thread Raj, Ashok
Hi David/Joerg Haven't heard about it from David yet, but can we queue this for 4.10? If you have any questions/concerns please let us know. Cheers, Ashok On Wed, Dec 14, 2016 at 02:36:40PM +0200, Mika Kuoppala wrote: > > > > cc: Mika Kuoppala > > cc: Ashok Raj > > Signed-off-by: Jacob Pan

Re: [PATCH v2] iommu/intel-iommu: fix pasid table size encoding

2016-12-14 Thread Mika Kuoppala
Jacob Pan writes: > Different encodings are used to represent supported PASID bits > and number of PASID table entries. > The current code assigns ecap_pss directly to extended context > table entry PTS which is wrong and could result in writing > non-zero bits to the reserved fields. IOMMU fault

Re: [PATCH v2] iommu/intel-iommu: fix pasid table size encoding

2016-12-12 Thread Jacob Pan
Hi Joerg/David, Just wondering if you have any more comments? Thanks, Jacob On Tue, 6 Dec 2016 10:14:23 -0800 Jacob Pan wrote: > Different encodings are used to represent supported PASID bits > and number of PASID table entries. > The current code assigns ecap_pss directly to extended contex

[PATCH v2] iommu/intel-iommu: fix pasid table size encoding

2016-12-06 Thread Jacob Pan
Different encodings are used to represent supported PASID bits and number of PASID table entries. The current code assigns ecap_pss directly to extended context table entry PTS which is wrong and could result in writing non-zero bits to the reserved fields. IOMMU fault reason 11 will be reported wh