spufs fixes and cleanups
Get series with b4
b4 am 20060104193120.050539000@localhostVersions newest first
- v1 Latest13 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | spufs: fix locking in spu_acquire_runnablearch/ | +6 | 0 replies | |
| 2/13 | spufs: dont hold root->isem in spu_forgetarch/ | +10 | 0 replies | |
| 3/13 | spufs: check for proper file pointer in sys_spu_runarch/ arch/ arch/ | +5 | 0 replies | |
| 4/13 | spufs: serialize sys_spu_run per spuarch/ arch/ arch/ | +12 | 0 replies | |
| 5/13 | spufs fix spu_acquire_runnable error patharch/ | +2 | 0 replies | |
| 6/13 | spufs: dont leak directories in failed spu_createarch/ | +37 | 0 replies | |
| 7/13 | spufs: fix spufs_fill_dir error patharch/ | +38 | 0 replies | |
| 8/13 | spufs: clean up use of bitopsarch/ arch/ arch/ +2 more | +14 | 0 replies | |
| 9/13 | spufs: move spu_run call to its own filearch/ arch/ arch/ +1 more | +160 | 0 replies | |
| 10/13 | spufs: abstract priv1 register access.arch/ arch/ arch/ +3 more | +234 | 0 replies | |
| 11/13 | spufs: fix sparse warningsarch/ arch/ arch/ +1 more | +5 | 0 replies | |
| 12/13 | spufs: fix allocation on 64k pagesinclude/ | +1 | 0 replies | |
| 13/13 | spufs: set irq affinity for running threadsarch/ arch/ arch/ +2 more | +41 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] spufs fixes and cleanups
In a review almost a month ago, Al Viro found numerous problems in the current spufs code. I now finally found some time to go through those and attempt to fix them.
There are also a few other changes in this series that should also help, in particular improved interrupt sending and an abstraction for priviledged register access (as suggested by Masato Noguchi and Geoff Levand).
Please apply to powerpc.git before sending spufs upstream.
Al, could you have a look over this to see if it addresses all the concerns you had and if I broke it in new ways?
Arnd <><
arch/powerpc/platforms/cell/Makefile | 5 arch/powerpc/platforms/cell/interrupt.c | 42 ++-- arch/powerpc/platforms/cell/interrupt.h | 1 arch/powerpc/platforms/cell/spu_base.c | 67 +++---- arch/powerpc/platforms/cell/spu_priv1.c | 133 ++++++++++++++ arch/powerpc/platforms/cell/spufs/Makefile | 2 arch/powerpc/platforms/cell/spufs/file.c | 167 +---------------- arch/powerpc/platforms/cell/spufs/hw_ops.c | 19 -- arch/powerpc/platforms/cell/spufs/inode.c | 156 ++++++++------- arch/powerpc/platforms/cell/spufs/run.c | 131 ++++++++++++++ arch/powerpc/platforms/cell/spufs/sched.c | 13 + arch/powerpc/platforms/cell/spufs/spufs.h | 35 +++ arch/powerpc/platforms/cell/spufs/switch.c | 139 +++++---------- arch/powerpc/platforms/cell/spufs/syscalls.c | 5 arch/powerpc/platforms/cell/spufs/context.c | 11 - include/asm-powerpc/spu.h | 42 +++- 20 files changed, 565 insertions(+), 407 deletions(-)