linux-kernelorg-stable/arch/s390
Sven Schnelle 5ecb2da660 s390: support command lines longer than 896 bytes
Currently s390 supports a fixed maximum command line length of 896
bytes. This isn't enough as some installers are trying to pass all
configuration data via kernel command line, and even with zfcp alone
it is easy to generate really long command lines. Therefore extend
the command line to 4 kbytes.

In the parm area where the command line is stored there is no indication
of the maximum allowed length, so a new field which contains the maximum
length is added.

The parm area has always been initialized to zero, so with old kernels
this field would read zero. This is important because tools like zipl
could read this field. If it contains a number larger than zero zipl
knows the maximum length that can be stored in the parm area, otherwise
it must assume that it is booting a legacy kernel and only 896 bytes are
available.

The removing of trailing whitespace in head.S is also removed because
code to do this is already present in setup_boot_command_line().

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2021-10-26 15:21:31 +02:00
..
appldata
boot s390: support command lines longer than 896 bytes 2021-10-26 15:21:31 +02:00
configs s390: update defconfigs 2021-10-19 15:39:54 +02:00
crypto
hypfs s390: rename dma section to amode31 2021-08-05 14:10:53 +02:00
include s390: support command lines longer than 896 bytes 2021-10-26 15:21:31 +02:00
kernel s390: support command lines longer than 896 bytes 2021-10-26 15:21:31 +02:00
kvm s390: rename last_break to pgm_last_break 2021-10-26 15:21:28 +02:00
lib s390/spinlock: remove incorrect kernel doc indicator 2021-10-26 15:21:30 +02:00
mm s390: add support for BEAR enhancement facility 2021-10-26 15:21:29 +02:00
net s390: introduce nospec_uses_trampoline() 2021-10-26 15:21:29 +02:00
pci s390/pci: add s390_iommu_aperture kernel parameter 2021-10-26 15:21:30 +02:00
purgatory s390: enable KCSAN 2021-07-30 17:09:23 +02:00
tools s390/disassembler: add instructions 2021-07-27 09:39:19 +02:00
Kbuild
Kconfig samples: add s390 support for ftrace direct call samples 2021-10-19 15:39:54 +02:00
Kconfig.debug tracing: Refactor TRACE_IRQFLAGS_SUPPORT in Kconfig 2021-08-16 11:37:21 -04:00
Makefile s390: remove WARN_DYNAMIC_STACK 2021-09-15 14:29:21 +02:00