Re: [PATCH] PCI: Don't use SR-IOV lock for ATS

2015-07-17 Thread Joerg Roedel
Hi Bjorn, On Thu, Jul 16, 2015 at 06:08:31PM -0500, Bjorn Helgaas wrote: On Thu, Jun 18, 2015 at 10:50:20AM +0200, Joerg Roedel wrote: The problem is that the VFs will be added to the bus with the SR-IOV lock held. While added to the bus the device-notifiers will run and invoke AMD IOMMU

Re: [PATCH] PCI: Don't use SR-IOV lock for ATS

2015-07-16 Thread Bjorn Helgaas
Hi Joerg, On Thu, Jun 18, 2015 at 10:50:20AM +0200, Joerg Roedel wrote: From: Joerg Roedel jroe...@suse.de The use of the SR-IOV lock for ATS causes a dead-lock in the AMD-IOMMU driver when virtual functions are added that have an ATS capability. The problem is that the VFs will be added

[PATCH] PCI: Don't use SR-IOV lock for ATS

2015-06-18 Thread Joerg Roedel
From: Joerg Roedel jroe...@suse.de The use of the SR-IOV lock for ATS causes a dead-lock in the AMD-IOMMU driver when virtual functions are added that have an ATS capability. The problem is that the VFs will be added to the bus with the SR-IOV lock held. While added to the bus the