mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Matt Coster <matt.coster@imgtec.com>
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>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Frank Binns <frank.binns@imgtec.com>,
	Alessio Belle <alessio.belle@imgtec.com>,
	Brajesh Gupta <brajesh.gupta@imgtec.com>,
	Alexandru Dadu <alexandru.dadu@imgtec.com>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] drm/imagination: Check for NULL struct dev_pm_domain_list
Date: Sat, 28 Feb 2026 14:25:59 +0000	[thread overview]
Message-ID: <aaL69__gB9mnR_um@sirena.co.uk> (raw)
In-Reply-To: <20260227-single-domain-power-fixes-v1-1-d37ba0825f7c@imgtec.com>

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

On Fri, Feb 27, 2026 at 02:12:47PM +0000, Matt Coster wrote:
> While dev_pm_domain_detach_list() itself contains the necessary NULL check,
> the access to struct dev_pm_domain_list->num_pds does not and thus faults
> on devices with <=1 power domains (where the struct dev_pm_domain_list
> machinery is skipped for simplicity).
> 
> This can be reproduced on AM625, which produces the following log[1]:

Tested-by: Mark Brown <broonie@kernel.org>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2026-02-28 14:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-27 14:12 [PATCH 0/3] drm/imagination: Fixes for power domain handling on single-domain devices Matt Coster
2026-02-27 14:12 ` [PATCH 1/3] drm/imagination: Check for NULL struct dev_pm_domain_list Matt Coster
2026-02-28 14:25   ` Mark Brown [this message]
2026-02-27 14:12 ` [PATCH 2/3] drm/imagination: Detach pm domains if linking fails Matt Coster
2026-02-27 14:12 ` [PATCH 3/3] drm/imagination: Ensure struct pvr_device->power is initialized Matt Coster
2026-03-02 11:40 ` [PATCH 0/3] drm/imagination: Fixes for power domain handling on single-domain devices Alessio Belle

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=aaL69__gB9mnR_um@sirena.co.uk \
    --to=broonie@kernel.org \
    --cc=airlied@gmail.com \
    --cc=alessio.belle@imgtec.com \
    --cc=alexandru.dadu@imgtec.com \
    --cc=brajesh.gupta@imgtec.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=frank.binns@imgtec.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=matt.coster@imgtec.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

all inboxes | Powered by JetHome®