From: Matt Coster <Matt.Coster@imgtec.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>,
Mark Brown <broonie@kernel.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Frank Binns <Frank.Binns@imgtec.com>,
Brajesh Gupta <Brajesh.Gupta@imgtec.com>,
Alessio Belle <Alessio.Belle@imgtec.com>,
Alexandru Dadu <Alexandru.Dadu@imgtec.com>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-renesas-soc@vger.kernel.org"
<linux-renesas-soc@vger.kernel.org>
Subject: Re: [PATCH] drm/imagination: Use dev_pm_domain_attach_list()
Date: Fri, 27 Feb 2026 10:23:53 +0000 [thread overview]
Message-ID: <6854b1ff-d22d-44c2-a4a1-e0718ff4f199@imgtec.com> (raw)
In-Reply-To: <CAMuHMdU5aNzuK2a05y+hPsQubc5EEL4-HWuogwPk4PKJZUm9kQ@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2241 bytes --]
On 27/02/2026 08:10, Geert Uytterhoeven wrote:
> Hi Mark,
>
> On Thu, 26 Feb 2026 at 18:24, Mark Brown <broonie@kernel.org> wrote:
>> On Fri, Jan 23, 2026 at 02:44:50PM +0000, Matt Coster wrote:
>>> This helper handles the attaching and linking of the entire list of power
>>> domains. Besides making pvr_power_domains_init() simpler, this also lays
>>> the groundwork to simplify supporting the varied power domain names used in
>>> Volcanic GPU cores.
>>
>> I'm seeing oopses in -next on at least k3-am625-verdin-wifi-mallow which
>> bisect to this patch. We get:
>>
>> [ 10.820056] powervr fd00000.gpu: Direct firmware load for powervr/rogue_33.15.11.3_v1.fw failed with error -2
>> [ 10.831903] powervr fd00000.gpu: [drm] *ERROR* failed to load firmware powervr/rogue_33.15.11.3_v1.fw (err=-2)
>> ...
>> [ 10.844023] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000018
>> ...
>> [ 11.090162] Call trace:
>> [ 11.092600] pvr_power_domains_fini+0x18/0xa0 [powervr] (P)
>> [ 11.098218] pvr_probe+0x100/0x14c [powervr]
>> [ 11.102505] platform_probe+0x5c/0xa4
>>
>> which does seem relevant to the changed code.
>>
>> Full log:
>>
>> https://lava.sirena.org.uk/scheduler/job/2499326*L865
>>
>> bisect log (with links to additional runtime logs):
>
>> # first bad commit: [e19cc5ab347e3cdcc21c97ea5d11af8da7f1358d] drm/imagination: Use dev_pm_domain_attach_list()
>
> Thanks for your report!
+1 from us :)
>
> I can confirm this crash on e.g. R-Car H3 ES2.0 (after adding a
> GPU node). Actually I had seen it earlier this week, but didn't pay
> enough attention. Hence I just assumed it was the known race condition
> when removing multiple PM Domains, and thus missed it is a new bug.
>
> The issue is that pvr_power->domains is a NULL pointer, thus causing
> a crash when dereferencing that pointer:
>
> int i = (int)pvr_power->domains->num_pds - 1;
We've confirmed the same on AM625; there's patches coming today for this
fix and another possible foot-gun we spotted in the process.
Cheers,
Matt
>
> Gr{oetje,eeting}s,
>
> Geert
>
--
Matt Coster
E: matt.coster@imgtec.com
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
prev parent reply other threads:[~2026-02-27 10:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-23 14:44 Matt Coster
2026-01-30 9:03 ` Alessio Belle
2026-01-30 11:58 ` Matt Coster
2026-02-06 10:29 ` Matt Coster
2026-02-26 17:24 ` Mark Brown
2026-02-27 8:10 ` Geert Uytterhoeven
2026-02-27 10:23 ` Matt Coster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6854b1ff-d22d-44c2-a4a1-e0718ff4f199@imgtec.com \
--to=matt.coster@imgtec.com \
--cc=Alessio.Belle@imgtec.com \
--cc=Alexandru.Dadu@imgtec.com \
--cc=Brajesh.Gupta@imgtec.com \
--cc=Frank.Binns@imgtec.com \
--cc=airlied@gmail.com \
--cc=broonie@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome