From: Jeremy Kerr Date: Tue, 24 Oct 2006 16:31:19 +0000 (+0200) Subject: [POWERPC] spufs: Add isolated-mode SPE recycling support X-Git-Tag: v2.6.20-rc1~34^2~40^2~8^2~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=099814bb1f9bd9081d7c85867f8eb8c049abc1b9;p=pandora-kernel.git [POWERPC] spufs: Add isolated-mode SPE recycling support When in isolated mode, SPEs have access to an area of persistent storage, which is per-SPE. In order for isolated-mode apps to communicate arbitrary data through this storage, we need to ensure that isolated physical SPEs can be reused for subsequent applications. Add a file ("recycle") in a spethread dir to enable isolated-mode recycling. By writing to this file, the kernel will reload the isolated-mode loader kernel, allowing a new app to be run on the same physical SPE. This requires the spu_acquire_exclusive function to enforce exclusive access to the SPE while the loader is initialised. Signed-off-by: Jeremy Kerr Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed