Bug 102101 - USB 3 storage device disconnects after S3 resume,and re-enumerate it.
Summary: USB 3 storage device disconnects after S3 resume,and re-enumerate it.
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: Mips64 Linux
: P1 high
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-29 07:52 UTC by Aaron Chou
Modified: 2015-07-29 14:13 UTC (History)
0 users

See Also:
Kernel Version: 4.2-rc3
Subsystem:
Regression: No
Bisected commit-id:


Attachments
log with the option of CONFIG_DYNAMIC_DEBUG=y (114.67 KB, text/x-log)
2015-07-29 07:52 UTC, Aaron Chou
Details

Description Aaron Chou 2015-07-29 07:52:12 UTC
Created attachment 183971 [details]
log with the option of CONFIG_DYNAMIC_DEBUG=y

The platform of my experiment is Loongson 3 base on MIPS.
When I do the resume after "echo mem >/sys/power/state".USB 3 storage devices that there present and in use before the suspend disconnect directly after the resume.

A part log is:
[  181.905994] usb usb8: root hub lost power or was reset
[  181.906001] usb usb9: root hub lost power or was reset
[  181.969021] usb usb7: root hub lost power or was reset
[  181.969270] usb usb5: root hub lost power or was reset
[  181.969505] usb usb6: root hub lost power or was reset
[  181.969577] usb usb2: root hub lost power or was reset
[  181.969990] usb usb4: root hub lost power or was reset
[  181.972945] usb usb3: root hub lost power or was reset
[  181.973020] usb usb1: root hub lost power or was reset

The usb9 and usb8 is the USB 3.0, and other is USB 2.0 with EHCI or OHCI

I don't know whether this is the real reason

The blow is the lspci notice, and we can kown the XHCI is Renesas Technology Corp. uPD720201
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (int gfx)
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:03.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 1)
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0)
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 3)
00:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 4)
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 9615
05:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
06:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
07:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)

Anyway, I want to kown whether the Renesas Technology Corp. uPD720201 chip performance fine on X86 system after resume. I don't have the experimental environment.

Thanks a lot.....
Comment 1 Greg Kroah-Hartman 2015-07-29 14:13:52 UTC
On Wed, Jul 29, 2015 at 07:52:12AM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=102101
> 
>             Bug ID: 102101
>            Summary: USB 3 storage device disconnects after S3 resume,and
>                     re-enumerate it.

Please send to the linux-usb@vger.kernel.org mailing list.

Note You need to log in before you can comment on or make changes to this bug.