[PATCH v2 0/7] Improve boot command line handling

Christophe Leroy
2021-03-03T05:38:05Z

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@cisco.com>

Christophe Leroy (7):
cmdline: Add generic function to build command line.
drivers: of: use cmdline building function
powerpc: convert to generic builtin command line
cmdline: Add capability to prepend the command line
powerpc: add capability to prepend default command line
cmdline: Gives architectures opportunity to use generically defined
boot cmdline manipulation
powerpc: use generic CMDLINE manipulations

arch/powerpc/Kconfig | 37 ++-----------------
arch/powerpc/kernel/prom_init.c | 35 +++---------------
drivers/of/fdt.c | 23 ++----------
include/linux/cmdline.h | 65 +++++++++++++++++++++++++++++++++
init/Kconfig | 56 ++++++++++++++++++++++++++++
5 files changed, 133 insertions(+), 83 deletions(-)
create mode 100644 include/linux/cmdline.h

--
2.25.0