android_kernel_sony_sdm845/drivers/usb/core
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Thinh Nguyen 790af995a9 usb: core: hub: Disable hub-initiated U1/U2
[ Upstream commit 561759292774707b71ee61aecc07724905bb7ef1 ]

If the device rejects the control transfer to enable device-initiated
U1/U2 entry, then the device will not initiate U1/U2 transition. To
improve the performance, the downstream port should not initate
transition to U1/U2 to avoid the delay from the device link command
response (no packet can be transmitted while waiting for a response from
the device). If the device has some quirks and does not implement U1/U2,
it may reject all the link state change requests, and the downstream
port may resend and flood the bus with more requests. This will affect
the device performance even further. This patch disables the
hub-initated U1/U2 if the device-initiated U1/U2 entry fails.

Reference: USB 3.2 spec 7.2.4.2.3

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-04 09:33:36 +02:00
..
buffer.c
config.c USB: Fix slab-out-of-bounds write in usb_get_bos_descriptor 2019-06-11 12:22:38 +02:00
devices.c
devio.c USB: fix the usbfs flag sanitization for control transfers 2018-11-10 07:43:00 -08:00
driver.c USB: core: Fix bug caused by duplicate interface PM usage counter 2019-05-08 07:19:08 +02:00
endpoint.c
file.c USB: Proper handling of Race Condition when two USB class drivers try to call init_usb_class simultaneously 2017-05-20 14:28:34 +02:00
generic.c USB:fix USB3 devices behind USB3 hubs not resuming at hibernate thaw 2018-04-24 09:34:11 +02:00
hcd-pci.c usb: Don't die twice if PCI xhci host is not responding in resume 2018-09-26 08:36:35 +02:00
hcd.c usb: core: Add PM runtime calls to usb_hcd_platform_shutdown 2019-05-31 06:48:30 -07:00
hub.c usb: core: hub: Disable hub-initiated U1/U2 2019-08-04 09:33:36 +02:00
hub.h
Kconfig usb: core: Introduce a USB port LED trigger 2016-09-27 12:20:17 +02:00
ledtrig-usbport.c usb: core: usbport: Use proper LED API to fix potential crash 2017-01-06 10:40:11 +01:00
Makefile usb: core: Introduce a USB port LED trigger 2016-09-27 12:20:17 +02:00
message.c USB: core: Fix unterminated string returned by usb_string() 2019-05-08 07:19:08 +02:00
notify.c
of.c
otg_whitelist.h
port.c
quirks.c USB: Fix chipmunk-like voice when using Logitech C270 for recording audio. 2019-06-22 08:17:20 +02:00
sysfs.c USB: Add new USB LPM helpers 2019-05-02 09:32:02 +02:00
urb.c USB: core: replace %p with %pK 2017-05-25 15:44:30 +02:00
usb-acpi.c usb: optimize acpi companion search for usb port devices 2017-08-24 17:12:21 -07:00
usb.c USB: check usb_get_extra_descriptor for proper size 2018-12-13 09:20:27 +01:00
usb.h USB: Add new USB LPM helpers 2019-05-02 09:32:02 +02:00