24 Aug, 2020

1 commit

  • Replace the existing /* fall through */ comments and its variants with
    the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary
    fall-through markings when it is the case.

    [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through

    Signed-off-by: Gustavo A. R. Silva

    Gustavo A. R. Silva
     

19 Jun, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this file is part of the linux kernel and is made available under
    the terms of the gnu general public license version 2

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 28 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Allison Randal
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081206.534229504@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

30 Jan, 2013

2 commits

  • boot/compressed/misc.c is used for bzImage in 64bit and 32bit, and
    cmd_line_ptr could point to buffer that is above 4g, cmd_line_ptr
    should be 64bit otherwise high 32bit will be capped out.

    So need to change data type to unsigned long, that will be 64bit get
    correct address of command line buffer.

    And it is still ok with 32bit bzImage, because unsigned long on 32bit kernel
    is still 32bit.

    Signed-off-by: Yinghai Lu
    Link: http://lkml.kernel.org/r/1359058816-7615-19-git-send-email-yinghai@kernel.org
    Signed-off-by: H. Peter Anvin

    Yinghai Lu
     
  • cmdline.c::__cmdline_find_option... are shared between 16-bit setup code
    and 32/64 bit decompressor code.

    for 32/64 only path via kexec, we should not check if ptr is less 1M.
    as those cmdline could be put above 1M, or even 4G.

    Move out accessible checking out of __cmdline_find_option()
    So decompressor in misc.c can parse cmdline correctly.

    Signed-off-by: Yinghai Lu
    Link: http://lkml.kernel.org/r/1359058816-7615-18-git-send-email-yinghai@kernel.org
    Signed-off-by: H. Peter Anvin

    Yinghai Lu
     

03 Aug, 2010

1 commit

  • Separate early_serial_console from tty.c

    This allows for reuse of
    early_serial_console.c/string.c/printf.c/cmdline.c in boot/compressed/.

    -v2: according to hpa, don't include string.c etc
    -v3: compressed/misc.c must have early_serial_base as static, so move it back to tty.c
    for setup code

    Signed-off-by: Yinghai Lu
    LKML-Reference:
    Signed-off-by: H. Peter Anvin

    Yinghai Lu
     

20 Apr, 2008

1 commit


30 Jan, 2008

2 commits

  • Add prototype for cmdline_find_option_bool() missing from:

    x86 setup: early cmdline parser handle boolean options

    Also, fix up a minor formatting error in that patch.

    Signed-off-by: H. Peter Anvin
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    H. Peter Anvin
     
  • This patch extends the early commandline parser to support boolean options.
    The current version in mainline only supports parsing "option=arg" value pairs.

    With this it should be easy making other messages like "Uncompressing kernel"
    honour the "quiet" parameter, too.

    Signed-off-by: Roland Kletzing
    Signed-off-by: H. Peter Anvin
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    devzero@web.de
     

11 Oct, 2007

1 commit

  • Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar

    Thomas Gleixner