]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] kdump: Support kernels having 64k page size.
authorSachin P. Sant <sachinp@in.ibm.com>
Fri, 8 Sep 2006 02:29:52 +0000 (07:59 +0530)
committerPaul Mackerras <paulus@samba.org>
Wed, 13 Sep 2006 08:30:04 +0000 (18:30 +1000)
commit27395dea1b4a4636e9d343f2a30490362c4a317c
tree387a80fdf9a3ca1ff052911bc3990126e3f0d9ca
parentbd655de4ef36ba4a9e0f90c6a92433ca68a5d830
[POWERPC] kdump: Support kernels having 64k page size.

This is required to generate proper core files using kdump on ppc64.

Create a backup region of 64K size irrespective of the PAGE SIZE.
At present 32K was used as backup size. In the case of 64K page size,
second PT_LOAD segments starts at 32K and the first one is not page
aligned.  __ioremap() (crash_dump.c) fails if pfn = 0 which is the
case for the second PT_LOAD segment. This is not an issue for 4K page
size because the the first page (32K backup) is copied to second
kernel memory and thus referencing with the second kernel pfn.

Signed-off-by: Sachin Sant <sachinp@in.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/kdump.h