Thread (11 messages) 11 messages, 2 authors, 6d ago

Re: [PATCH v3 8/8] hvc: add an M3000 firmware console backend

flat view

From: Magnus Lindholm <linmag7@gmail.com>
Date: 2026-10-13 21:49:55
Also in: linux-serial, lkml, sparclinux

Hi Greg,

On Tue, Oct 13, 2026 at 3:04 PM Greg KH [off-list ref] wrote:
On Mon, Oct 12, 2026 at 08:48:09PM +0200, Magnus Lindholm wrote:
quoted
Provide hvc0 through the M3000 Open Firmware pseudo-console, validating
the firmware model and console endpoints before registering it. Keep
firmware buffers in locked kernel mappings and serialize their use in
atomic console contexts through the existing SPARC p1275 interface.

Poll input while the TTY is open and synchronize close with timer
rearming. Return zero on no progress so HVC retries buffered TTY output
but drops stalled console chunks instead of spinning indefinitely.
A firmware call that does not return remains unbounded.

Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
---
 MAINTAINERS                 |   6 ++
 drivers/tty/hvc/Kconfig     |  10 ++
 drivers/tty/hvc/Makefile    |   1 +
 drivers/tty/hvc/hvc_m3000.c | 202 ++++++++++++++++++++++++++++++++++++
 4 files changed, 219 insertions(+)
 create mode 100644 drivers/tty/hvc/hvc_m3000.c
I'm guessing this will go through the sparc tree, so:

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

thanks,

greg k-h
Thanks for taking the time to review this patch,  I hope to
get the full series through the sparc tree. I'll pick up your
tag for a v4 which I'll send out asap.

Regards
Magnus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help