aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2021-09-20 12:04:21 +0000
committerBorislav Petkov <[email protected]>2021-09-21 07:52:08 +0000
commit8aa83e6395ce047a506f0b16edca45f36c1ae7f8 (patch)
treed43aa5be2c48ec5e13804003964cdf886338fd64 /lib/test_stackinit.c
parentx86/fault: Fix wrong signal when vsyscall fails with pkey (diff)
downloadkernel-8aa83e6395ce047a506f0b16edca45f36c1ae7f8.tar.gz
kernel-8aa83e6395ce047a506f0b16edca45f36c1ae7f8.zip
x86/setup: Call early_reserve_memory() earlier
Commit in Fixes introduced early_reserve_memory() to do all needed initial memblock_reserve() calls in one function. Unfortunately, the call of early_reserve_memory() is done too late for Xen dom0, as in some cases a Xen hook called by e820__memory_setup() will need those memory reservations to have happened already. Move the call of early_reserve_memory() before the call of e820__memory_setup() in order to avoid such problems. Fixes: a799c2bd29d1 ("x86/setup: Consolidate early memory reservations") Reported-by: Marek Marczykowski-Górecki <[email protected]> Signed-off-by: Juergen Gross <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Tested-by: Marek Marczykowski-Górecki <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions