]> err.no Git - linux-2.6/commit
[POWERPC] Add DSCR SPR to sysfs
authorAnton Blanchard <anton@samba.org>
Fri, 8 Dec 2006 06:46:58 +0000 (17:46 +1100)
committerPaul Mackerras <paulus@samba.org>
Sat, 9 Dec 2006 00:39:05 +0000 (11:39 +1100)
commit4c198557c6b45956a6f54b958fb97a15b02a6a3b
tree91db4a694f01f4e4d29bcd7f3bc90c3ef311aebf
parent396a1a5832ae28ce2c4150f98827873cbef554f5
[POWERPC] Add DSCR SPR to sysfs

POWER6 adds a new SPR, the data stream control register (DSCR). It can
be used to adjust how agressive the prefetch mechanisms are.

Its possible we may want to context switch this, but for now just export
it to userspace via sysfs so we can adjust it.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/sysfs.c
include/asm-powerpc/cputable.h
include/asm-powerpc/reg.h