Skip to content

Commit

Permalink
memory: tegra: Add missing latency allowness entry for Page Table Cache
Browse files Browse the repository at this point in the history
Add missing PTC memory client latency allowness entry to the Tegra MC
drivers.

This prevents erroneous clearing of MC_INTSTATUS 0x0 register during
of the LA programming in tegra_mc_setup_latency_allowance() due to the
missing entry. Note that this patch doesn't fix any known problems.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20201104164923.21238-32-digetx@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
  • Loading branch information
Dmitry Osipenko authored and Krzysztof Kozlowski committed Nov 26, 2020
1 parent 162641a commit d5ecac0
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/memory/tegra/tegra114.c
Original file line number Diff line number Diff line change
@@ -15,6 +15,12 @@ static const struct tegra_mc_client tegra114_mc_clients[] = {
.id = 0x00,
.name = "ptcr",
.swgroup = TEGRA_SWGROUP_PTC,
.la = {
.reg = 0x34c,
.shift = 0,
.mask = 0xff,
.def = 0x0,
},
}, {
.id = 0x01,
.name = "display0a",
6 changes: 6 additions & 0 deletions drivers/memory/tegra/tegra124.c
Original file line number Diff line number Diff line change
@@ -15,6 +15,12 @@ static const struct tegra_mc_client tegra124_mc_clients[] = {
.id = 0x00,
.name = "ptcr",
.swgroup = TEGRA_SWGROUP_PTC,
.la = {
.reg = 0x34c,
.shift = 0,
.mask = 0xff,
.def = 0x0,
},
}, {
.id = 0x01,
.name = "display0a",
6 changes: 6 additions & 0 deletions drivers/memory/tegra/tegra30.c
Original file line number Diff line number Diff line change
@@ -36,6 +36,12 @@ static const struct tegra_mc_client tegra30_mc_clients[] = {
.id = 0x00,
.name = "ptcr",
.swgroup = TEGRA_SWGROUP_PTC,
.la = {
.reg = 0x34c,
.shift = 0,
.mask = 0xff,
.def = 0x0,
},
}, {
.id = 0x01,
.name = "display0a",

0 comments on commit d5ecac0

Please sign in to comment.