RE: [PATCH V2] iommu/amd: Fix logic to determine and checking max PASID

2014-03-24 Thread Cornwall, Jay
Joerg Roedel wrote: >On Wed, Mar 05, 2014 at 06:54:18PM -0600, suravee.suthikulpa...@amd.com wrote: >> From: Suravee Suthikulpanit >> >> In reality, the spec can only support 16-bit PASID since >> INVALIDATE_IOTLB_PAGES and COMPLETE_PPR_REQUEST commands only allow >> 16-bit PASID. So, we updat

Re: [PATCH V2] iommu/amd: Fix logic to determine and checking max PASID

2014-03-24 Thread Joerg Roedel
On Wed, Mar 05, 2014 at 06:54:18PM -0600, suravee.suthikulpa...@amd.com wrote: > From: Suravee Suthikulpanit > > In reality, the spec can only support 16-bit PASID since > INVALIDATE_IOTLB_PAGES and COMPLETE_PPR_REQUEST commands only allow 16-bit > PASID. So, we updated the PASID_MASK accordingly

Re: [GIT PULL] VT-d fixes and ACPI device mapping support for 3.15

2014-03-24 Thread Joerg Roedel
On Mon, Mar 24, 2014 at 03:17:59PM +, David Woodhouse wrote: > Jörg, please pull into your x86/vt-d branch from > > git://git.infradead.org/iommu-2.6 > > This contains the two patch sets I've posted in the last week; first the > set which fixes the use-after-free issues with IOTLB flush

[GIT PULL] VT-d fixes and ACPI device mapping support for 3.15

2014-03-24 Thread David Woodhouse
Jörg, please pull into your x86/vt-d branch from git://git.infradead.org/iommu-2.6 This contains the two patch sets I've posted in the last week; first the set which fixes the use-after-free issues with IOTLB flushes, adds some missing IOTLB flushes and generally improves unmap performanc

[PATCH 34/33] iommu/vt-d: Fix RCU annotations on device scope lists

2014-03-24 Thread Woodhouse, David
In commit d78e0ac577 ("iommu/vt-d: Change scope lists to struct device, bus, devfn") I converted the 'struct device *' arrays into an array of 'struct dmar_dev_scope', where: struct dmar_dev_scope { struct device *dev; u8 bus; u8 devfn; }; That commit contained changes such a