On Fri, Mar 17, David Wilder wrote:
This patch add sparsemem support to crash. Please comment.
Per-node memory display functions (kmem -n) are not yet working
for sparsemem kernels. This will come in a later patch. This patch
applies to 4.0-2.21.
This patch is incomplete.
missing defines for ia64, s390, s390x
pick some random numbers.
---
defs.h | 11 +++++++++++
1 file changed, 11 insertions(+)
Index: crash-4.0-2.18/defs.h
===================================================================
--- crash-4.0-2.18.orig/defs.h
+++ crash-4.0-2.18/defs.h
@@ -2024,6 +2024,7 @@ struct load_module {
#define KERNEL_CACHED_BASE ((ulong)KERNEL_CACHED_REGION << REGION_SHIFT)
#define _SECTION_SIZE_BITS 30
+#define _MAX_PHYSADDR_BITS 50 /* FIXME */
#define _MAX_PHYSMEM_BITS 50
/*
@@ -2256,6 +2257,11 @@ struct efi_memory_desc_t {
#define TIF_SIGPENDING (2)
+/* FIXME */
+#define _SECTION_SIZE_BITS 24
+#define _MAX_PHYSADDR_BITS 44
+#define _MAX_PHYSMEM_BITS 44
+
#endif /* S390 */
#ifdef S390X
@@ -2276,6 +2282,11 @@ struct efi_memory_desc_t {
#define TIF_SIGPENDING (2)
+/* FIXME */
+#define _SECTION_SIZE_BITS 24
+#define _MAX_PHYSADDR_BITS 44
+#define _MAX_PHYSMEM_BITS 44
+
#endif /* S390X */
#ifdef PLATFORM