Skip to content

RFC patches for a network-based hvc backend (s390)

Hendrik Brueckner linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5hvc_console: Adding hangup notifierdrivers/char/hvc_console.c drivers/char/hvc_console.h drivers/char/hvc_irq.c +4 more+14 -30 replies
2/5hvc_console: Add tty driver flag TTY_DRIVER_RESET_TERMIOSdrivers/char/hvc_console.c+1 -13 replies
3/5hvc_console: Fix loop if put_char() returns 0drivers/char/hvc_console.c+11 -90 replies
4/5hvc_console: Add tty window resizingdrivers/char/hvc_console.c drivers/char/hvc_console.h+67 -05 replies
5/5hvc_console: Remove __devexit annotation of hvc_remove()drivers/char/hvc_console.c drivers/char/hvc_console.h+2 -20 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchChristian BorntraegerAlan Cox
1/5A-b
2/5A-b A-b
3/5R-b T-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/5] patches for a network-based hvc backend (s390)

Hello,

I work on a network-based hvc console backend for s390 that allows to get "full-screen" terminal access to z/VM guest machines.
The solution consists of a HVC backend that provides the terminal interface; and a tool to connect to the terminal via a z/VM specific communication protocol.

The network-based backend differs in a few aspects from the notifier-based model of the HVC console; because it has to deal with (dis)connects and must take care of virtual tty hangups. Therefore, I would like to introduce a third notifier for hangups (see patch 1).

Further I found out that if put_char() returns 0 in particular cases, the hvc console starts to loop. I tried to address this problem with patch 3 and I hope that it will work for all backends.

Finally, I would like to add a function that allows to resize the terminal window of a HVC terminal (patch 4).

Here is an overview about the complete patch series:
Patch 1 adds a hangup notifier
Patch 2 adds tty driver flag TTY_DRIVER_RESET_TERMIOS
Patch 3 fixes a loop if put_char() returns 0
Patch 4 adds a function to resize the tty window
Patch 5 removes __devexit of hvc_remove() for use in __(dev)init sections

Any review feedback would be greatly appreciated.
Thank you in advance.

Regards,
Hendrik

Signature · 12 lines
Hendrik Brueckner
D/3303 Linux on System z Development
Tel: +49 7031 16-1073
Fax: +49 7031 16-3456
eMail: [email protected]
IBM Deutschland Research & Development GmbH, Schoenaicher Str. 220, 71032 Boeblingen

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Erich Baier
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294