Re: [PATCH V10 1/4] dma-mapping: Rework dma_get_cache_alignment()

2017-11-20 Thread Christoph Hellwig
Please send the scsi fixes on their own for now so that the rework can go into 4.16. If you don't want to do it I'll do it myself and will send them to Martin for now you can the rebase the dma-mapping and mips work after that.

Re: [PATCH V10 1/4] dma-mapping: Rework dma_get_cache_alignment()

2017-11-20 Thread Christoph Hellwig
Please send the scsi fixes on their own for now so that the rework can go into 4.16. If you don't want to do it I'll do it myself and will send them to Martin for now you can the rebase the dma-mapping and mips work after that.

[PATCH V10 1/4] dma-mapping: Rework dma_get_cache_alignment()

2017-11-16 Thread Huacai Chen
Make dma_get_cache_alignment() to accept a 'dev' argument. As a result, it can return different alignments due to different devices' I/O cache coherency. Currently, ARM/ARM64 and MIPS support coherent & noncoherent devices co-exist. This may be extended in the future, so add a new function

[PATCH V10 1/4] dma-mapping: Rework dma_get_cache_alignment()

2017-11-16 Thread Huacai Chen
Make dma_get_cache_alignment() to accept a 'dev' argument. As a result, it can return different alignments due to different devices' I/O cache coherency. Currently, ARM/ARM64 and MIPS support coherent & noncoherent devices co-exist. This may be extended in the future, so add a new function