Re: [PATCH] mv643xx_eth: Fix a DMA-API error handling warning

2013-06-19 Thread David Miller
From: Lubomir Rintel Date: Tue, 18 Jun 2013 19:33:28 +0200 > We check the failure status just prior to unmap, since it would be too much of > a hassle to roll back commands we already started to enqueue if we handled it > just after the map. > > This way we at least avoid a lockup on reclaim,

Re: [PATCH] mv643xx_eth: Fix a DMA-API error handling warning

2013-06-19 Thread David Miller
From: Lubomir Rintel lkund...@v3.sk Date: Tue, 18 Jun 2013 19:33:28 +0200 We check the failure status just prior to unmap, since it would be too much of a hassle to roll back commands we already started to enqueue if we handled it just after the map. This way we at least avoid a lockup on

[PATCH] mv643xx_eth: Fix a DMA-API error handling warning

2013-06-18 Thread Lubomir Rintel
We check the failure status just prior to unmap, since it would be too much of a hassle to roll back commands we already started to enqueue if we handled it just after the map. This way we at least avoid a lockup on reclaim, the card presumably didn't succeed DMA-ing to a bogus address anyway.

[PATCH] mv643xx_eth: Fix a DMA-API error handling warning

2013-06-18 Thread Lubomir Rintel
We check the failure status just prior to unmap, since it would be too much of a hassle to roll back commands we already started to enqueue if we handled it just after the map. This way we at least avoid a lockup on reclaim, the card presumably didn't succeed DMA-ing to a bogus address anyway.