[lvc-project] [PATCH v2 2/2] drm/msm/a6xx: check pm_runtime_resume_and_get during resume

Fedor Pchelkin pchelkin at ispras.ru
Fri Oct 2 11:55:58 MSK 2026


On Tue, 29. Sep 17:20, Roman Demidov wrote:
> 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 at gmail.com>

Для ветки 6.12 просьба выслать адаптированную применимую к ней серию
патчей только в lvc-patches at linuxtesting.org.  Описание и название патчей
при этом должно остаться исходными.



More information about the lvc-project mailing list