Thread (42 messages) 42 messages, 9 authors, 2016-11-01
STALE3506d
Revisions (31)
  1. v1 [diff vs current]
  2. v22 [diff vs current]
  3. v23 [diff vs current]
  4. v23 [diff vs current]
  5. v23 [diff vs current]
  6. v23 [diff vs current]
  7. v23 [diff vs current]
  8. v24 [diff vs current]
  9. v24 [diff vs current]
  10. v24 [diff vs current]
  11. v24 [diff vs current]
  12. v26 [diff vs current]
  13. v26 [diff vs current]
  14. v26 [diff vs current]
  15. v26 current
  16. v26 [diff vs current]
  17. v26 [diff vs current]
  18. v26 [diff vs current]
  19. v26 [diff vs current]
  20. v26 [diff vs current]
  21. v27 [diff vs current]
  22. v27 [diff vs current]
  23. v28 [diff vs current]
  24. v29 [diff vs current]
  25. v29 [diff vs current]
  26. v30 [diff vs current]
  27. v32 [diff vs current]
  28. v32 [diff vs current]
  29. v34 [diff vs current]
  30. v35 [diff vs current]
  31. v35 [diff vs current]

[PATCH v26 0/7] arm64: add kdump support

From: AKASHI Takahiro <hidden>
Date: 2016-09-21 07:42:50
Also in: kexec

On Mon, Sep 19, 2016 at 05:05:48PM +0100, James Morse wrote:
On 16/09/16 21:17, Ard Biesheuvel wrote:
quoted
On 16 September 2016 at 17:04, James Morse [off-list ref] wrote:
quoted
Mark, Ard, how does/will reserved-memory work on an APCI only system?
It works by accident, at the moment. We used to ignore both
/memreserve/s and the /reserved-memory node, but due to some unrelated
refactoring, we ended up honouring the reserved-memory node when
booting via UEFI
Okay, so kdump probably shouldn't rely on this behaviour...

For an acpi-only system, we could get reserve_crashkernel() to copy the uefi
memory map into the reserved region, changing the region types for existing
kernel memory to EfiReservedMemoryType (for example) and fixing up the reserved
region boundaries.

This second memory map could then be added alongside the real one in the
DT/chosen, and used in preference the second time we go through uefi_init() in
the crash kernel.
Do we need add this map as the second one?
Why not replace "linux,uefi-mmap-start" in a new blob?
kexec-tools would still need to keep the '/reserved-memory' node for non-uefi
systems.
Yeah, but if we go in our own way on UEFI/ACPI systems, we may want to
go in a DT-specific way, like PPC does, on DT systems.
(That is, "linux,usable-memory" in memory nodes.)

Thanks,
-Takahiro AKASHI
Doing this doesn't depend on userspace, and means the uefi memory map is still
the one and only true source of memory layout information. If fixing it like
this is valid I don't think it should block kdump.

... I will think about this some more before trying to put it together.



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