Skip to content

s390: add support for extended cmdline length

Simon Horman kexec 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest0 of 5 patches 0 repliesNew

Patches in v3 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/5] s390: add support for extended cmdline length
Quoted 13 lines · 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.

Quoted 7 lines

Changes in v3:
- handle short reads and interruptions in slurp_proc_file()

Changes in v2:

- add slurp_proc_file() to read proc files without knowing the size upfront
- move command_line string from global to function scope

Thanks, applied.