diff options
| author | Ashish Mhetre <amhetre@nvidia.com> | 2026-04-30 12:52:01 +0300 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2026-05-04 20:17:48 +0300 |
| commit | 2411c8d1e3e09910e94bab0d0a2c071fbc8a9e7b (patch) | |
| tree | a89998feb041101c0bda51ad3ebb7bfb4b4bf1e6 /include/linux/debugobjects.h | |
| parent | 4f42beeb9796e24e8009c46d1a2d676803e5ab24 (diff) | |
| download | linux-2411c8d1e3e09910e94bab0d0a2c071fbc8a9e7b.tar.xz | |
memory: tegra: Wire up system sleep PM ops
The tegra-mc platform driver does not register any dev_pm_ops, so the
SoC-specific ->resume() is never invoked (e.g. tegra186_mc_resume) on
system wake. On Tegra186 and later this means MC client Stream-ID
override registers are not reprogrammed, and clients behind the ARM
SMMU fault on the first DMA after resume.
Register a dev_pm_ops on the tegra-mc driver and route the system
resume callback into mc->soc->ops->resume() so the existing SID
restore path runs again on wake.
No suspend callback is needed as the resume path reprograms all MC
state from the static SoC tables, so there is nothing to save.
Fixes: fe3b082a6eb8 ("memory: tegra: Add SID override programming for MC clients")
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20260430095202.1167651-3-amhetre@nvidia.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
