summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-10-14 20:28:52 -0400
committerKrzysztof Kozlowski <krzk@kernel.org>2026-11-02 11:52:45 +0100
commitc5f343c189aa30285e7c73dbf2f185720467794b (patch)
treeb7a180227ff3bfa79777896fd1497c05a92b3980 /tools/perf/scripts/python
parent6628e7d4c6b25c8d18f1345e3a20d21829aae7e4 (diff)
memory: tegra: Shut down Tegra210 EMC timers before teardown
The training and refresh timers can outlive the EMC state on removal or probe failure after clock attachment, causing use-after-free. Shut down both timers before detaching the clock provider and releasing the timing tables to wait for callbacks and prevent rearming. Initialize them before clock attachment, since set_rate() can start training. Fixes: 10de21148f7d ("memory: tegra: Add EMC scaling support code for Tegra210") Co-developed-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Reported-by: Sashiko <sashiko-bot@kernel.org> Closes: https://sashiko.dev/#/bug/linux-47538f77-fb50-4a06-b49b-92dbee8b538b Link: https://patch.msgid.link/20261015002852.2159841-1-mhun512@gmail.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions