Re: [Qemu-devel] [PATCH QEMU] hw/char/sh_serial: Add timeout handling to unbreak serial input

2018-08-01 Thread Rich Felker
On Tue, Jul 31, 2018 at 11:36:46AM -0500, Rob Landley wrote: > On 07/30/2018 10:18 AM, Ulrich Hecht wrote:>> On July 30, 2018 at 3:02 PM > Geert > Uytterhoeven wrote: > >> Fix this by adding basic timeout handling. As the QEMU SCIF emulation > >> ignores any serial speed programming, the

Re: [Qemu-devel] [PATCH QEMU] hw/char/sh_serial: Add timeout handling to unbreak serial input

2018-07-31 Thread Rob Landley
On 07/30/2018 10:18 AM, Ulrich Hecht wrote:>> On July 30, 2018 at 3:02 PM Geert Uytterhoeven wrote: >> Fix this by adding basic timeout handling. As the QEMU SCIF emulation >> ignores any serial speed programming, the timeout value used conforms to >> a default speed of 9600 bps, which is fine

Re: [Qemu-devel] [PATCH QEMU] hw/char/sh_serial: Add timeout handling to unbreak serial input

2018-07-30 Thread Ulrich Hecht
> On July 30, 2018 at 3:02 PM Geert Uytterhoeven > wrote: > > > As of commit 18e8cf159177100e ("serial: sh-sci: increase RX FIFO trigger > defaults for (H)SCIF") in Linux v4.11-rc1, the serial console on the > QEMU SH4 target is broken: it delays serial input until enough data has > been

[Qemu-devel] [PATCH QEMU] hw/char/sh_serial: Add timeout handling to unbreak serial input

2018-07-30 Thread Geert Uytterhoeven
As of commit 18e8cf159177100e ("serial: sh-sci: increase RX FIFO trigger defaults for (H)SCIF") in Linux v4.11-rc1, the serial console on the QEMU SH4 target is broken: it delays serial input until enough data has been received. Since aformentioned commit, the Linux SCIF driver programs the