powerpc/kdump: Override crash_free_reserved_phys_range to avoid freeing RTAS
authorAnton Blanchard <anton@samba.org>
Tue, 24 Aug 2010 14:23:44 +0000 (14:23 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 29 Nov 2010 04:48:17 +0000 (15:48 +1100)
The crashkernel region will almost always overlap RTAS. If we free the
crashkernel region via "echo 0 > /sys/kernel/kexec_crash_size" then we will
free RTAS and the machine will crash in confusing and exciting ways.

Override crash_free_reserved_phys_range and check for overlap with RTAS.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

No differences found