linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] mmc: tegra: Use proper DMA mask
@ 2019-09-20 14:53 Thierry Reding
  2019-09-20 14:53 ` [PATCH 1/2] mmc: sdhci: Let drivers define their " Thierry Reding
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Thierry Reding @ 2019-09-20 14:53 UTC (permalink / raw)
  To: Ulf Hansson, Adrian Hunter
  Cc: Jon Hunter, Nicolin Chen, inux-mmc, linux-tegra, linux-kernel

From: Thierry Reding <treding@nvidia.com>

Hi,

this puts together the two patches from this thread:

	http://patchwork.ozlabs.org/patch/1146705/

there hasn't been any activity there for a couple of weeks, so I thought
I'd just throw them together and update the second patch to work on top
of the first one.

The goal here is to avoid the use of bounce buffers and fix IOVA space
issues when an IOMMU gets involved. The first patch introduces the
->set_dma_mask() host operation as proposed by Adrian and the second
patch is just a rebase of Nicolin's Tegra SDHCI patch that uses the new
host operation rather than doing it as part of ->enable_dma().

Thierry


Adrian Hunter (1):
  mmc: sdhci: Let drivers define their DMA mask

Nicolin Chen (1):
  mmc: tegra: Implement ->set_dma_mask()

 drivers/mmc/host/sdhci-tegra.c | 48 ++++++++++++++++++++--------------
 drivers/mmc/host/sdhci.c       | 12 +++------
 drivers/mmc/host/sdhci.h       |  1 +
 3 files changed, 33 insertions(+), 28 deletions(-)

-- 
2.23.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-09-23  6:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-20 14:53 [PATCH 0/2] mmc: tegra: Use proper DMA mask Thierry Reding
2019-09-20 14:53 ` [PATCH 1/2] mmc: sdhci: Let drivers define their " Thierry Reding
2019-09-20 21:47   ` Nicolin Chen
2019-09-20 14:53 ` [PATCH 2/2] mmc: tegra: Implement ->set_dma_mask() Thierry Reding
2019-09-23  6:39   ` Adrian Hunter
2019-09-23  6:41   ` Adrian Hunter
2019-09-20 16:17 ` [PATCH 0/2] mmc: tegra: Use proper DMA mask Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).