android_kernel_xiaomi_sm8350/arch/powerpc
Arnd Bergmann 8b3d6663c6 [PATCH] spufs: cooperative scheduler support
This adds a scheduler for SPUs to make it possible to use
more logical SPUs than physical ones are present in the
system.

Currently, there is no support for preempting a running
SPU thread, they have to leave the SPU by either triggering
an event on the SPU that causes it to return to the
owning thread or by sending a signal to it.

This patch also adds operations that enable accessing an SPU
in either runnable or saved state. We use an RW semaphore
to protect the state of the SPU from changing underneath
us, while we are holding it readable. In order to change
the state, it is acquired writeable and a context save
or restore is executed before downgrading the semaphore
to read-only.

From: Mark Nutter <mnutter@us.ibm.com>,
      Uli Weigand <Ulrich.Weigand@de.ibm.com>
Signed-off-by: Arnd Bergmann <arndb@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-01-09 14:49:30 +11:00
..
boot [PATCH] ppc boot: replace string labels with numbers 2005-11-18 13:18:16 +11:00
configs powerpc: update defconfigs 2005-12-20 16:00:17 +11:00
kernel [PATCH] spufs: The SPU file system, base 2006-01-09 14:49:12 +11:00
lib powerpc: Fix find_next_bit on 32-bit 2005-11-10 12:01:41 +11:00
mm [PATCH] spufs: The SPU file system, base 2006-01-09 14:49:12 +11:00
oprofile [PATCH] Update email address for Kumar 2005-11-13 18:14:10 -08:00
platforms [PATCH] spufs: cooperative scheduler support 2006-01-09 14:49:30 +11:00
sysdev [PATCH] powerpc: moved ipic code to arch/powerpc 2006-01-09 14:48:57 +11:00
xmon [PATCH] powerpc-xmon-build-fix 2005-11-13 18:14:13 -08:00
Kconfig [PATCH] spufs: The SPU file system, base 2006-01-09 14:49:12 +11:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile [PATCH] powerpc: remove arch/powerpc/include hack for 64 bit 2005-11-25 22:11:23 +11:00