[PATCH 0/9] Improve boot command line handling

From: Christophe Leroy
Date: Tue Apr 02 2019 - 05:08:38 EST


The purpose of this series is to improve and enhance the
handling of kernel boot arguments.

It is first focussed on powerpc but also extends the capability
for other arches.

This is based on suggestion from Daniel Walker <danielwa@xxxxxxxxx>

Christophe Leroy (9):
powerpc: enable appending of CONFIG_CMDLINE to bootloader's cmdline.
Add generic function to build command line.
drivers: of: use cmdline building function
powerpc/prom_init: get rid of PROM_SCRATCH_SIZE
powerpc: convert to generic builtin command line
Add capability to prepend the command line
powerpc: add capability to prepend default command line
Gives arches opportunity to use generically defined boot cmdline
manipulation
powerpc: use generic CMDLINE manipulations

arch/powerpc/Kconfig | 23 ++------------
arch/powerpc/kernel/prom_init.c | 38 ++++++++++-------------
arch/powerpc/kernel/prom_init_check.sh | 2 +-
drivers/of/fdt.c | 23 +++-----------
include/linux/cmdline.h | 37 ++++++++++++++++++++++
init/Kconfig | 56 ++++++++++++++++++++++++++++++++++
6 files changed, 117 insertions(+), 62 deletions(-)
create mode 100644 include/linux/cmdline.h

--
2.13.3