mbox series

[SRU,Bionic/OEM-B,0/1] USB cardreader (0bda:0328) make the system can't enter s3 or hang

Message ID 20181017114508.4483-1-hui.wang@canonical.com
Headers show
Series USB cardreader (0bda:0328) make the system can't enter s3 or hang | expand

Message

Hui Wang Oct. 17, 2018, 11:45 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1798328

This patch is already in the Cosmic.

The OEM project is waiting for this patch to be landed in the OEM-B kernel,
if it passes review, please help merge this patch to OEM-B kernel ASAP.

[Impact]
We have a couple o lenovo laptops, they have the realtek cardreader (0bda:0328),
this cardreader is the latest product from realtek, and it uses the common
usb-to-scsi driver UAS. When the system suspend and resume, the USB host will
print some errors like can't disable the device under this USB bus and
reset-and-verify fails, after that the system can't suspend anymore and hang
randomly.

[Fix]
the mainline build v4.17-rc1 doesn't have this issue, so through bisecting,
we found this patch can fix the problem.

[Test Case]
suspend and resume 30 times, and plug sd storage card into the cardreader,
everything worked well.

[Regression Potential]
Low, we tested this patch on 7 different lenovo laptops. After suspending
and resuming for 30 times, the system still worked well, and plug a usb
storage, it still worked well.


Mathias Nyman (1):
  usb: Don't disable Latency tolerance Messaging (LTM) before port reset

 drivers/usb/core/hub.c | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

Comments

Khalid Elmously Oct. 22, 2018, 7:17 a.m. UTC | #1
On 2018-10-17 19:45:07 , Hui Wang wrote:
> BugLink: https://bugs.launchpad.net/bugs/1798328
> 
> This patch is already in the Cosmic.
> 
> The OEM project is waiting for this patch to be landed in the OEM-B kernel,
> if it passes review, please help merge this patch to OEM-B kernel ASAP.
> 
> [Impact]
> We have a couple o lenovo laptops, they have the realtek cardreader (0bda:0328),
> this cardreader is the latest product from realtek, and it uses the common
> usb-to-scsi driver UAS. When the system suspend and resume, the USB host will
> print some errors like can't disable the device under this USB bus and
> reset-and-verify fails, after that the system can't suspend anymore and hang
> randomly.
> 
> [Fix]
> the mainline build v4.17-rc1 doesn't have this issue, so through bisecting,
> we found this patch can fix the problem.
> 
> [Test Case]
> suspend and resume 30 times, and plug sd storage card into the cardreader,
> everything worked well.
> 
> [Regression Potential]
> Low, we tested this patch on 7 different lenovo laptops. After suspending
> and resuming for 30 times, the system still worked well, and plug a usb
> storage, it still worked well.
> 
> 
> Mathias Nyman (1):
>   usb: Don't disable Latency tolerance Messaging (LTM) before port reset
> 
>  drivers/usb/core/hub.c | 13 +++----------
>  1 file changed, 3 insertions(+), 10 deletions(-)
> 
> -- 
> 2.17.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team