[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190425080243.GA10677@infradead.org>
Date: Thu, 25 Apr 2019 01:02:43 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Daniel Drake <drake@...lessm.com>
Cc: jgg@...lanox.com, imre.deak@...el.com,
Linux Kernel <linux-kernel@...r.kernel.org>,
linux-mmc@...r.kernel.org, Oleksij Rempel <linux@...pel-privat.de>
Subject: Re: sg_dma_page_iter offset & length considerations
Given that mmc uses block layer helpers to build the sg list you
just have to set the right block layer and DMA layer (in case an
iommu merges during map_sg) dma_boundary paramters (PAGE_SIZE - 1),
and you should get sglists formatted to your requirements, no need
to use an iterator.
Powered by blists - more mailing lists