latest mspec
PATCH 1/1 latest mspec
Hi,
Just to make sure there's no more hidden gems in the driver, he're is an updated version of the driver, using PG_uncached instead of PG_arch_1 as suggested by David and Tony.
Any comments, suggestions etc. let me know.
Cheers,
Jes
arch/ia64/Kconfig +9 -0
@@ -217,6 +217,15 @@ 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" + 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