[Bug 218876] PCIE device crash when trying to pass through USB PCIe Card to virtual machine

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=218876

Alex Williamson (alex.williamson@xxxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex.williamson@xxxxxxxxxx

--- Comment #9 from Alex Williamson (alex.williamson@xxxxxxxxxx) ---
(In reply to TJ from comment #2)
> This could be a power management issue:
> 
>   vfio-pci 0000:02:00.0: Unable to change power state from D3cold to D0,
> device inaccessible

I wouldn't rule out a power management issue, but I think the device has
already disappeared by the time we're seeing these error logs.  We're hitting
the timeouts waiting for the device after bus reset and we trigger quirks that
are trying to retrain the link at a reduced rate.  Unfortunately this device
only supports bus reset.

Is it possible to test assigning another single function device installed in
this slot?  We'd want to make sure that the reset_method is still "bus", which
can be selected via the same sysfs file if the other device supports more reset
mechanism.

If it is a power management issue, we can also restrict vfio-pci use of power
management by passing the disable_idle_d3=1 module option when loading the
vfio-pci driver.  If that works, we might want to quirk the ID for this old NEC
controller to avoid D3 states.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux