[UBOOT PATCH 0/3] Port the usb reset patches from linux
Marek Vasut
marex at denx.de
Mon May 8 13:56:59 CEST 2023
On 5/8/23 05:00, Venkatesh Yadav Abbarapu wrote:
> Port the usb reset patches from linux kernel.
What kind of patches are these ?
What sort of problem are those patches attempting to address ?
> Venkatesh Yadav Abbarapu (3):
> usb: dwc3: core: improve reset sequence
> usb: dwc3: gadget: Don't send unintended link state change
> usb: dwc3: core: Only handle soft-reset in DCTL
These seem to be randomly picked patches from Linux 4.7, 5.5 ... but
there seem to be a huge amount of backports missing inbetween, which
would create a tremendous maintenance burden of the DWC3 driver.
Can you please instead pick ALL the missing patches from Linux, so that
the DWC3 driver is instead synchronized with Linux, rather than
diverging and growing partial backports ?
It shouldn't be difficult, one approach I can think of is roughly this:
- figure out the original merge base from which the DWC3 driver was
imported to U-Boot
- in U-Boot, revert all dwc3 patches on top of that import patch
- pick all Linux kernel dwc3 patches from that merge base and apply on
top of this U-Boot with reverts
- Run rebase and drop the reverts, let git drop duplicate patches
Thank you
More information about the U-Boot
mailing list