linux-kernelorg-stable/arch/s390/include/uapi/asm
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
..
Kbuild
auxvec.h
bitsperlong.h
bpf_perf_event.h treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers 2019-07-25 11:05:10 +02:00
byteorder.h
chpid.h
chsc.h
clp.h
cmb.h
dasd.h s390/dasd: Add new ioctl to release space 2019-07-11 20:39:54 +02:00
guarded_storage.h
hwctrset.h s390/cpumf: rename header file to hwctrset.h 2021-03-08 10:46:28 +01:00
hypfs.h
ioctls.h
ipcbuf.h arch: ipcbuf.h: make uapi asm/ipcbuf.h self-contained 2019-12-04 19:44:14 -08:00
ipl.h s390: nvme ipl 2020-05-06 15:19:35 +02:00
kvm.h s390/kvm: diagnose 0x318 sync and reset 2020-06-23 10:55:33 +02:00
kvm_para.h
kvm_perf.h
monwriter.h
perf_regs.h
pkey.h s390/pkey: support CCA and EP11 secure ECC private keys 2020-09-24 10:03:28 +02:00
posix_types.h
ptrace.h s390: convert to generic entry 2021-01-19 12:29:26 +01:00
qeth.h
runtime_instr.h s390: fix unrecognized __aligned() in uapi header 2019-06-07 10:09:51 +02:00
schid.h s390: add struct tpi_info to struct pt_regs 2021-06-07 17:07:01 +02:00
sclp_ctl.h
setup.h s390: support command lines longer than 896 bytes 2021-10-26 15:21:31 +02:00
sie.h s390/sie: fix typo in SIGP code description 2020-10-07 21:50:02 +02:00
sigcontext.h
signal.h arch: move SA_* definitions to generic headers 2020-11-23 10:31:05 -06:00
stat.h
statfs.h
sthyi.h
tape390.h
termios.h
types.h
ucontext.h
unistd.h
virtio-ccw.h
vmcp.h
vtoc.h
zcrypt.h s390/zcrypt: code beautification and struct field renames 2020-07-03 10:49:34 +02:00