]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ARM: 7098/1: kdump: copy kernel relocation code at the kexec prepare stage"
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 7 Nov 2011 19:04:36 +0000 (19:04 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 7 Nov 2011 19:04:36 +0000 (19:04 +0000)
commit228b1353e537fa1ff119e855f2f8dc235ac950e8
treec5ec02b60b9fc84c4ac6c5ccaf279722b8978f95
parent2f8650d25fc55582413e4662ecdeec8f17541fb8
Revert "ARM: 7098/1: kdump: copy kernel relocation code at the kexec prepare stage"

This reverts commit 420c42d72b7093526c94c8e6dbd9b5a074ddc789.

Will Deacon reports:

This is causing kexec to fail.

The symptoms are that the .init.text section is not loaded as part of the
new kernel image, so when we try to do the SMP/UP fixups we hit a whole sea
of poison left there by the previous kernel.

So my guess is that machine_kexec_prepare *is* too early for preparing the
reboot_code_buffer and, unless anybody has a good reason not to, I'd like to
revert the patch causing these problems.

Reported-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/machine_kexec.c