canonical / pi-gadget

Universal pi (pi2,pi3,pi4,cm3,cm4 and future) gadget snap for Ubuntu Core and classic systems.
36 stars 62 forks source link

Use dwc2 on arm64 #64

Closed juergh closed 3 years ago

juergh commented 3 years ago

We currently use the dwc_otg driver from raspberrypi on both armhf and arm64 kernels. That driver supports FIQ interrupt handling (presumable for better performance) but lacks the maintenance and bug fixing of the vanilla upstream dwc2 driver. Turns out that FIQ handling is disabled in the dwc_otg driver on arm64 so it makes little sense to use that driver on arm64.

In fact, upstream raspberrypi recommends to use the dwc2 driver on arm64.

See: https://bugs.launchpad.net/bugs/1900665