lkml.org 
[lkml]   [2019]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] mmc: tegra: Use proper DMA mask
Date
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

\
 
 \ /
  Last update: 2019-09-20 16:53    [W:0.072 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site