summaryrefslogtreecommitdiff
path: root/drivers/memory
diff options
context:
space:
mode:
authorVince Hsu <vince.h@nvidia.com>2015-09-29 12:58:51 +0300
committerThierry Reding <treding@nvidia.com>2015-12-14 18:11:35 +0300
commite2127ae7a5e80eb53ad431c39145767391da40cd (patch)
treecdf1cd604997d7f497bd67b859ff06c79f049e9b /drivers/memory
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-e2127ae7a5e80eb53ad431c39145767391da40cd.tar.xz
memory/tegra: Add number of TLB lines for Tegra124
Tegra124 was accidentally left out when the number of TLB lines was parameterized in commit 11cec15bf3fb ("iommu/tegra-smmu: Parameterize number of TLB lines"). Fortunately this doesn't cause any noticeable regressions upstream, presumably because there aren't any use-cases that exercise enough pressure on the SMMU. But it is a regression nonetheless, so let's fix it. Fixes: 11cec15bf3fb ("iommu/tegra-smmu: Parameterize number of TLB lines") Signed-off-by: Vince Hsu <vince.h@nvidia.com> Signed-off-by: Tomasz Figa <tfiga@chromium.org> [treding@nvidia.com: extract from unrelated patch] Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/memory')
-rw-r--r--drivers/memory/tegra/tegra124.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memory/tegra/tegra124.c b/drivers/memory/tegra/tegra124.c
index 21e7255e3d96..5a58e440f4a7 100644
--- a/drivers/memory/tegra/tegra124.c
+++ b/drivers/memory/tegra/tegra124.c
@@ -1007,6 +1007,7 @@ static const struct tegra_smmu_soc tegra124_smmu_soc = {
.num_swgroups = ARRAY_SIZE(tegra124_swgroups),
.supports_round_robin_arbitration = true,
.supports_request_limit = true,
+ .num_tlb_lines = 32,
.num_asids = 128,
};