linux/drivers/usb
Thinh Nguyen 0491423356 usb: dwc3: gadget: Reduce TRB IOC settings
When the TRB ring is full, the dwc3 driver must make sure that there's
at least 1 TRB with Interrupt On Completion (IOC) set to notify of
available TRBs.

The current logic just sets the TRB's IOC whenever we run out of TRBs,
but it doesn't consider that there may be other TRBs with IOC/LST set
already. This creates more events and unnecessary delay from interrupt
handling. Only forcefully set IOC when we run out of TRBs and none of
the TRBs in the TRB ring has had IOC set.

Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/72a1fa448eb1201b152e65be7902a5d1c75b9f3a.1667867687.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-08 16:46:46 +01:00
..
atm usb: move from strlcpy with unused retval to strscpy 2022-08-19 11:08:54 +02:00
c67x00 USB: c67x00: remove unnecessary check of res 2022-05-12 11:36:46 +02:00
cdns3 usb: cdns3: adjust the partial logic of cdnsp_pci_remove 2022-10-22 13:21:40 +02:00
chipidea usb: chipidea: usbmisc: add power lost check for imx7ulp 2022-10-23 14:34:53 +02:00
class USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
common usb: ulpi: use DEFINE_SHOW_ATTRIBUTE to simplify ulpi_regs 2022-09-27 10:36:54 +02:00
core usb: core: Use kstrtobool() instead of strtobool() 2022-11-03 23:46:01 +09:00
dwc2 usb: dwc2: platform: Improve error reporting for problems during .remove() 2022-10-22 13:24:27 +02:00
dwc3 usb: dwc3: gadget: Reduce TRB IOC settings 2022-11-08 16:46:46 +01:00
early usb: early: xhci-dbc: Fix xdbc number parsing 2022-03-15 18:20:34 +01:00
gadget usb: gadget: Use kstrtobool() instead of strtobool() 2022-11-03 23:46:01 +09:00
host Linux 6.1-rc3 2022-10-31 05:47:21 +01:00
image usb/image: fix repeated words in comments 2022-07-27 14:33:53 +02:00
isp1760 usb: isp1760: Fix out-of-bounds array access 2022-05-19 18:10:59 +02:00
misc Linux 6.1-rc3 2022-10-31 05:47:21 +01:00
mon usb: mon: make mmapped memory read only 2022-09-22 15:52:29 +02:00
mtu3 usb: mtu3: fix failed runtime suspend in host only mode 2022-09-30 13:55:48 +02:00
musb usb: musb: remove unused davinci support 2022-10-22 13:23:17 +02:00
phy usb: phy: phy-gpio-vbus-usb: Add device tree probing 2022-11-08 16:32:41 +01:00
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-06-21 16:39:03 +02:00
roles
serial USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
storage USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
typec Linux 6.1-rc3 2022-10-31 05:47:21 +01:00
usbip USB: usbip: missing lock in stub down 2022-10-22 13:22:25 +02:00
Kconfig
Makefile
usb-skeleton.c