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

From: Magnus Lindholm

Date: Tue Oct 13 2026 - 18:17:28 EST


Hi Greg,

On Tue, Oct 13, 2026 at 3:04 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, Oct 12, 2026 at 08:48:09PM +0200, Magnus Lindholm wrote:
> > 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@xxxxxxxxx>
> > ---
> > 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@xxxxxxxxxxxxxxxxxxx>
>
> 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