Skip to content

RFC s390x: Improve console handling

Janosch Frank kvm linux-s390 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib: s390x: sclp: Add carriage return to line feedlib/s390x/sclp-console.c+14 -13 replies
2/3lib: s390x: sclp: Clear ASCII screen on setuplib/s390x/sclp-console.c s390x/run+3 -14 replies
3/3lib: s390x: sclp: Add line mode input handlinglib/s390x/sclp-console.c lib/s390x/sclp.h+180 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [kvm-unit-tests RFC 0/3] s390x: Improve console handling

Console IO is and has been in a state of "works for me". I don't think that will change soon since there's no need for a proper console driver when all we want is the ability to print or read a line at a time.

However since input is only supported on the ASCII console I was forced to use it on the HMC. The HMC generally does not add a \r on a \n so each line doesn't start at column 0. It's time to finally fix that.

Also, since there are environments that only provide the line-mode console it's time to add line-mode input to properly support them.

Janosch Frank (3):
lib: s390x: sclp: Add carriage return to line feed
lib: s390x: sclp: Clear ASCII screen on setup
lib: s390x: sclp: Add line mode input handling

 lib/s390x/sclp-console.c | 191 +++++++++++++++++++++++++++++++++++----
 lib/s390x/sclp.h         |  26 +++++-
 s390x/run                |   2 +-
 3 files changed, 197 insertions(+), 22 deletions(-)
Signature · 1 line
2.34.1