Skip to content

Commit

Permalink
[POWERPC] kdump: Support kernels having 64k page size.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin P. Sant authored and Paul Mackerras committed Sep 13, 2006
1 parent 6958829 commit e269d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-powerpc/kdump.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/* How many bytes to reserve at zero for kdump. The reserve limit should
* be greater or equal to the trampoline's end address.
* Reserve to the end of the FWNMI area, see head_64.S */
#define KDUMP_RESERVE_LIMIT 0x8000
#define KDUMP_RESERVE_LIMIT 0x10000 /* 64K */

#ifdef CONFIG_CRASH_DUMP

Expand Down

0 comments on commit e269d26

Please sign in to comment.