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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5437CFF8865 for ; Mon, 27 Apr 2026 06:47:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kbd+KJ62CZU4qnR3q8Wb/lGJuOs9KI6EpKwpM2lUoVc=; b=Ud4DZplK73RIrpA397FLcJuYXE nWXuitVY18rORJs4PIxu2GLRxwCI/llkUcsApjZD2aoShL8XSXOTXGNNlfetGfSoH3LdhBlO72c3P uHEHuv+mw1TWDom0EenK0lDdLDhi0UDHWTNPPh5kfdZdcAWBjPS4UbU2rQpDioZuc/5/5kTQPmNrE O4TxQ3iDfcuwQ5gTae3RWKvhNGz313VVhHfjnJqadnzz9T+K6zA30VbwXkaCGvrnyoRWWpvT7+awP KyQ7iEI5DdzEr6N/m0qi8s+Lgq08DgIHSX+/FfogQM09XqTHSL2q1ynwBwadX5H0yGFYIh7ik0Coe zSsVdCXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wHFkW-0000000GHlK-0pEm; Mon, 27 Apr 2026 06:47:20 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wHFkT-0000000GHkX-0FVI for linux-arm-kernel@lists.infradead.org; Mon, 27 Apr 2026 06:47:19 +0000 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6593091.DvuYhMxLoT@steina-w> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260426_234718_000002_1E04C67C X-CRM114-Status: GOOD ( 17.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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