[PATCH 0/3] s390: add support for extended cmdline length

Sven Schnelle svens at linux.ibm.com
Sun Nov 21 23:13:58 PST 2021


Hi,

this patchset adds support for extended command line lengths on s390.
The former limit of 896 has been too short in a some configurations. The
linux kernel now provides an additional field in the parameter area
which contains the maximum allowed command line length. In older kernels
this field is zero. In that case the old limit of 896 bytes is used.
This was introduced with 5ecb2da660ab ("s390: support command lines
longer than 896 bytes") in linux.

And while at it, also add the --reuse-cmdline option and use
KEXEC_ALL_OPTIONS.

Sven Schnelle (3):
  s390: add variable command line size
  s390: use KEXEC_ALL_OPTIONS
  s390: add support for --reuse-cmdline

 kexec/arch/s390/include/arch/options.h | 10 ++--
 kexec/arch/s390/kexec-image.c          | 72 +++++++++++++++++---------
 kexec/arch/s390/kexec-s390.h           | 19 +++----
 3 files changed, 63 insertions(+), 38 deletions(-)

-- 
2.25.1




More information about the kexec mailing list