Re: [PATCH V6 1/3] dma-mapping: Introduce device_is_coherent() as ahelper

2017-09-22 Thread Christoph Hellwig
On Fri, Sep 22, 2017 at 02:44:51PM +0100, Robin Murphy wrote: > Not quite - I mean instead of adding an ops->device_is_coherent callback > (which cannot really have a safe fallback value either way) and trying > to enforce that dma_get_cache_alignment() should be the only valid > caller, just add a

Re: [PATCH V6 1/3] dma-mapping: Introduce device_is_coherent() as ahelper

2017-09-22 Thread Robin Murphy
Fuxin Zhang"; > "linux-kernel"; "James E . J . > Bottomley"; "Martin K . > Petersen"; > "linux-scsi"; "stable"; > Subject: Re: [PATCH V6 1/3] dma-mapping: Introduce device_is_coherent() as > ahelper > > > On 19/09/17

Re: [PATCH V6 1/3] dma-mapping: Introduce device_is_coherent() as ahelper

2017-09-21 Thread 陈华才
- From: "Robin Murphy"; Date: Thu, Sep 21, 2017 06:47 PM To: "Huacai Chen"; "Christoph Hellwig"; Cc: "Marek Szyprowski"; "Andrew Morton"; "Fuxin Zhang"; "linux-kernel"; "James E . J . Bottomley"; "Marti