From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A8D63FF8861 for ; Mon, 27 Apr 2026 09:21:23 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4g3yjs6WGQz2ygY; Mon, 27 Apr 2026 19:21:21 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777272918; cv=none; b=WbLeLNh6a3DZnDZf206/m8MPfulTx7iARs0+qkgEPiNZhQYp3u1smyseaPD+7M0siLnKaNgUQeg5IFbkY9pts2md4VBOgsmDcgoIGGMYV2+EYQjf6Wysiac0OvAJldlvx7VwmQLLvD399Qx0WGdprJpRPVvluw53/m/99Obko/17H/DeKjibBcQ/1216NaS7G+ynliXa5QgJMZZon08jnZpE0oBj7/PgHeozQZBMEFczms7YWbWe9ooYR2P0xSIUwip+b7PcEau8Bnx5wjTFDcqCojASyGNYBM70OQxdUy+2PjpVJ740HoWtyc0Pi3inOV4T86hmPNSZBhrnJgb9gw== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777272918; c=relaxed/relaxed; bh=kbd+KJ62CZU4qnR3q8Wb/lGJuOs9KI6EpKwpM2lUoVc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=d7bFTZYFo0u/8C9i9K672fzwlvam6/3fBUhnvlMLHXeI+pREvq2loYq40Ch2V15NJS5KxPy9fbakFEDinGsmNk8ZFyeNnMGaqujwxHMuHhEaRFgHq5sfVyaNfbFuW+ap8iIW9EPvZL+y6l5Bu8rMHiT1zO93DVSu6wGpbaabdLt2nC212arvxqf7a32Oe0anrmX406a/XJcHQsZTvTuqHYxuyF5RUDhIj0yNQbUJ7cTkatNk62nBZEU3xJE0Qfg9uEOHFoDtcwoEi1/ozvSSCsOM3NOUmoHHNu7unG6SOsPYaXg9Tm5zyrQJfg9HJXUiINJqOZ+9evSaua8Y4It73A== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; dkim=pass (2048-bit key; unprotected) header.d=dolcini.it header.i=@dolcini.it header.a=rsa-sha256 header.s=default header.b=tVn55DDp; dkim-atps=neutral; spf=pass (client-ip=217.194.8.81; helo=mail11.truemail.it; envelope-from=francesco@dolcini.it; receiver=lists.ozlabs.org) smtp.mailfrom=dolcini.it Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=dolcini.it header.i=@dolcini.it header.a=rsa-sha256 header.s=default header.b=tVn55DDp; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=dolcini.it (client-ip=217.194.8.81; helo=mail11.truemail.it; envelope-from=francesco@dolcini.it; receiver=lists.ozlabs.org) X-Greylist: delayed 479 seconds by postgrey-1.37 at boromir; Mon, 27 Apr 2026 16:55:14 AEST Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4g3vTG4tqPz2yGX for ; Mon, 27 Apr 2026 16:55:14 +1000 (AEST) 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 2944B1F94F; Mon, 27 Apr 2026 08:47:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1777272429; bh=kbd+KJ62CZU4qnR3q8Wb/lGJuOs9KI6EpKwpM2lUoVc=; h=From:To:Subject; b=tVn55DDp/bNzLaXOdmrsekwW1j/RGVrzSryO6xtEvOGnM47lLZu4sHZoIbLZ3O50D QLuh58iINvRQlZPI2oGj7ijDMlBombEcGp2s8l7Q3FBbnFd61SujArKZkArTLsgeQ/ 8KL7u/Ias7XgtOuEtORdSLFCSDGyrOmLvQ3r7WQy50GvXVY8+M+84PkbchtzHu7Fmc d/yTv5mVVO8G+2veajDbG2BO9od7+77/ts0/pSmt1iVFL4SltVKOxvDZEc53S2gPY3 w78TFRrQa3eRrvWRfBPkMUx69iEKQcoQ3jWRrCVcLMHByifQEwQXtJYW9yqeAZSiv0 6hIZ5IIubfeSw== Date: Mon, 27 Apr 2026 08:47:04 +0200 From: Francesco Dolcini To: 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: <20260427064704.GA17710@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> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6593091.DvuYhMxLoT@steina-w> Hello Alexander, Bartosz 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 Francesco