Centos-kernel-stream-9/Documentation/arch
Baoquan He 6697702ca5 kexec: Allocate kernel above bzImage's pref_address
JIRA: https://issues.redhat.com/browse/RHEL-58641

Upstream Status: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

commit 43b1d3e68ee7f41c494ee5558d8def3d3d0b7f1b
Author: Chris Koch <chrisko@google.com>
Date:   Fri Dec 15 11:05:21 2023 -0800

    kexec: Allocate kernel above bzImage's pref_address

    A relocatable kernel will relocate itself to pref_address if it is
    loaded below pref_address. This means a booted kernel may be relocating
    itself to an area with reserved memory on modern systems, potentially
    clobbering arbitrary data that may be important to the system.

    This is often the case, as the default value of PHYSICAL_START is
    0x1000000 and kernels are typically loaded at 0x100000 or above by
    bootloaders like iPXE or kexec. GRUB behaves like the approach
    implemented here.

    Also fixes the documentation around pref_address and PHYSICAL_START to
    be accurate.

    [ dhansen: changelog tweak ]

    Co-developed-by: Cloud Hsu <cloudhsu@google.com>
    Signed-off-by: Cloud Hsu <cloudhsu@google.com>
    Signed-off-by: Chris Koch <chrisko@google.com>
    Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
    Reviewed-by: H. Peter Anvin (Intel) <hpa@zytor.com>
    Link: https://lore.kernel.org/all/20231215190521.3796022-1-chrisko%40google.com

Signed-off-by: Baoquan He <bhe@redhat.com>
2024-12-23 09:35:34 +08:00
..
s390 docs: move s390 under arch 2024-09-06 17:33:51 +02:00
x86 kexec: Allocate kernel above bzImage's pref_address 2024-12-23 09:35:34 +08:00
index.rst docs: move s390 under arch 2024-09-06 17:33:51 +02:00