Skip to content

Improve boot command line handling

Christophe Leroy linux-arch linuxppc-dev lkml 1 version Applied

Status from this message: Applied to powerpc next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9powerpc: enable appending of CONFIG_CMDLINE to bootloader's cmdline.arch/powerpc/Kconfig arch/powerpc/kernel/prom_init.c arch/powerpc/kernel/prom_init_check.sh+23 -50 replies
2/9Add generic function to build command line.include/linux/cmdline.h+34 -00 replies
3/9drivers: of: use cmdline building functiondrivers/of/fdt.c include/linux/cmdline.h+5 -200 replies
4/9powerpc/prom_init: get rid of PROM_SCRATCH_SIZEarch/powerpc/kernel/prom_init.c+9 -111 reply
5/9powerpc: convert to generic builtin command linearch/powerpc/kernel/prom_init.c+8 -110 replies
6/9Add capability to prepend the command lineinclude/linux/cmdline.h+4 -10 replies
7/9powerpc: add capability to prepend default command linearch/powerpc/Kconfig+6 -00 replies
8/9Gives arches opportunity to use generically defined boot cmdline manipulationinit/Kconfig+56 -00 replies
9/9powerpc: use generic CMDLINE manipulationsarch/powerpc/Kconfig+3 -450 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Improve boot command line handling

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 <[email protected]>

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
Signature · 1 line
2.13.3