mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] s390/sclp: Resize for sclp-vt220 console
@ 2026-09-24 10:47 Maximilian Immanuel Brandtner
  2026-09-24 10:47 ` [PATCH v3 1/2] s390/sclp: Introduce dedicated sclp-vt220 event buffer type Maximilian Immanuel Brandtner
  2026-09-24 10:47 ` [PATCH v3 2/2] s390/sclp: Implement resize for sclp-vt220 console Maximilian Immanuel Brandtner
  0 siblings, 2 replies; 6+ messages in thread
From: Maximilian Immanuel Brandtner @ 2026-09-24 10:47 UTC (permalink / raw)
  To: oberpar, linux-s390, linux-kernel
  Cc: hca, gor, agordeev, borntraeger, svens, brueckner, mjrosato,
	farman, maximilian.immanuel.brandtner

This patch-set implements resize event handling for the sclp-vt220
console and refactors some of the surrounding code.

---
v3:
- guard against races when setting the initial winsize
- validate sclp header length

v2:
- don't set the initial winsize asynchronously
- validate sclp buffer length

Testing:
- Tested on QEMU: commit 38879a667f with the following patches applied:
    [PATCH] s390x/sclpconsole: implement resizing for vt220 consoles
    [PATCH v7 00/12] virtio-console: notify about the terminal size
    (https://lore.kernel.org/qemu-devel/20260609-console-resize-v7-0-0c550fdcec15@gmail.com/)
 - Tested on linux-next (commit c1f49dea2b8f)

Maximilian Immanuel Brandtner (2):
  s390/sclp: Introduce dedicated sclp-vt220 event buffer type
  s390/sclp: Implement resize for sclp-vt220 console

 drivers/s390/char/sclp_vt220.c | 87 +++++++++++++++++++++++++++++-----
 1 file changed, 74 insertions(+), 13 deletions(-)

-- 
2.54.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-24 15:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-24 10:47 [PATCH v3 0/2] s390/sclp: Resize for sclp-vt220 console Maximilian Immanuel Brandtner
2026-09-24 10:47 ` [PATCH v3 1/2] s390/sclp: Introduce dedicated sclp-vt220 event buffer type Maximilian Immanuel Brandtner
2026-09-24 15:34   ` Hendrik Brueckner
2026-09-24 10:47 ` [PATCH v3 2/2] s390/sclp: Implement resize for sclp-vt220 console Maximilian Immanuel Brandtner
2026-09-24 15:31   ` Peter Oberparleiter
2026-09-24 15:34   ` Hendrik Brueckner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®