Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38989
b: refs/heads/master
c: 28347bc
h: refs/heads/master
i:
  38987: ce2262e
v: v3
  • Loading branch information
HyeonSeung Jang authored and Paul Mackerras committed Oct 4, 2006
1 parent 68273e0 commit df433d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a68cf983f635930ea35f9e96b27d96598550dea0
refs/heads/master: 28347bce8a837258e737873a55d31f2f424a6ea6
9 changes: 9 additions & 0 deletions trunk/arch/powerpc/platforms/cell/spufs/switch.c
Original file line number Diff line number Diff line change
Expand Up @@ -1779,6 +1779,15 @@ static inline void restore_mfc_cntl(struct spu_state *csa, struct spu *spu)
*/
out_be64(&priv2->mfc_control_RW, csa->priv2.mfc_control_RW);
eieio();
/*
* FIXME: this is to restart a DMA that we were processing
* before the save. better remember the fault information
* in the csa instead.
*/
if ((csa->priv2.mfc_control_RW & MFC_CNTL_SUSPEND_DMA_QUEUE_MASK)) {
out_be64(&priv2->mfc_control_RW, MFC_CNTL_RESTART_DMA_COMMAND);
eieio();
}
}

static inline void enable_user_access(struct spu_state *csa, struct spu *spu)
Expand Down

0 comments on commit df433d7

Please sign in to comment.