linux/arch/x86
Ken'ichi Ohmichi 69243f9125 x86: Dump filtering supports x86_64 sparsemem
This patch adds the symbol "init_level4_pgt" to the vmcoreinfo data so
that makedumpfile (dump filtering command) supports x86_64 sparsemem 
kernel of linux-2.6.24.

makedumpfile creates a small dumpfile by excluding unnecessary pages for
the analysis. It checks attributes in page structures and distinguishes
necessary pages and unnecessary ones. To check them, makedumpfile gets
the vmcoreinfo data which has the minimum debugging information only for
dump filtering.

For older x86_64 kernel (linux-2.6.23 or before), makedumpfile translates
the virtual address of page structure into physical address by subtracting
PAGE_OFFSET from virtual address, but this translation isn't effective for
linux-2.6.24 sparsemem kernel, because its page structures are in virtual
memmap area. makedumpfile should translate their virtual address by 4-levels
paging and it needs the symbol "init_level4_pgt".

Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-10-27 20:57:43 +02:00
..
boot x86: Fix boot protocol KEEP_SEGMENTS check. 2007-10-27 20:57:43 +02:00
configs x86: move defconfig files for i386 and x86_64 to x86 2007-10-25 22:27:41 +02:00
crypto x86: merge arch/x86/crypto Makefiles 2007-10-23 22:37:23 +02:00
ia32 x86: Use linux/elfcore-compat.h 2007-10-19 20:35:02 +02:00
kernel x86: Dump filtering supports x86_64 sparsemem 2007-10-27 20:57:43 +02:00
lguest lguest: documentation update 2007-10-25 15:02:50 +10:00
lib Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-x86 2007-10-19 15:06:00 -07:00
mach-default spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
mach-es7000 i386: es7000 minor cleanups 2007-10-17 20:16:15 +02:00
mach-generic spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
mach-visws [x86] remove uses of magic macros for boot_params access 2007-10-16 17:38:31 -07:00
mach-voyager x86: voyager: fix bogus conversion to per_cpu for boot_cpu_info 2007-10-27 20:57:43 +02:00
math-emu kbuild: fix up CFLAGS usage 2007-10-14 21:49:42 +02:00
mm x86: fix bogus KERN_ALERT on oops 2007-10-24 12:58:02 +02:00
oprofile x86: add instrumentation menu 2007-10-23 22:37:22 +02:00
pci spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00
power i386: move power 2007-10-11 11:16:34 +02:00
vdso x86: vdso linker script cleanup 2007-10-17 20:17:06 +02:00
video i386: move video 2007-10-11 11:16:56 +02:00
xen [SPARC, XEN, NET/CXGB3] use irq_handler_t where appropriate 2007-10-23 19:53:17 -04:00
Kconfig.cpu x86: move i386 and x86_64 Kconfig files to x86 directory 2007-10-25 22:37:02 +02:00
Kconfig.debug x86: unification of i386 and x86_64 Kconfig.debug 2007-10-25 22:35:10 +02:00
Kconfig.i386 x86: move i386 and x86_64 Kconfig files to x86 directory 2007-10-25 22:37:02 +02:00
Kconfig.x86_64 x86: move i386 and x86_64 Kconfig files to x86 directory 2007-10-25 22:37:02 +02:00
Makefile x86: move defconfig files for i386 and x86_64 to x86 2007-10-25 22:27:41 +02:00
Makefile_32 x86: move i386 and x86_64 Makefiles to arch/x86 2007-10-25 22:27:34 +02:00
Makefile_32.cpu x86: move i386 and x86_64 Makefiles to arch/x86 2007-10-25 22:27:34 +02:00
Makefile_64 x86: move i386 and x86_64 Makefiles to arch/x86 2007-10-25 22:27:34 +02:00