]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: tegra: Mark 64 bit dma broken on Tegra186
authorKrishna Reddy <vdumpa@nvidia.com>
Fri, 8 Sep 2017 19:48:33 +0000 (12:48 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 30 Oct 2017 10:40:07 +0000 (11:40 +0100)
commit41a41e56e827affa51f4a83e55f5081cc6c6ccd4
tree9b06a5d450887d5568b6d8a41192505d4906ffcb
parent752cd45129c273fd7dfae843efc33b4c11bc3da2
mmc: tegra: Mark 64 bit dma broken on Tegra186

SDHCI controllers on Tegra186 support 40 bit addressing.
IOVA addresses are 48-bit wide on Tegra186.
SDHCI host common code sets dma mask as either 32-bit or 64-bit.
To avoid access issues when SMMU is enabled, disable 64-bit dma.

Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-tegra.c