Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] s390: add support for extended cmdline length
@ 2021-11-22  7:13 Sven Schnelle
  2021-11-22  7:13 ` [PATCH 1/3] s390: add variable command line size Sven Schnelle
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Sven Schnelle @ 2021-11-22  7:13 UTC (permalink / raw)
  To: Simon Horman; +Cc: kexec, Sven Schnelle

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


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2021-12-07 16:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-22  7:13 [PATCH 0/3] s390: add support for extended cmdline length Sven Schnelle
2021-11-22  7:13 ` [PATCH 1/3] s390: add variable command line size Sven Schnelle
2021-12-07 14:29   ` Philipp Rudo
2021-12-07 16:06     ` Sven Schnelle
2021-11-22  7:14 ` [PATCH 2/3] s390: use KEXEC_ALL_OPTIONS Sven Schnelle
2021-11-22  7:14 ` [PATCH 3/3] s390: add support for --reuse-cmdline Sven Schnelle
2021-12-07 14:34   ` Philipp Rudo
2021-12-07 16:12     ` Sven Schnelle

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