Re: [PATCH v3 0/2] staging: dwc2: add microframe scheduler

2014-07-22 Thread Jonathan Bell
On Tue, 22 Jul 2014 18:46:27 +0100, Paul Zimmerman wrote: From: Nick Hudson [mailto:sk...@netbsd.org] Sent: Tuesday, July 22, 2014 12:19 AM On 09/23/13 22:23, Paul Zimmerman wrote: > Here is the third version of the microframe scheduler patch. This > version removes the NAK holdoff patch fro

dwc2 / Raspberry Pi - hardware bug for small transfers results in memory corruption

2019-08-14 Thread Jonathan Bell
As reported by one of our users here: https://github.com/raspberrypi/linux/issues/3148 There is a bug when the dwc2 core receives USB data packets that are between 1 and 4 bytes in length - 4 bytes are always written to memory where the non-packet bytes are garbage. This is easily reproducible by

Re: dwc2 / Raspberry Pi - hardware bug for small transfers results in memory corruption

2019-08-15 Thread Jonathan Bell
On Thu, Aug 15, 2019 at 11:55 AM Oliver Neukum wrote: > > Am Mittwoch, den 14.08.2019, 16:59 +0100 schrieb Jonathan Bell: > > As reported by one of our users here: > > https://github.com/raspberrypi/linux/issues/3148 > > > > There is a bug when the dwc2 core rece

Re: dwc2 / Raspberry Pi - hardware bug for small transfers results in memory corruption

2019-08-15 Thread Jonathan Bell
On Thu, Aug 15, 2019 at 1:51 PM Lars Melin wrote: > > On 8/14/2019 22:59, Jonathan Bell wrote: > > There is a bug when the dwc2 core receives USB data packets that are > > between 1 and 4 bytes in length - 4 bytes are always written to memory > > where the non-packet byte

Re: dwc2 / Raspberry Pi - hardware bug for small transfers results in memory corruption

2019-08-16 Thread Jonathan Bell
On Thu, Aug 15, 2019 at 3:52 PM Oliver Neukum wrote: > > The UVC driver passes in offsets into a struct uvc_control as the > > "buffer" that usb_control_msg() fills. > > Not quite that bad. It passes a pointer into the middle of a buffer > used at different offsets for the transfer. This is techni