From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A53939A7F4; Mon, 27 Apr 2026 09:31:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777282296; cv=none; b=Y6QPpD/REBR03oFTohKkwiyxCNdatJ54i0rwpiwg2wXPkMckdDxSUv+weBCsqxjpSyqmI8CGOo6sFtct3qLZM8iQIM3loh/6BjhkcEiWkoiQrhWc9Ua/1arLa4rxsfDoDsA/eMN4dmD04Wq6FOHj/yFExairzeAlitGpEbxMq4A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777282296; c=relaxed/simple; bh=A0oXCMrybLIEwLDt5XmVSSXvZtqREUvn/lU0xjuCu6A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=X7RlpiH4U48fP7xcaHQwOPkJx6htsaGnPx/MwzSXv/GL4y1XOtjahdgAfzubHJTJZpvxhlhpyLUHYpH73D6e7E/yAlG8/oXPCbNJ0LVVMEelN69/jc1rkvvotwD8JEamtzY10Gjt8bdUiiRyOv5QuQDhFk/zbA/TQHDdIN2G1eY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=Oui0MOT0; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="Oui0MOT0" Received: from francesco-nb (248.201.173.83.static.wline.lns.sme.cust.swisscom.ch [83.173.201.248]) by mail11.truemail.it (Postfix) with ESMTPA id 39F831FB1B; Mon, 27 Apr 2026 11:31:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1777282292; bh=3f+ipyipbG9ve74SWingHtpF8ckpjt3qTGqxppXfFzY=; h=From:To:Subject; b=Oui0MOT0x94+2dM3R5uOpRffJ9Wx9j6ylSA9QAkTg92XTx+dn56JG7xkyoASs/fa6 jeurKD+LfLijfHlA9mg6wH5OqqjaEOvDVucHz17xzhALz3mdyDx+/MsPHaZVp+YVxJ VIU34BPvnoFHTPl+YThEFIUGqU6HzI1TbxO1HNl3JHKluUYtK9yGDDeiUXDnyOF/Yz U9rQ8naikD2oQ8qGchfq7QlTttc7kMhUh/sUuzk97naTvYQq6FTtCPfwqgnIJIqwXO eWElkycEwmM5cl9ZVK2doQf8R3IWlYTNVaMEWuAXQbf20IyJv35NG87Vt7cb+pgGT3 aaV344jJwI6MA== Date: Mon, 27 Apr 2026 11:31:27 +0200 From: Francesco Dolcini To: Francesco Dolcini , peng.fan@oss.nxp.com, Alexander Stein , Bartosz Golaszewski Cc: Rob Herring , Saravana Kannan , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , "Christophe Leroy (CS GROUP)" , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Geert Uytterhoeven , Magnus Damm , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Frank Li , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, imx@lists.linux.dev, linux-renesas-soc@vger.kernel.org, linux-sunxi@lists.linux.dev, driver-core@lists.linux.dev, regressions@lists.linux.dev Subject: Re: [PATCH v2 6/9] soc: imx8m: don't access of_root directly Message-ID: <20260427093127.GA50667@francesco-nb> References: <20260223-soc-of-root-v2-0-b45da45903c8@oss.qualcomm.com> <20260223-soc-of-root-v2-6-b45da45903c8@oss.qualcomm.com> <6593091.DvuYhMxLoT@steina-w> <20260427064704.GA17710@francesco-nb> Precedence: bulk X-Mailing-List: driver-core@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260427064704.GA17710@francesco-nb> +Peng Hello all, On Mon, Apr 27, 2026 at 08:47:04AM +0200, Francesco Dolcini wrote: > On Tue, Mar 24, 2026 at 11:24:09AM +0100, Alexander Stein wrote: > > Hi, > > > > Am Montag, 23. Februar 2026, 14:37:21 CET schrieb Bartosz Golaszewski: > > > Don't access of_root directly as it reduces the build test coverage for > > > this driver with COMPILE_TEST=y and OF=n. Use existing helper functions > > > to retrieve the relevant information. > > > > > > Suggested-by: Rob Herring > > > Signed-off-by: Bartosz Golaszewski > > > > today I noticed the following warning running next-20260323: > > > caam 30900000.crypto: No clock data provided for i.MX SoC > > > > This happens when there is no matching against the soc_id. > > > > Checking the source it turns out this patch is the cause that the SoC info > > does not provide soc_id anymore. > > next-20260323: > > > $ grep . /sys/devices/soc0/* > > > /sys/devices/soc0/family:Freescale i.MX > > > /sys/devices/soc0/machine:TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MP-RAS314 > > > grep: /sys/devices/soc0/power: Is a directory > > > /sys/devices/soc0/revision:unknown > > > /sys/devices/soc0/serial_number:0000000000000000 > > > grep: /sys/devices/soc0/subsystem: Is a directory > > > > reverting this patch (2524b293a59e586afd06358d0b191ab57208a920): > > > $ grep . /sys/devices/soc0/* > > > /sys/devices/soc0/family:Freescale i.MX > > > /sys/devices/soc0/machine:TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MP-RAS314 > > > grep: /sys/devices/soc0/power: Is a directory > > > /sys/devices/soc0/revision:1.1 > > > /sys/devices/soc0/serial_number:469677A693A4B8CE131D180033E44903 > > > /sys/devices/soc0/soc_id:i.MX8MP > > > grep: /sys/devices/soc0/subsystem: Is a directory > > > > soc_id is restored. Now that I write these lines I noticed that > > serial_number also contained empty value which is restored with the revert. > > Any update on this? I would say this is a regression in 7.1-rc1. > > I noticed the same issue, and CAAM is not working. > > [ 0.000000] Linux version 7.1.0-rc1-0.0.0-devel (oe-user@oe-host) (aarch64-tdx-linux-gcc (GCC) 15.2.0, GNU ld (GNU Binutils) 2.46) #1 SMP PREEMPT Sun Apr 26 21:19:00 UTC 2026 > ... > [ 10.611139] caam 30900000.crypto: No clock data provided for i.MX SoC > [ 10.611211] caam 30900000.crypto: probe with driver caam failed with error -22 I guess this is the fix https://lore.kernel.org/all/20260427-soc-imx8m-fix-v1-1-1fe5b43d8090@nxp.com/