Skip to contentSkip to conversation

msepc driver (requires do_no_pfn)

PATCH In review Jes Sorensen 2 participants 5 messages Apr 3, 2006 – Apr 12, 2006 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 msepc driver (requires do_no_pfn)

Hi,

This patch is a repost of the mspec driver for special memory operations. It requires the do_no_pfn patch I posted a few minutes ago.

Cheers,
Jes

This patch implements the special memory driver (mspec) based on the do_no_pfn approach. The driver is currently used only on SN2 hardware with special fetchop support but could be beneficial on other architectures using the uncached mode.

----

 drivers/char/Kconfig  |    8 
 drivers/char/Makefile |    1 
 drivers/char/mspec.c  |  422 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 431 insertions(+)
drivers/char/Kconfig +8 -0
Index: linux-2.6/drivers/char/Kconfig
===================================================================
@@ -422,6 +422,14 @@
          If you have an SGI Altix with an attached SABrick
          say Y or M here, otherwise say N.
 
+config MSPEC
+	tristate "  Memory special operations driver"
+	depends on IA64
+	help
+	  If you have an ia64 and you want to enable memory special
+	  operations support (formerly known as fetchop), say Y here,
+	  otherwise say N.
+
 source "drivers/serial/Kconfig"
 
 config UNIX98_PTYS
drivers/char/Makefile +1 -0
Index: linux-2.6/drivers/char/Makefile
===================================================================
@@ -51,6 +51,7 @@
 obj-$(CONFIG_VIOTAPE)		+= viotape.o
 obj-$(CONFIG_HVCS)		+= hvcs.o
 obj-$(CONFIG_SGI_MBCS)		+= mbcs.o
+obj-$(CONFIG_MSPEC)		+= mspec.o
 
 obj-$(CONFIG_PRINTER)		+= lp.o
 obj-$(CONFIG_TIPAR)		+= tipar.o
drivers/char/mspec.c new file +422 -0

422 lines not on this page · raw message

#1 lore raw

drivers/char/Kconfig line 426

Quoted 3 lines
drivers/char/Kconfig +2 -0
+config MSPEC
+	tristate "  Memory special operations driver"

The two blanks after " are not needed anymore with the new Kconfig from 2.6.x.

Jan Engelhardt

#2 lore raw
Quoted 5 lines · Jan Engelhardt

drivers/char/Kconfig line 426

Quoted 2 lines
drivers/char/Kconfig +2 -0
+config MSPEC
+	tristate "  Memory special operations driver"

The two blanks after " are not needed anymore with the new Kconfig from 2.6.x.

Hi Jan,

You're right. I updated my patch here, next version will have it right. Lets see what happens to the nopfn stuff first.

Thanks,
Jes

#3 lore raw

PATCH 1/1 mspec driver (requires do_no_pfn)

In reply to Jes Sorensen

Hi,

This patch is a repost of the mspec driver for special memory operations. It requires the do_no_pfn patch I posted a few minutes ago.

This version of the patch includes Jan's suggestion for changing the Kconfig description, no other changes since the previous version.

Cheers,
Jes

This patch implements the special memory driver (mspec) based on the do_no_pfn approach. The driver is currently used only on SN2 hardware with special fetchop support but could be beneficial on other architectures using the uncached mode.

----

 drivers/char/Kconfig  |    8 
 drivers/char/Makefile |    1 
 drivers/char/mspec.c  |  422 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 431 insertions(+)
drivers/char/Kconfig +8 -0
Index: linux-2.6/drivers/char/Kconfig
===================================================================
@@ -422,6 +422,14 @@
          If you have an SGI Altix with an attached SABrick
          say Y or M here, otherwise say N.
 
+config MSPEC
+	tristate "Memory special operations driver"
+	depends on IA64
+	help
+	  If you have an ia64 and you want to enable memory special
+	  operations support (formerly known as fetchop), say Y here,
+	  otherwise say N.
+
 source "drivers/serial/Kconfig"
 
 config UNIX98_PTYS
drivers/char/Makefile +1 -0
Index: linux-2.6/drivers/char/Makefile
===================================================================
@@ -51,6 +51,7 @@
 obj-$(CONFIG_VIOTAPE)		+= viotape.o
 obj-$(CONFIG_HVCS)		+= hvcs.o
 obj-$(CONFIG_SGI_MBCS)		+= mbcs.o
+obj-$(CONFIG_MSPEC)		+= mspec.o
 
 obj-$(CONFIG_PRINTER)		+= lp.o
 obj-$(CONFIG_TIPAR)		+= tipar.o
drivers/char/mspec.c new file +422 -0

422 lines not on this page · raw message

#4 lore raw

Re: [patch] mspec driver (requires do_no_pfn)

Hi,

Updated version of the mspec driver to match the changes in the nopfn interface.

Cheers,
Jes

This patch implements the special memory driver (mspec) based on the do_no_pfn approach. The driver is currently used only on SN2 hardware with special fetchop support but could be beneficial on other architectures using the uncached mode.

----

 drivers/char/Kconfig  |    8 
 drivers/char/Makefile |    1 
 drivers/char/mspec.c  |  422 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 431 insertions(+)
drivers/char/Kconfig +8 -0
Index: linux-2.6/drivers/char/Kconfig
===================================================================
@@ -422,6 +422,14 @@
          If you have an SGI Altix with an attached SABrick
          say Y or M here, otherwise say N.
 
+config MSPEC
+	tristate "Memory special operations driver"
+	depends on IA64
+	help
+	  If you have an ia64 and you want to enable memory special
+	  operations support (formerly known as fetchop), say Y here,
+	  otherwise say N.
+
 source "drivers/serial/Kconfig"
 
 config UNIX98_PTYS
drivers/char/Makefile +1 -0
Index: linux-2.6/drivers/char/Makefile
===================================================================
@@ -51,6 +51,7 @@
 obj-$(CONFIG_VIOTAPE)		+= viotape.o
 obj-$(CONFIG_HVCS)		+= hvcs.o
 obj-$(CONFIG_SGI_MBCS)		+= mbcs.o
+obj-$(CONFIG_MSPEC)		+= mspec.o
 
 obj-$(CONFIG_PRINTER)		+= lp.o
 obj-$(CONFIG_TIPAR)		+= tipar.o
drivers/char/mspec.c new file +422 -0

422 lines not on this page · raw message