Re: vfio-pci: Fix the check on pci device type in vfio_pci_probe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Am 01.02.2015 um 15:29 schrieb Alex Williamson <alex.williamson@xxxxxxxxxx>:
> 
>> On Sun, 2015-02-01 at 08:08 +0100, Stefan Priebe wrote:
>> Hi,
>> 
>> since the above mentioned patch the passthrough of my USB controllers 
>> does not work anymore.
>> 
>> dmesh shows:
>> [   37.692394] VFIO - User Level meta-driver version: 0.3
>> [   37.696755] vfio-pci: probe of 0000:00:01.0 failed with error -22
>> [   38.688986] vfio-pci: probe of 0000:00:01.0 failed with error -22
>> [   38.689244] vfio-pci: probe of 0000:00:1c.0 failed with error -22
>> [   39.696653] vfio-pci: probe of 0000:00:01.0 failed with error -22
>> [   39.696749] vfio-pci: probe of 0000:00:1c.0 failed with error -22
>> 
>> While the text in the patch indicates that it was just a wrong check and 
>> it should never worked. I see a different behaviour as it was working 
>> fine before.
> 
> These are PCIe root ports, they have never been supported by vfio-pci
> and it has never been correct to bind them to vfio-pci.  The IOMMU group
> is considered viable with either pcieport or pci-stub bound to these
> devices.  I suggest leaving them untouched and bound to pcieport.

Hi,

how do I see whether it is a root port? I want to pass through for example a tv card.

My guide tells me:
Locate your card using "lspci".  The address should be in the form of: 04:00.0

Greets,
Stefan


> Thanks,
> 
> Alex
> 
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]