<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title></title>
</head>
<body>
Olaf Hering wrote:<br>
<blockquote type="cite" cite="mid20060320083340.GA27034@suse.de">
<pre wrap=""> On Fri, Mar 17, David Wilder wrote:<br><br></pre>
<blockquote type="cite">
<pre wrap="">This patch add sparsemem support to crash. Please comment.<br>Per-node memory display functions (kmem -n) are not yet working<br>for sparsemem kernels. This will come in a later patch. This patch <br>applies to 4.0-2.21.<br></pre>
</blockquote>
<pre wrap=""><!----><br>This patch is incomplete.<br><br><br>missing defines for ia64, s390, s390x<br>pick some random numbers.<br><br>---<br> defs.h | 11 +++++++++++<br> 1 file changed, 11 insertions(+)<br><br>Index: crash-4.0-2.18/defs.h<br>===================================================================<br>--- crash-4.0-2.18.orig/defs.h<br>+++ crash-4.0-2.18/defs.h<br>@@ -2024,6 +2024,7 @@ struct load_module {<br> #define KERNEL_CACHED_BASE ((ulong)KERNEL_CACHED_REGION << REGION_SHIFT)<br> <br> #define _SECTION_SIZE_BITS 30<br>+#define _MAX_PHYSADDR_BITS 50 /* FIXME */<br> #define _MAX_PHYSMEM_BITS 50<br> <br> /*<br>@@ -2256,6 +2257,11 @@ struct efi_memory_desc_t {<br> <br> #define TIF_SIGPENDING (2)<br> <br>+/* FIXME */<br>+#define _SECTION_SIZE_BITS 24<br>+#define _MAX_PHYSADDR_BITS 44<br>+#define _MAX_PHYSMEM_BITS 44<br>+<br> #endif /* S390 */<br> <br> #ifdef S390X<br>@@ -2276,6 +2282,11 @@ struct efi_memory_desc_t {<br> <br> #define TIF_SIGPENDING (2)<
br> <br>+/* FIXME */<br>+#define _SECTION_SIZE_BITS 24<br>+#define _MAX_PHYSADDR_BITS 44<br>+#define _MAX_PHYSMEM_BITS 44<br>+<br> #endif /* S390X */<br> <br> #ifdef PLATFORM<br><br>--<br>Crash-utility mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:Crash-utility@redhat.com">Crash-utility@redhat.com</a><br><a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/crash-utility">https://www.redhat.com/mailman/listinfo/crash-utility</a><br></pre>
</blockquote>
Probably ought to add some alpha processor #defines to keep that arch<br>
building as well.<br>
<br>
Hmmm -- for that matter, I don't see the _MAX_PHYSADDR_BITS being used<br>
anywhere other than setting each per-processor machdep->max_physaddr_bits(),<br>
and by extension, in the MAX_PHYSADDR_BITS() macro. But that macro doesn't<br>
get used anywhere? Also, none of the *_PAE additions get used.<br>
<br>
Dave<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>