android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Faisal Hassan b115ecd0c6 xhci: Fix Link TRB DMA in command ring stopped completion event
commit 075919f6df5dd82ad0b1894898b315fbb3c29b84 upstream.

During the aborting of a command, the software receives a command
completion event for the command ring stopped, with the TRB pointing
to the next TRB after the aborted command.

If the command we abort is located just before the Link TRB in the
command ring, then during the 'command ring stopped' completion event,
the xHC gives the Link TRB in the event's cmd DMA, which causes a
mismatch in handling command completion event.

To address this situation, move the 'command ring stopped' completion
event check slightly earlier, since the specific command it stopped
on isn't of significant concern.

Fixes: 7f84eef0da ("USB: xhci: No-op command queueing and irq handler.")
Cc: [email protected]
Signed-off-by: Faisal Hassan <[email protected]>
Acked-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-11-08 16:20:53 +01:00
..
atm usb: atm: cxacru: fix endpoint checking in cxacru_bind() 2024-07-05 09:08:30 +02:00
c67x00
cdns3 usb: cdns3: fix memory double free when handle zero packet 2024-03-01 13:13:36 +01:00
chipidea usb: chipidea: udc: enable suspend interrupt after usb reset 2024-11-08 16:20:44 +01:00
class USB: class: CDC-ACM: fix race between get_serial and set_serial 2024-11-08 16:20:33 +01:00
common usb: common: usb-conn-gpio: Prevent bailing out if initial role is none 2023-08-16 18:19:23 +02:00
core usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes() 2024-09-04 13:15:05 +02:00
dwc2 usb: dwc2: Adjust the timing of USB Driver Interrupt Registration in the Crashkernel Scenario 2024-11-08 16:20:44 +01:00
dwc3 usb: dwc3: core: Stop processing of pending events if controller is halted 2024-11-08 16:20:46 +01:00
early
gadget usb: gadget: fsl: Increase size of name buffer for endpoints 2024-09-04 13:14:56 +02:00
host xhci: Fix Link TRB DMA in command ring stopped completion event 2024-11-08 16:20:53 +01:00
image
isp1760
misc Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant" 2024-11-08 16:20:46 +01:00
mon usb: mon: Fix atomicity violation in mon_bin_vma_fault 2024-01-25 14:34:30 -08:00
mtu3
musb usb: musb: da8xx: fix a resource leak in probe() 2024-07-05 09:08:30 +02:00
phy usb: phy: Fix API devm_usb_put_phy() can not release the phy 2024-11-08 16:20:53 +01:00
renesas_usbhs
roles usb: roles: don't get/set_role() when usb_role_switch is unregistered 2024-03-01 13:13:36 +01:00
serial USB: serial: option: add Telit FN920C04 MBIM compositions 2024-11-08 16:20:49 +01:00
storage usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip 2024-11-08 16:20:47 +01:00
typec usb: typec: altmode should keep reference to parent 2024-11-08 16:20:50 +01:00
usbip usbip: Don't submit special requests twice 2024-09-12 11:03:50 +02:00
Kconfig
Makefile
usb-skeleton.c