lkml.org 
[lkml]   [2019]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.4 29/56] x86/boot: Add missing bootparam that breaks boot on some platforms
    Date
    From: Corey Minyard <cminyard@mvista.com>

    Change

    a90118c445cc x86/boot: Save fields explicitly, zero out everything else

    modified the way boot parameters were saved on x86. When this was
    backported, e820_table didn't exists, and that change was dropped.
    Unfortunately, e820_table did exist, it was just named e820_map
    in this kernel version.

    This was breaking booting on a Supermicro Super Server/A2SDi-2C-HLN4F
    with a Denverton CPU. Adding e820_map to the saved boot params table
    fixes the issue.

    Cc: <stable@vger.kernel.org> # 4.9.x, 4.4.x
    Signed-off-by: Corey Minyard <cminyard@mvista.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    arch/x86/include/asm/bootparam_utils.h | 1 +
    1 file changed, 1 insertion(+)

    --- a/arch/x86/include/asm/bootparam_utils.h
    +++ b/arch/x86/include/asm/bootparam_utils.h
    @@ -71,6 +71,7 @@ static void sanitize_boot_params(struct
    BOOT_PARAM_PRESERVE(edd_mbr_sig_buf_entries),
    BOOT_PARAM_PRESERVE(edd_mbr_sig_buffer),
    BOOT_PARAM_PRESERVE(hdr),
    + BOOT_PARAM_PRESERVE(e820_map),
    BOOT_PARAM_PRESERVE(eddbuf),
    };


    \
     
     \ /
      Last update: 2019-09-20 00:22    [W:4.017 / U:0.200 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site