diff options
| author | Roman Demidov <roman.demidov.nn@gmail.com> | 2026-09-29 17:20:59 +0300 |
|---|---|---|
| committer | Rob Clark <robin.clark@oss.qualcomm.com> | 2026-10-05 08:13:48 -0700 |
| commit | e2f57c576f14f96449cfee840860cb9707501d23 (patch) | |
| tree | 24cf4c4cd98a4d869a2500880b336886ec290352 /tools/lib/python/kdoc | |
| parent | 8128ae7af6b4dc95e486c5c0a80839a069df578e (diff) | |
drm/msm/a6xx: check pm_runtime_resume_and_get during resume
The return values of pm_runtime_resume_and_get() calls in a6xx_pm_resume()
are not checked, which can lead to hardware access on suspended devices
and PM reference underflows.
Fix this by checking the return value of each pm_runtime_resume_and_get()
call and properly unwinding the previously acquired resources on failure.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 5a903a44a984 ("drm/msm/a6xx: Introduce GMU wrapper support")
Signed-off-by: Roman Demidov <roman.demidov.nn@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/757106/
Message-ID: <20260929142103.81854-2-roman.demidov.nn@gmail.com>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
