From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FC6E3033F4 for ; Sat, 28 Feb 2026 14:26:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772288763; cv=none; b=WUa3FFbJdqzSrr0meOUZV+p+LDBXpjl84TA7XdXFzMMZuTcERInGs9YguMMBezfUqixAuwXmdGUH64Z47tA8GkZua9pNMMdCwWgkpDxMJ3oyMyS1333jTPuO6QrkLAKHOGhzHSBFiqbGZ3V9V5ixPx+m83Je5Amii4KxOv69otw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772288763; c=relaxed/simple; bh=p0m4b9Cu2R487zUVWz8+aY5tpJLJNC+MHOAHj5xSxw0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sij//5Z+lZbMDknKP490czQvVtAajc/a2bmVdT8/IKhOOj0HKbSaBa2w2ammMznPlcL2Y6yzB+l2Fazo25ExvoYyx1oWuwxq1LJRFlYIXXUYvffwl+Gxta+TPF533xOSe0f5RfjNLBww9gGWd86c01gOHqY+eVfgYLL9f3gVqhE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IDlBpRbc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IDlBpRbc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6DE6C116D0; Sat, 28 Feb 2026 14:26:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772288762; bh=p0m4b9Cu2R487zUVWz8+aY5tpJLJNC+MHOAHj5xSxw0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IDlBpRbc/aOJs+QuFFyvxOfNVgTFiUF7jUmysowfFA3JxNx/Ky2OlhBgn4XyGJc+w bb3jfm55w5N7H86M/5yj47/I8J4pvPIdkWupsF0rzxZGhsNMTP2R+Y73Xt+gDj8aWM hALejpJAeVWv8KtKI48VMmqxcHYKk9VmuKrzcC5BXwUgksKytqiMXvA2gT80KJvVD+ WCVDkIMIJ11JBAb8F063Ku5ng9zPCxbwtdsaoKklbqMc055N9aHf6lAY1FiCzdPaXe hza8bWXe2ixFCkACGPdSm55UhsVhMrpP7GM7+nZqc7sgLtjyxtMEgdRyZLYO02/Vin D2aFeUKWMFiHg== Received: by finisterre.sirena.org.uk (Postfix, from userid 1000) id ECD231AC58E5; Sat, 28 Feb 2026 14:25:59 +0000 (GMT) Date: Sat, 28 Feb 2026 14:25:59 +0000 From: Mark Brown To: Matt Coster Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Geert Uytterhoeven , Frank Binns , Alessio Belle , Brajesh Gupta , Alexandru Dadu , 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 Message-ID: References: <20260227-single-domain-power-fixes-v1-0-d37ba0825f7c@imgtec.com> <20260227-single-domain-power-fixes-v1-1-d37ba0825f7c@imgtec.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tZsRh7811fnmnXri" Content-Disposition: inline In-Reply-To: <20260227-single-domain-power-fixes-v1-1-d37ba0825f7c@imgtec.com> X-Cookie: Think big. Pollute the Mississippi. --tZsRh7811fnmnXri Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 27, 2026 at 02:12:47PM +0000, Matt Coster wrote: > While dev_pm_domain_detach_list() itself contains the necessary NULL chec= k, > the access to struct dev_pm_domain_list->num_pds does not and thus faults > on devices with <=3D1 power domains (where the struct dev_pm_domain_list > machinery is skipped for simplicity). >=20 > This can be reproduced on AM625, which produces the following log[1]: Tested-by: Mark Brown --tZsRh7811fnmnXri Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmmi+vcACgkQJNaLcl1U h9CrFgf/e3tBHZv1kvgeLjvZeh5PHprI+KMjcOxUFEpNbCMU4P7bgyHmkx1L7MxK GyfwyX0P02icGY+5aMub6H8QpZvvpq0Jm4gbyEJj7k3hTDRNEZ1V8HeGMJnSlncF tWvtftsArconpVVeiRC2k3nf3hymNN6cXby2Yf4SZp+/2pqFXYsszOIQG0E1dWsX Cy5Mrij6qRrR41QciUEjK8/HMbNRNaXduSdOgqEiYknJZ/6LQUAQpgShwlHvhKPC J5Z7LQQAVofM/KbCh8dGhHS0aMAD59JM++ojDtJHl+o1dkomm/wTo+fidEjfyBfy ZrbE8zdoEV5Kz4WeD5ll//kO9dd2wQ== =rpRg -----END PGP SIGNATURE----- --tZsRh7811fnmnXri--