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)
commit68481a7e1c84b652c03bd714c1028fb8ea680a9d
tree9b06a5d450887d5568b6d8a41192505d4906ffcb
parentfaf73fa17cfe40259c1eafb922b4c5db96ed65e0
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