s390/ipl: Fix size of vmcmd buffers for sending z/VM CP diag X'008' cmds
authorAlexander Egorenkov <egorenar@linux.ibm.com>
Fri, 10 May 2024 09:39:52 +0000 (11:39 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 14 May 2024 18:21:54 +0000 (20:21 +0200)
commit72935e3adafdd26fbabf12f3d88165a09516168a
treedf8383b4e76cbec2f05ae432a86c03a5be6c3590
parent207ddb918995369f716e2b1d987ca6880c2bc21d
s390/ipl: Fix size of vmcmd buffers for sending z/VM CP diag X'008' cmds

z/VM CP diagnose X'008' accepts commands of max 240 characters.
Using a smaller value as a buffer size makes kernel send truncated CP
commands which are longer than the old buffer size. This can result in
invalid CP commands passed to z/VM.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/ipl.c