[Cbe-oss-dev] [RFC 3/5] spufs: add purga_dma_queue() capability.

Sebastian Siewior bigeasy at linux.vnet.ibm.com
Wed Jun 13 17:13:32 EST 2007


Benjamin Herrenschmidt wrote:
> On Tue, 2007-06-12 at 18:10 +0200, Sebastian Siewior wrote:
>> plain text document attachment (spufs-ops_add_purge_dmaqueue.diff)
>> After DMA error (misaligned, wrong length, etc) MFC's DMA queue
>> has to be purged in order to resume the context. The purge will
>> mark all DMA requests as invalid.
>> This patch was initially created in order to recover from DMA
>> errors. Later on I decided not to recover from DMA bugs but
>> stop with BUG() since those errors are an exception and should
>> happen under normal circumstances.
> 
> This patch is not related to the other ones right ?

Almost. spufs_run_kspu_sync() is using it to recover (what should be
used for testing and not for productive code).




More information about the cbe-oss-dev mailing list