• Tyler Hicks's avatar
    arm64: Extend the kernel command line from the bootloader · 1e40d105
    Tyler Hicks authored
    Provide support for additional kernel command line parameters to be
    concatenated onto the end of the command line provided by the
    bootloader. Additional parameters are specified in the CONFIG_CMDLINE
    option when CONFIG_CMDLINE_EXTEND is selected, matching other
    architectures and leveraging existing support in the FDT and EFI stub
    code.
    
    Special care must be taken for the arch-specific nokaslr parsing. Search
    the bootargs FDT property and the CONFIG_CMDLINE when
    CONFIG_CMDLINE_EXTEND is in use.
    
    There are a couple of known use cases for this feature:
    
    1) Switching between stable and development kernel versions, where one
       of the versions benefits from additional command line parameters,
       such as debugging options.
    2) Specifying additional command line parameters, for additional tuning
       or debugging, when the bootloader does not offer an interactive mode.
    Signed-off-by: default avatarTyler Hicks <tyhicks@linux.microsoft.com>
    Link: https://lore.kernel.org/r/20200921191557.350256-3-tyhicks@linux.microsoft.comSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    1e40d105
Kconfig 64.1 KB