diff options
author | Juergen Gross <[email protected]> | 2021-09-20 14:04:21 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2021-09-21 09:52:08 +0200 |
commit | 8aa83e6395ce047a506f0b16edca45f36c1ae7f8 (patch) | |
tree | d43aa5be2c48ec5e13804003964cdf886338fd64 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | d4ffd5df9d18031b6a53f934388726775b4452d3 (diff) |
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 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions