Thread (19 messages) flat view 19 messages, 4 authors, 2017-03-02
STALE3483d REVIEWED: 3 (3M)

1 review trailer.

[PATCH v32 07/13] arm64: hibernate: preserve kdump image around hibernation

From: james.morse@arm.com (James Morse)
Date: 2017-02-15 12:12:35
Also in: kexec

Hi Akashi,

On 07/02/17 08:08, AKASHI Takahiro wrote:
Since arch_kexec_protect_crashkres() removes a mapping for crash dump
kernel memory, the loaded contents won't be preserved around hibernation.

In this patch, arch_kexec_(un)protect_crashkres() are additionally called
before/after hibernation so that the relevant region will be mapped again
and restored just as the other memory regions are.
Reviewed-by: James Morse <james.morse@arm.com>

A quick test of this took longer than expected (writing to a slow usb device), I
suspect it is save/restoring the whole crash region (which I don't think is a
problem). If someone turns out to use this combination of features I will look
at improving this, (almost certainly requires core-code changes).


Thanks,

James
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help