]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xen: move checks for e820 conflicts further up
authorJuergen Gross <jgross@suse.com>
Tue, 6 Aug 2024 07:56:48 +0000 (09:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:43 +0000 (16:29 +0200)
commit161fd69123b0360d27922e282f377067ab7f1dab
treee166632312cc9a8927f93d2a9112f8fa504e7a08
parent79fec62d0f9bba88a6f9e2194db3eecace266d65
xen: move checks for e820 conflicts further up

commit c4498ae316da5b5786ccd448fc555f3339b8e4ca upstream.

Move the checks for e820 memory map conflicts using the
xen_chk_is_e820_usable() helper further up in order to prepare
resolving some of the possible conflicts by doing some e820 map
modifications, which must happen before evaluating the RAM layout.

Signed-off-by: Juergen Gross <jgross@suse.com>
Tested-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/xen/setup.c