summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/fpsimd.h
diff options
context:
space:
mode:
authorJiri Bohac <jbohac@suse.cz>2024-01-31 01:04:28 +0100
committerDave Hansen <dave.hansen@linux.intel.com>2024-03-01 10:27:20 -0800
commit7fd817c906503b6813ea3b41f5fdf4192449a707 (patch)
treecf0634281c180821eb74cfcae836867353423cf1 /arch/arm64/include/asm/fpsimd.h
parent6890cb1ace350b4386c8aee1343dc3b3ddd214da (diff)
x86/e820: Don't reserve SETUP_RNG_SEED in e820
SETUP_RNG_SEED in setup_data is supplied by kexec and should not be reserved in the e820 map. Doing so reserves 16 bytes of RAM when booting with kexec. (16 bytes because data->len is zeroed by parse_setup_data so only sizeof(setup_data) is reserved.) When kexec is used repeatedly, each boot adds two entries in the kexec-provided e820 map as the 16-byte range splits a larger range of usable memory. Eventually all of the 128 available entries get used up. The next split will result in losing usable memory as the new entries cannot be added to the e820 map. Fixes: 68b8e9713c8e ("x86/setup: Use rng seeds from setup_data") Signed-off-by: Jiri Bohac <jbohac@suse.cz> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Cc: <stable@kernel.org> Link: https://lore.kernel.org/r/ZbmOjKnARGiaYBd5@dwarf.suse.cz
Diffstat (limited to 'arch/arm64/include/asm/fpsimd.h')
0 files changed, 0 insertions, 0 deletions