android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Andre Detsch b2e601d14d powerpc/spufs: Fix possible scheduling of a context to multiple SPEs
We currently have a race when scheduling a context to a SPE -
after we have found a runnable context in spusched_tick, the same
context may have been scheduled by spu_activate().

This may result in a panic if we try to unschedule a context that has
been freed in the meantime.

This change exits spu_schedule() if the context has already been
scheduled, so we don't end up scheduling it twice.

Signed-off-by: Andre Detsch <adetsch@br.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2008-09-08 09:44:43 +10:00
..
8xx powerpc: implement GPIO LIB API on CPM1 Freescale SoC. 2008-07-28 07:42:09 -05:00
40x
44x powerpc/4xx: Cleanup Warp for i2c driver changes. 2008-08-04 21:42:07 -04:00
52xx powerpc: Remove use of CONFIG_PPC_MERGE 2008-08-04 13:18:17 +10:00
82xx
83xx powerpc/fsl: proliferate simple-bus compatibility to soc nodes 2008-07-29 17:48:35 -05:00
85xx powerpc/fsl: proliferate simple-bus compatibility to soc nodes 2008-07-29 17:48:35 -05:00
86xx powerpc: Move include files to arch/powerpc/include/asm 2008-08-04 12:02:00 +10:00
512x
cell powerpc/spufs: Fix possible scheduling of a context to multiple SPEs 2008-09-08 09:44:43 +10:00
chrp
embedded6xx
iseries powerpc/iseries: remove the old viocons driver 2008-08-07 18:07:10 -07:00
maple
pasemi powerpc/pseries: iommu enablement for CMO 2008-07-25 15:44:43 +10:00
powermac powerpc: Work around gcc's -fno-omit-frame-pointer bug 2008-09-03 20:53:34 +10:00
prep
ps3 powerpc/ps3: Fix ioremap of spu shadow regs 2008-08-26 10:24:46 +10:00
pseries powerpc: Export CMO_PageSize 2008-08-26 10:24:47 +10:00
fsl_uli1575.c
Kconfig cpm_uart: Add generic clock API support to set baudrates 2008-07-28 08:47:32 -05:00
Kconfig.cputype
Makefile powerpc: Remove use of CONFIG_PPC_MERGE 2008-08-04 13:18:17 +10:00