]> git.baikalelectronics.ru Git - kernel.git/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)
commit4702669c07c1a2b81b170462c2b6be004ee267ee
tree91db4a694f01f4e4d29bcd7f3bc90c3ef311aebf
parent2271a0bc8aaeddc591183baa45c904b5e0fd3eec
[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