Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-06-06 Thread Aurelien Jarno
On 2017-06-05 17:29, Rob Landley wrote: > On 05/18/2017 06:01 PM, Aurelien Jarno wrote: > > On 2017-05-18 17:37, Rob Landley wrote: > >> On 05/18/2017 02:00 PM, Aurelien Jarno wrote: > >>> On 2017-05-18 11:08, Rob Landley wrote: > Serial input hangs after the first character in the 4.11

Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-06-05 Thread Rob Landley
On 05/18/2017 06:01 PM, Aurelien Jarno wrote: > On 2017-05-18 17:37, Rob Landley wrote: >> On 05/18/2017 02:00 PM, Aurelien Jarno wrote: >>> On 2017-05-18 11:08, Rob Landley wrote: Serial input hangs after the first character in the 4.11 kernel:

Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-05-18 Thread Rob Landley
On 05/18/2017 06:00 PM, Aurelien Jarno wrote: >> Exiting the linux instance says "reboot: Restarting system\nUnauthorized >> access" and then hangs eating 100% cpu, but maybe I can fix that with >> kernel configuration changes. > > I guess you mean rebooting the linux instance. This is because

Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-05-18 Thread Aurelien Jarno
On 2017-05-18 17:35, Rob Landley wrote: > > > On 05/18/2017 02:57 PM, Paolo Bonzini wrote: > > > > > > On 18/05/2017 18:08, Rob Landley wrote: > >> Serial input hangs after the first character in the 4.11 kernel: > >> > >> http://www.spinics.net/lists/linux-sh/msg51183.html > >> > >> Because

Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-05-18 Thread Aurelien Jarno
On 2017-05-18 17:37, Rob Landley wrote: > > > On 05/18/2017 02:00 PM, Aurelien Jarno wrote: > > On 2017-05-18 11:08, Rob Landley wrote: > >> Serial input hangs after the first character in the 4.11 kernel: > >> > >> http://www.spinics.net/lists/linux-sh/msg51183.html > >> > >> Because they

Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-05-18 Thread Rob Landley
On 05/18/2017 02:00 PM, Aurelien Jarno wrote: > On 2017-05-18 11:08, Rob Landley wrote: >> Serial input hangs after the first character in the 4.11 kernel: >> >> http://www.spinics.net/lists/linux-sh/msg51183.html >> >> Because they enabled support for a buffer size thing QEMU doesn't >>

Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-05-18 Thread Rob Landley
On 05/18/2017 02:57 PM, Paolo Bonzini wrote: > > > On 18/05/2017 18:08, Rob Landley wrote: >> Serial input hangs after the first character in the 4.11 kernel: >> >> http://www.spinics.net/lists/linux-sh/msg51183.html >> >> Because they enabled support for a buffer size thing QEMU doesn't >>

Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-05-18 Thread Paolo Bonzini
On 18/05/2017 22:10, Aurelien Jarno wrote: > On 2017-05-18 21:57, Paolo Bonzini wrote: >> Anyway, Uli Hecht is saying SCIF "asserts DR even if the FIFO threshold >> has not been reached if no data is received for 1.5 frames". If that's >> just a register and doesn't trigger an interrupt, you

Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-05-18 Thread Aurelien Jarno
On 2017-05-18 21:57, Paolo Bonzini wrote: > Anyway, Uli Hecht is saying SCIF "asserts DR even if the FIFO threshold > has not been reached if no data is received for 1.5 frames". If that's > just a register and doesn't trigger an interrupt, you can compute the > bit's value dynamically based on

Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-05-18 Thread Paolo Bonzini
On 18/05/2017 18:08, Rob Landley wrote: > Serial input hangs after the first character in the 4.11 kernel: > > http://www.spinics.net/lists/linux-sh/msg51183.html > > Because they enabled support for a buffer size thing QEMU doesn't > emulate right: > >

Re: [Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-05-18 Thread Aurelien Jarno
On 2017-05-18 11:08, Rob Landley wrote: > Serial input hangs after the first character in the 4.11 kernel: > > http://www.spinics.net/lists/linux-sh/msg51183.html > > Because they enabled support for a buffer size thing QEMU doesn't > emulate right: > >

[Qemu-devel] qemu-system-sh4 -M r2d serial is broken.

2017-05-18 Thread Rob Landley
Serial input hangs after the first character in the 4.11 kernel: http://www.spinics.net/lists/linux-sh/msg51183.html Because they enabled support for a buffer size thing QEMU doesn't emulate right: http://www.spinics.net/lists/linux-sh/msg51189.html Rob