[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175164330873.70322.8845862980956103647.b4-ty@imgtec.com>
Date: Fri, 4 Jul 2025 16:35:08 +0100
From: Matt Coster <matt.coster@...tec.com>
To: Frank Binns <frank.binns@...tec.com>,
Alexandru Dadu
<alexandru.dadu@...tec.com>,
Maarten Lankhorst
<maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Alessio Belle <alessio.belle@...tec.com>
CC: <dri-devel@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/imagination: Fix kernel crash when hard resetting
the GPU
On Tue, 24 Jun 2025 15:22:08 +0100, Alessio Belle wrote:
> The GPU hard reset sequence calls pm_runtime_force_suspend() and
> pm_runtime_force_resume(), which according to their documentation should
> only be used during system-wide PM transitions to sleep states.
>
> The main issue though is that depending on some internal runtime PM
> state as seen by pm_runtime_force_suspend() (whether the usage count is
> <= 1), pm_runtime_force_resume() might not resume the device unless
> needed. If that happens, the runtime PM resume callback
> pvr_power_device_resume() is not called, the GPU clocks are not
> re-enabled, and the kernel crashes on the next attempt to access GPU
> registers as part of the power-on sequence.
>
> [...]
Applied, thanks!
[1/1] drm/imagination: Fix kernel crash when hard resetting the GPU
commit: d38376b3ee48d073c64e75e150510d7e6b4b04f7
Best regards,
--
Matt Coster <matt.coster@...tec.com>
Powered by blists - more mailing lists