]> err.no Git - linux-2.6/commit
[PATCH] spufs: abstract priv1 register access.
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Jan 2006 19:31:30 +0000 (20:31 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:44:49 +0000 (15:44 +1100)
commitf0831acc4b78e2d9737e8ed91b8b7505b21ddb83
tree0c901e45cdc932776d3953cfcdf66015d6853bec
parentce8ab8541203f6c7be5b2eeaa97f14f1d8d44e4f
[PATCH] spufs: abstract priv1 register access.

In a hypervisor based setup, direct access to the first
priviledged register space can typically not be allowed
to the kernel and has to be implemented through hypervisor
calls.

As suggested by Masato Noguchi, let's abstract the register
access trough a number of function calls. Since there is
currently no public specification of actual hypervisor
calls to implement this, I only provide a place that
makes it easier to hook into.

Cc: Masato Noguchi <Masato.Noguchi@jp.sony.com>
Cc: Geoff Levand <geoff.levand@am.sony.com>
Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/Makefile
arch/powerpc/platforms/cell/spu_base.c
arch/powerpc/platforms/cell/spu_priv1.c [new file with mode: 0644]
arch/powerpc/platforms/cell/spufs/hw_ops.c
arch/powerpc/platforms/cell/spufs/switch.c
include/asm-powerpc/spu.h