# Re: \[PATCH 10/28\] MIPS/jazzdma: decouple from dma-direct

- From: Thomas Bogendoerfer \<tsbogend@alpha.franken.de\>
- Date: 2020-09-01 14:07:57 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/09/6089512
- Thread: https://ratatoskr.run/linux-doc/2020/08/6073543/t.md

```text
On Wed, Aug 19, 2020 at 08:55:37AM +0200, Christoph Hellwig wrote:
> The jazzdma ops implement support for a very basic IOMMU.  Thus we really
> should not use the dma-direct code that takes physical address limits
> into account.  This survived through the great MIPS DMA ops cleanup mostly
> because I was lazy, but now it is time to fully split the implementations.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  arch/mips/jazz/jazzdma.c | 32 +++++++++++++++++++++-----------
>  1 file changed, 21 insertions(+), 11 deletions(-)

Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]
```
