• Benjamin Herrenschmidt's avatar
    [POWERPC] spufs: cell spu problem state mapping updates · 27d5bf2a
    Benjamin Herrenschmidt authored
    This patch adds a new "psmap" file to spufs that allows mmap of all of
    the problem state mapping of SPEs. It is compatible with 64k pages. In
    addition, it removes mmap ability of individual files when using 64k
    pages, with the exception of signal1 and signal2 which will both map the
    entire 64k page holding both registers. It also removes
    CONFIG_SPUFS_MMAP as there is no point in not building mmap support in
    spufs.
    
    It goes along a separate patch to libspe implementing usage of that new
    file to access problem state registers.
    
    Another patch will follow up to fix races opened up by accessing
    the 'runcntl' register directly, which is made possible with this
    patch.
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    27d5bf2a
Kconfig 432 Bytes
menu "Cell Broadband Engine options"
	depends on PPC_CELL

config SPU_FS
	tristate "SPU file system"
	default m
	depends on PPC_CELL
	select SPU_BASE
	select MEMORY_HOTPLUG
	help
	  The SPU file system is used to access Synergistic Processing
	  Units on machines implementing the Broadband Processor
	  Architecture.

config SPU_BASE
	bool
	default n

config CBE_RAS
	bool "RAS features for bare metal Cell BE"
	default y

endmenu