Re: [PATCH 1/3] dma-direct: unify the dma_capable definitions

2019-11-14 Thread Michael Ellerman
Christoph Hellwig writes: > Currently each architectures that wants to override dma_to_phys and > phys_to_dma also has to provide dma_capable. But there isn't really > any good reason for that. powerpc and mips just have copies of the > generic one minus the latests fix, and the arm one was the

[PATCH 1/3] dma-direct: unify the dma_capable definitions

2019-11-12 Thread Christoph Hellwig
Currently each architectures that wants to override dma_to_phys and phys_to_dma also has to provide dma_capable. But there isn't really any good reason for that. powerpc and mips just have copies of the generic one minus the latests fix, and the arm one was the inspiration for said fix, but