[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171024191156.GA11341@animalcreek.com>
Date: Tue, 24 Oct 2017 12:11:56 -0700
From: Mark Greer <mgreer@...malcreek.com>
To: Huacai Chen <chenhc@...ote.com>
Cc: Christoph Hellwig <hch@....de>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Robin Murphy <robin.murphy@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
Fuxin Zhang <zhangfx@...ote.com>, linux-kernel@...r.kernel.org,
Ralf Baechle <ralf@...ux-mips.org>,
James Hogan <james.hogan@...tec.com>,
linux-mips@...ux-mips.org,
"James E . J . Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, stable@...r.kernel.org,
"Michael S . Tsirkin" <mst@...hat.com>,
Pawel Osciak <pawel@...iak.com>,
Kyungmin Park <kyungmin.park@...sung.com>,
Michael Chan <michael.chan@...adcom.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Ivan Mikhaylov <ivan@...ibm.com>,
Tariq Toukan <tariqt@...lanox.com>,
Andy Gross <agross@...eaurora.org>,
"Mark A . Greer" <mgreer@...malcreek.com>,
Robert Baldyga <r.baldyga@...kerion.com>
Subject: Re: [PATCH V9 1/4] dma-mapping: Rework dma_get_cache_alignment()
On Mon, Oct 23, 2017 at 03:12:44PM +0800, Huacai Chen wrote:
> 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
> pointer (i.e, get_cache_alignment) in 'struct dma_map_ops' as a generic
> solution.
>
> Cc: stable@...r.kernel.org
> Cc: Michael S. Tsirkin <mst@...hat.com>
> Cc: Pawel Osciak <pawel@...iak.com>
> Cc: Marek Szyprowski <m.szyprowski@...sung.com>
> Cc: Kyungmin Park <kyungmin.park@...sung.com>
> Cc: Michael Chan <michael.chan@...adcom.com>
> Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>
> Cc: Ivan Mikhaylov <ivan@...ibm.com>
> Cc: Tariq Toukan <tariqt@...lanox.com>
> Cc: Andy Gross <agross@...eaurora.org>
> Cc: Mark A. Greer <mgreer@...malcreek.com>
> Cc: Robert Baldyga <r.baldyga@...kerion.com>
> Cc: Marek Szyprowski <m.szyprowski@...sung.com>
> Signed-off-by: Huacai Chen <chenhc@...ote.com>
> ---
For the mpsc stuff:
Acked-by: Mark Greer <mgreer@...malcreek.com>
Powered by blists - more mailing lists