Skip to content

mips: Add some kdump fail-safes for kernel memory

[email protected] linux-mips 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mips: Make sure kernel memory is in iomemarch/mips/kernel/setup.c+31 -210 replies
2/2mips: reserve elfcorehdrarch/mips/kernel/setup.c+39 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDavid Daney
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] mips: Add some kdump fail-safes for kernel memory

I was having some trouble with kdump on Octeon, and due to the way memory is handled there the MIPS kernel's assumptions about memory were not correct.

The first patch adds a fail-safes to make sure kernel memory is in the memory map. That way it appears in /proc/iomem.

The second patch reserve the elfcorehdr from kdump if it appears in the kernel's managed memory. That way it won't get clobbered by the kernel if that happens.