Thread (25 messages) flat view 25 messages, 3 authors, 2016-07-07
STALE3684d

Revision v21 of 5 in this series.

Revisions (5)
  1. v21 [diff vs current]
  2. v21 [diff vs current]
  3. v21 current
  4. v21 [diff vs current]
  5. v21 [diff vs current]

[PATCH v21 1/8] arm64: kdump: reserve memory for crash dump kernel

From: Thiago Jung Bauermann <hidden>
Date: 2016-07-06 18:11:45
Also in: kexec

Am Mittwoch, 06 Juli 2016, 16:52:19 schrieb AKASHI Takahiro:
On the startup of primary kernel, the memory region used by crash dump
kernel must be specified by "crashkernel=" kernel parameter.
reserve_crashkernel() will allocate and reserve the region for later use.

User space tools, like kexec-tools, will be able to find that region
marked as "Crash kernel" in /proc/iomem.
On powerpc, userspace tools get everything from the device tree (exposed to 
userspace in /proc/device-tree/), not /proc/iomem.

In the case of the crashkernel reserved region, that information is in 
/chosen/linux,crashkernel-base and /chosen/linux,crashkernel-size.

Either way is fine I think. I'm just mentioning this for reference in case 
you want the ARM implementation to be closer to another arch which is also 
based on the device tree.

-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help