Re: [PATCH 0/9] Improve boot command line handling

From: Christophe Leroy
Date: Tue Dec 03 2019 - 04:12:36 EST




Le 02/04/2019 Ã 11:08, Christophe Leroy a ÃcritÂ:
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>

Looks like nobody has been interested in that series.

It doesn't apply anymore and I don't plan to rebase it, I'll retire it.

Christophe



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