diff options
author | Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | 2012-02-16 02:14:22 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-02-23 00:50:01 +0100 |
commit | eb39c8803d0e3d98fe74825f99287f63d55e6460 (patch) | |
tree | cf157bb2bb5271aaf1823e9ee3b91800c00c8b05 /firmware/dsp56k | |
parent | fadump: Add documentation for firmware-assisted dump. (diff) | |
download | linux-eb39c8803d0e3d98fe74825f99287f63d55e6460.tar.xz linux-eb39c8803d0e3d98fe74825f99287f63d55e6460.zip |
fadump: Reserve the memory for firmware assisted dump.
Reserve the memory during early boot to preserve CPU state data, HPTE region
and RMA (real mode area) region data in case of kernel crash. At the time of
crash, powerpc firmware will store CPU state data, HPTE region data and move
RMA region data to the reserved memory area.
If the firmware-assisted dump fails to reserve the memory, then fallback
to existing kexec-based kdump.
Most of the code implementation to reserve memory has been
adapted from phyp assisted dump implementation written by Linas Vepstas
and Manish Ahuja
This patch also introduces a config option CONFIG_FA_DUMP for firmware
assisted dump feature on Powerpc (ppc64) architecture.
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'firmware/dsp56k')
0 files changed, 0 insertions, 0 deletions