linux-mips
[Top] [All Lists]

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

To: linux-mips@linux-mips.org
Subject: [PATCH 0/2] mips: Add some kdump fail-safes for kernel memory
From: minyard@acm.org
Date: Tue, 12 Feb 2013 14:41:46 -0600
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Sender: linux-mips-bounce@linux-mips.org
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.

<Prev in Thread] Current Thread [Next in Thread>