Re: [PATCH v3 0/2] s390/sclp: Resize for sclp-vt220 console

From: Heiko Carstens

Date: Thu Sep 24 2026 - 12:25:01 EST


On Thu, Sep 24, 2026 at 12:47:30PM +0200, Maximilian Immanuel Brandtner wrote:
> 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@xxxxxxxxx/)
> - 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(-)

Applied, thanks!