Re: ns8250: UART FCR is broken

2022-10-29 Thread Matteo Riondato
On 2022-10-28 at 17:49 EDT, Colin Percival wrote: On Mon, 24 Oct 2022 at 22:11, void wrote: this started appearing in dmesg ns8250: UART FCR is broken ns8250: UART FCR is broken For the list: While I was correct that bhyve didn't emulate FCR_XMT_RST, this warning was actually caused

Re: ns8250: UART FCR is broken

2022-10-28 Thread Colin Percival
On Mon, 24 Oct 2022 at 22:11, void wrote: this started appearing in dmesg ns8250: UART FCR is broken ns8250: UART FCR is broken For the list: While I was correct that bhyve didn't emulate FCR_XMT_RST, this warning was actually caused by a bug in my earlier commit. It should be fixe

Re: ns8250: UART FCR is broken

2022-10-27 Thread Alastair Hogge
On 2022-10-27 20:57, Matteo Riondato wrote: > On 2022-10-26 at 17:15 EDT, Colin Percival wrote: > >>On 10/26/22 13:48, Ed Maste wrote: >>>On Mon, 24 Oct 2022 at 22:11, void wrote: >>>>this started appearing in dmesg >>>> >>>>ns8250: UART

Re: ns8250: UART FCR is broken

2022-10-27 Thread void
On Wed, Oct 26, 2022 at 02:15:29PM -0700, Colin Percival wrote: Indeed, looking at usr.sbin/bhyve/uart_emul.c it looks like FCR_XMT_RST is not emulated. This is different from Firecracker, which doesn't emulate either anything from the FCR and where I was seeing the receive side not being flush

Re: ns8250: UART FCR is broken

2022-10-27 Thread Matteo Riondato
On 2022-10-26 at 17:15 EDT, Colin Percival wrote: On 10/26/22 13:48, Ed Maste wrote: On Mon, 24 Oct 2022 at 22:11, void wrote: this started appearing in dmesg ns8250: UART FCR is broken ns8250: UART FCR is broken This message was added as part of Colin's work to support FreeBSD in

Re: ns8250: UART FCR is broken

2022-10-26 Thread Colin Percival
On 10/26/22 13:48, Ed Maste wrote: On Mon, 24 Oct 2022 at 22:11, void wrote: this started appearing in dmesg ns8250: UART FCR is broken ns8250: UART FCR is broken This message was added as part of Colin's work to support FreeBSD in the Firecracker VMM https://cgit.freebsd.org/src/commi

Re: ns8250: UART FCR is broken

2022-10-26 Thread Ed Maste
On Mon, 24 Oct 2022 at 22:11, void wrote: > > hello freebsd-current@, > > this started appearing in dmesg > > ns8250: UART FCR is broken > ns8250: UART FCR is broken This message was added as part of Colin's work to support FreeBSD in the Firecracker VMM https://cgit.

ns8250: UART FCR is broken

2022-10-24 Thread void
hello freebsd-current@, this started appearing in dmesg ns8250: UART FCR is broken ns8250: UART FCR is broken uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 ns8250: UART FCR is broken uart0: console (9600,n,8,1) ns8250: UART FCR is broken ns8250: UART FCR is