linux_dsm_epyc7002/arch/powerpc
Paul Mackerras fb6d73d301 [PATCH] powerpc: Fix sparsemem with memory holes [was Re: ppc64 oops..]
This patch should fix the crashes we have been seeing on 64-bit
powerpc systems with a memory hole when sparsemem is enabled.
I'd appreciate it if people who know more about NUMA and sparsemem
than me could look over it.

There were two bugs.  The first was that if NUMA was enabled but there
was no NUMA information for the machine, the setup_nonnuma() function
was adding a single region, assuming memory was contiguous.  The
second was that the loops in mem_init() and show_mem() assumed that
all pages within the span of a pgdat were valid (had a valid struct
page).

I also fixed the incorrect setting of num_physpages that Mike Kravetz
pointed out.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-15 16:57:12 -08:00
..
configs [PATCH] powerpc: kill ppc64 rtc.c, use genrtc instead 2005-11-14 16:36:08 +11:00
kernel [PATCH] Add missing EXPORT_SYMBOLS() for __ide_mm_* functions on powerpc 2005-11-15 08:59:19 -08:00
lib powerpc: Fix find_next_bit on 32-bit 2005-11-10 12:01:41 +11:00
mm [PATCH] powerpc: Fix sparsemem with memory holes [was Re: ppc64 oops..] 2005-11-15 16:57:12 -08:00
oprofile [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
platforms powerpc: Remove __init from a function used in suspend/resume. 2005-11-15 11:17:09 +11:00
sysdev [PATCH] powerpc: 64k pages vs. U3 iommu 2005-11-10 15:03:37 +11:00
xmon [PATCH] powerpc-xmon-build-fix 2005-11-13 18:14:13 -08:00
Kconfig powerpc: Mark PREP and embedded as broken for now 2005-11-14 17:31:55 +11:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile [PATCH] powerpc: Always rebuild arch/powerpc/include/asm symlink 2005-11-14 16:35:50 +11:00