Skip to content

USB/TB code rebase of supported drivers to upstream v6.4

Desnes Nunes requested to merge desnesn/centos-stream-9:usb_thunder.v6.4 into main

JIRA: https://issues.redhat.com/browse/RHEL-13058

UPSTREAM STATUS: All patches have been accepted on kernel/git/torvalds/linux.git

CONFLICTS: Minor conflicts on patches 0009, 0016, 0030, 0034, 0038, 0096, 0135, 0156 and 0157.

File changes on commit 0018 and upstream merge conflict backported on 0092.

OMITTED FIXES:

Omitted-fix: fb6211f1584a ("usb: gadget: add doc to struct usb_composite_dev")
Omitted-fix: 8e77d3d59d7b ("Revert "usb: xhci-pci: Set PROBE_PREFER_ASYNCHRONOUS"")

BUILD INFO: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=56570006

FUNCTIONAL TESTING: QA

SMOKE TESTING: Basic testing on a Intel Meteor Lake Beaker system with USB3.2 / TB4.

DESCRIPTION:

This rebases supported USB and Thunderbolt drivers to upstream kernel v6.4.

By design, changes on this rebase are limited to supported usb and thunderbolt drivers.

Changes which happen to touch the drivers but are tree-wide are selectively pulled in, when relevant.

DRIVER REMOVAL:

This MR deletes the obsolete drivers u132-hcd and ftdi-elan.

None of them were set on kernel-ark, however the latter was set on RHEL and most likely was not used by any of our supported hardware.

CODE UPDATES:

* Dropped former patch 40: commit <9d11b13402d1> ("USB: mark all struct bus_type as const")
* Dropped former patch 66: commit <04d1fa4346cc> ("scsi: usb: uas: Declare two host templates and host template pointers const")
* Added commit <d8a2bb4eb758> ("usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC")
* Added commit <4decf4060ecf> ("usb: dwc3: gadget: Change condition for processing suspend event")
* Added commit <4fa1387261e7> ("usb: remove dead code in dwc3_gadget_get_irq")
* Added commit <bdb19d01026a> ("USB: dwc3: gadget: drop dead hibernation code")
* Added commit <02435a739b81> ("usb: dwc3: gadget: Stall and restart EP0 if host is unresponsive")
* Added commit <39674be56fba> ("usb: dwc3: gadget: Execute gadget stop after halting the controller")
* Added commit <8f40fc080813> ("usb: dwc3: gadget: Refactor EP0 forced stall/restart into a separate API")
* Added commit <c8540870af4c> ("usb: dwc3: gadget: Improve dwc3_gadget_suspend() and dwc3_gadget_resume()")
* Added commit <4e8ef34e36f2> ("usb: dwc3: fix gadget mode suspend interrupt handler issue")
* Added commit <00f8205ffcf1> ("usb: dwc3: gadget: Reset num TRBs before giving back the request")
* Added commit <7194e5e0907b> ("dt-bindings: usb: qcom,dwc3: allow required-opps")
* Added commit <e06ab8d57433> ("ABI: sysfs-bus-usb: use a wildcard for interface name on What")
* Added commit <989eff9cdb79> ("ABI: sysfs-bus-usb: add missing sysfs fields")

Signed-off-by: Desnes Nunes desnesn@redhat.com

Edited by Desnes Nunes

Merge request reports