mspec ia64 memory special driver
PATCH 1/1 mspec ia64 memory special driver
Hi
This is the memory special driver for cached, uncached and 'fetchop' (SGI SN2 specific) memory mappings, formerly known as fetchop. The driver is mostly used by parallel appplictions.
This patch relies on the PG_uncached support patch (already in 2.6.11-rc5) and the generic allocator patch (genalloc). It also moved ionclude/asm-ia64/sn/fetchop.h to include/asm-ia64/sn/mspec.h and cleans it up a bit.
Cheers,
Jes
Signed-off-by Jes Sorensen <[email protected]>
arch/ia64/Kconfig +10 -0
@@ -217,6 +217,16 @@ If you are compiling a kernel that will run under SGI's IA-64 simulator (Medusa) then say Y, otherwise say N. +config MSPEC + tristate "Special Memory support" + select GENERIC_ALLOCATOR + help + This driver allows for cached and uncached mappings of memory + to user processes. On SGI SN hardware it will also export the + special fetchop memory facility. + Fetchops are atomic memory operations that are implemented in the + memory controller on SGI SN hardware. + config FORCE_MAX_ZONEORDER int default "18"
arch/ia64/configs/sn2_defconfig +1 -0
@@ -82,6 +82,7 @@ # CONFIG_IA64_CYCLONE is not set CONFIG_IOSAPIC=y CONFIG_IA64_SGI_SN_SIM=y +CONFIG_MSPEC=m CONFIG_FORCE_MAX_ZONEORDER CONFIG_SMP=y CONFIG_NR_CPUSQ2
arch/ia64/defconfig +1 -0
@@ -80,6 +80,7 @@ CONFIG_DISCONTIGMEM=y CONFIG_IA64_CYCLONE=y CONFIG_IOSAPIC=y +CONFIG_MSPEC=m CONFIG_FORCE_MAX_ZONEORDER CONFIG_SMP=y CONFIG_NR_CPUSQ2
arch/ia64/kernel/Makefile +1 -0
@@ -20,6 +20,7 @@ obj-$(CONFIG_PERFMON) += perfmon_default_smpl.o obj-$(CONFIG_IA64_CYCLONE) += cyclone.o obj-$(CONFIG_IA64_MCA_RECOVERY) += mca_recovery.o +obj-$(CONFIG_MSPEC) += mspec.o mca_recovery-y += mca_drv.o mca_drv_asm.o # The gate DSO image is built using a special linker script.
arch/ia64/kernel/mspec.c +799 -0
799 lines not on this page · raw message
include/asm-ia64/sn/fetchop.h +0 -85
85 lines not on this page · raw message
include/asm-ia64/sn/mspec.h +72 -0
72 lines not on this page · raw message