mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
43b1d3e68e
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 |
||
---|---|---|
.. | ||
i386 | ||
x86_64 | ||
amd_hsmp.rst | ||
amd-memory-encryption.rst | ||
boot.rst | ||
booting-dt.rst | ||
buslock.rst | ||
cpuinfo.rst | ||
earlyprintk.rst | ||
elf_auxvec.rst | ||
entry_64.rst | ||
exception-tables.rst | ||
features.rst | ||
ifs.rst | ||
index.rst | ||
intel_txt.rst | ||
intel-hfi.rst | ||
iommu.rst | ||
kernel-stacks.rst | ||
mds.rst | ||
microcode.rst | ||
mtrr.rst | ||
orc-unwinder.rst | ||
pat.rst | ||
pti.rst | ||
resctrl.rst | ||
sgx.rst | ||
shstk.rst | ||
sva.rst | ||
tdx.rst | ||
tlb.rst | ||
topology.rst | ||
tsx_async_abort.rst | ||
usb-legacy-support.rst | ||
xstate.rst | ||
zero-page.rst |