linux_dsm_epyc7002/arch
Badari Pulavarty a99824f327 [POWERPC] Add arch-specific walk_memory_remove() for 64-bit powerpc
walk_memory_resource() verifies if there are holes in a given memory
range, by checking against /proc/iomem.  On x86/ia64 system memory is
represented in /proc/iomem.  On powerpc, we don't show system memory as
IO resource in /proc/iomem - instead it's maintained in
/proc/device-tree.

This provides a way for an architecture to provide its own
walk_memory_resource() function.  On powerpc, the memory region is
small (16MB), contiguous and non-overlapping.  So extra checking
against the device-tree is not needed.

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@gate.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-02-08 19:52:48 +11:00
..
alpha Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
arm Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-02-07 12:57:44 -08:00
avr32 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
blackfin Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
cris Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
frv Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
h8300 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-02-07 09:45:58 -08:00
m32r m32r: build fix of arch/m32r/kernel/smpboot.c 2008-02-07 08:42:32 -08:00
m68k m68k: correct setting of struct user.u_ar0 2008-02-07 14:15:55 -08:00
m68knommu Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
mips Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
parisc Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
powerpc [POWERPC] Add arch-specific walk_memory_remove() for 64-bit powerpc 2008-02-08 19:52:48 +11:00
ppc scheduled OSS driver removal 2008-02-06 10:41:02 -08:00
s390 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
sh Use BOOTMEM_EXCLUSIVE for kdump 2008-02-07 08:42:25 -08:00
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-02-07 10:21:26 -08:00
sparc64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-02-07 10:21:26 -08:00
um uml: make mconsole_stack namespace-aware 2008-02-05 09:44:32 -08:00
v850 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
x86 SLUB: Alternate fast paths using cmpxchg_local 2008-02-07 17:47:41 -08:00
xtensa calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
.gitignore arch: Ignore arch/i386 and arch/x86_64 2008-01-19 21:29:39 -08:00
Kconfig Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig 2008-02-03 08:58:08 +01:00