android_kernel_xiaomi_sm8350/arch/powerpc/platforms
Jeremy Kerr d58831375d [POWERPC] spufs: fix context destruction during psmap fault
We have a small window where a spu context may be destroyed while
we're servicing a page fault (from another thread) to the context's
problem state mapping.

After we up_read() the mmap_sem, it's possible that the context is
destroyed by its owning thread, and so the later references to ctx
are invalid. This can maifest as a deadlock on the (now free()-ed)
context state mutex.

This change adds a reference to the context before we release the
mmap_sem, so that the context cannot be destroyed.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
2008-02-27 18:47:53 +11:00
..
8xx [POWERPC] 8xx: adder875, ep88xc: fix to match recent 8xx cleanups. 2008-02-05 23:29:58 -06:00
40x Merge branch 'virtex-for-2.6.25' of git://git.secretlab.ca/git/linux-2.6-virtex into for-2.6.25 2008-02-06 21:06:45 -06:00
44x [POWERPC] 4xx: Fix offset value on Warp board 2008-02-06 21:02:54 -06:00
52xx [POWERPC] Remove unused CONFIG_WANT_DEVICE_TREE 2008-02-14 22:11:03 +11:00
82xx [POWERPC] arch/powerpc/platforms/82xx: Add missing of_node_put 2008-02-06 22:06:59 +11:00
83xx [POWERPC] 83xx: mpc832x_rdb: fix compiler warning 2008-02-05 23:38:10 -06:00
85xx [POWERPC] 85xx: convert sbc85* boards to use machine_device_initcall 2008-01-28 13:15:26 -06:00
86xx
512x [POWERPC] Remove unused CONFIG_WANT_DEVICE_TREE 2008-02-14 22:11:03 +11:00
cell [POWERPC] spufs: fix context destruction during psmap fault 2008-02-27 18:47:53 +11:00
celleb
chrp
embedded6xx [POWERPC] Remove unused CONFIG_WANT_DEVICE_TREE 2008-02-14 22:11:03 +11:00
iseries [POWERPC] free_property() must not be __init 2008-02-14 22:11:02 +11:00
maple
pasemi pasemi: Fix thinko in dma_direct_ops setup 2008-02-01 21:03:36 +11:00
powermac [POWERPC] Disable G5 NAP mode during SMU commands on U3 2008-02-08 19:52:35 +11:00
prep
ps3
pseries [POWERPC] Update default irq servers when boot cpu is removed 2008-02-07 11:40:19 +11:00
fsl_uli1575.c
Kconfig [POWERPC] Remove unused CONFIG_WANT_DEVICE_TREE 2008-02-14 22:11:03 +11:00
Kconfig.cputype [POWERPC] Remove unused CONFIG_WANT_DEVICE_TREE 2008-02-14 22:11:03 +11:00
Makefile [POWERPC] mpc512x: Basic platform support 2008-02-06 14:03:10 -07:00