]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen: check for kernel memory conflicting with memory layout
authorJuergen Gross <jgross@suse.com>
Fri, 17 Jul 2015 04:51:30 +0000 (06:51 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 11:43:25 +0000 (03:43 -0800)
commite2a3adf0f5f0ebb878d8e790f1a0f3f5df2be62f
treeae2c31de891f2e0e4107b0ec37524adb2c58d376
parent50204a11a4b1a94c6a7a68f20062d73daf1b9f58
xen: check for kernel memory conflicting with memory layout

Checks whether the pre-allocated memory of the loaded kernel is in
conflict with the target memory map. If this is the case, just panic
instead of run into problems later, as there is nothing we can do
to repair this situation.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit 808fdb71936c41d46245f0e3aa6ec889cba70d97)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
(cherry picked from commit c2c7056af7647b523875d8b9850df6143d6eee11)
arch/x86/xen/setup.c