Re: [RFC PATCH] cdc-acm: do not drop data from fast devices

2018-03-05 Thread Oliver Neukum
On Mon, 2018-03-05 at 10:55 +0100, Romain Izard wrote: > The TTY buffer is 4096 bytes large, throttling when there are only 128 > free bytes left, and unthrottling when there are only 128 bytes available. > But the TTY buffer is filled from an intermediate flip buffer that > contains up to 64 KiB

[RFC PATCH] cdc-acm: do not drop data from fast devices

2018-03-05 Thread Romain Izard
There are some devices using their USB CDC-ACM interfaces as a debug port that are able to send data at a very high speed, but with the current driver implementation it is not possible to receive it when using a relatively slow embedded system without dropping an important part of the data. The ex