[PATCH 0/4 v6] xHCI: PM patchset

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

 



Hi Sarah,

This is xHCI pm patchset v6.

Changelog from v5:

1. Rebase on isoc and MSI-X patches.
2. Cleanup MSI-X in xhci_suspend() and re-setup MSI-X in xhci_resume().

This version has no big changes but in order to work with MSI-X patches,
the suspend/resume functions need to be modified to handle the
MSI-X/MSI.

I have figured out that the xHC restore error in pci resume is a BIOS
issue of my test platform. The BIOS reset the xHC during resume so it
will always restore fail. Now xHC restore is OK on my platform, and the
char devices conflict will not be triggered in S3 normal cases. I've
tested following cases and all devices are working fine every time when
system resumes:

1. Doing r/w operations to a USB3.0 HDD, enter S3 and resume for 10
times.
2. Doing r/w operations to a USB2.0 HDD, enter S3 and resume for 10
times.
3. Running a USB1.1 webcam connected through a USB2.0 hub, enter S3 and
resume for 10 times.
4. Playing a USB1.1 speaker connected through a USB2.0 hub, enter S3 and
resume for 10 times.

Please test, thanks.

PS: I have submitted a patch long ago to re-initialize the
cmd_completion in xhci_configure_endpoint(). (commit 1d68064a7d80). I
assume the completion (&xhci->addr_dev) in xhci_alloc_dev() and
xhci_address_device() also needs to be re-initialized. What's your
opinion?

Thanks,
Andiry 

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux