[PATCH 0/2] mmc: tegra: Use proper DMA mask
From: Thierry Reding
Date: Fri Sep 20 2019 - 10:53:42 EST
From: Thierry Reding <treding@xxxxxxxxxx>
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