diff options
| author | Myeonghun Pak <mhun512@gmail.com> | 2026-09-10 23:17:50 -0400 |
|---|---|---|
| committer | Georgi Djakov <djakov@kernel.org> | 2026-09-18 13:44:05 +0300 |
| commit | 601a54f00723b0b653d76caf26a2a78482d95f00 (patch) | |
| tree | 628a3bee7d1de1f1af4c22378dc27c86e172a231 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 77cac270e34c5f013074ff5a03dea39209df6737 (diff) | |
| download | linux-next-601a54f00723b0b653d76caf26a2a78482d95f00.tar.gz linux-next-601a54f00723b0b653d76caf26a2a78482d95f00.zip | |
interconnect: exynos: Remove the PM QoS request on unbind
The Exynos interconnect provider adds a minimum-frequency PM QoS request
to its parent devfreq device. The request is embedded in the provider's
device-managed private data.
The probe error path removes the request, but the remove callback does
not. Unbinding the provider while the parent device remains registered
therefore frees the private data with the request still on the parent's
QoS list. The child's device cleanup does not remove requests registered
against its parent.
Remove the request after deregistering the provider, before the private
data is released.
This issue was identified during our ongoing static-analysis research while
reviewing kernel code.
Fixes: 2f95b9d5cf0b ("interconnect: Add generic interconnect driver for Exynos SoCs")
Co-developed-by: Ijae Kim <ae878000@gmail.com>
Signed-off-by: Ijae Kim <ae878000@gmail.com>
Signed-off-by: Myeonghun Pak <mhun512@gmail.com>
Link: https://patch.msgid.link/20260911031750.8182-1-mhun512@gmail.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
