From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC38A606A31F for ; Mon, 23 Nov 2026 16:06:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=iqz5Xsnc; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.a=rsa-sha256 header.s=mail header.b=KFdgICcx 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-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=WFaZs5yZ2TaZla+3aHjGks0CtdazRULWW7qGO/cJj/M=; b=iqz5Xsnc8Hw/ErZ3Bz3d7hkvv1 5P5Iy9ujchVFLLOCpJ8o77caAVEwHRKUX9eRcBw/0bphcwiG0T5dYbO/lwGUMTGdoMNWgjXEkt5WT HdsW1zlhGjFlD7DtRUIBjHE3k6yj6QsctWoS9MPw4tPhPysRpwkR5I/MkMsZWYhMzmYGh488GU00g 8ZwPjQQWzVm7WIY/BktBbYfpajPGvSooMqYMAuwoqnqr6XXx+ZiGe/wy0IKuxodzLvnlPxSxBMALM QN6BLH4tJU9QT37kyOEA8/aHV4Abn44wan+KyVzk3US4tAF7VQQKqP4twyCyMRNY8MQ/AN30X1aWz sgwRUwlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xVWYG-000000047yP-2wW1; Mon, 23 Nov 2026 16:05:56 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xVWYD-000000047xp-16HF for linux-arm-kernel@lists.infradead.org; Mon, 23 Nov 2026 16:05:56 +0000 Received: from killaraus.ideasonboard.com (2001-14ba-7086-3000--a06.rev.dnainternet.fi [IPv6:2001:14ba:7086:3000::a06]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 35FFD524; Mon, 23 Nov 2026 17:03:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1795449799; bh=9pK6J6oL7XAG9XZBoQELiXRbBhkc76Tz47n6q6kkJAU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KFdgICcxqgkA3zwfE9GsbuyXLe7fSbl/+MVxyWxmnfzBxlItzM+xhHGfU+7lGVLPR iCJDRBNnTy1W3fGeYji3o+1IR613Jhy3HmMWP3HYW7S9LXSz5ajCmjM/LiOWM5fx4B hLr+BngZaAUkte/VYUwVgTWCSpjhnzWMhZuTiPl4= Date: Mon, 23 Nov 2026 18:05:50 +0200 From: Laurent Pinchart To: =?utf-8?Q?Cl=C3=A9ment?= Le Goffic Cc: Wolfram Sang , Geert Uytterhoeven , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Brian Masney , Jerome Brunet , Ulf Hansson , Philipp Zabel , "Rafael J . Wysocki" , Marek Vasut , Bartosz Golaszewski , Konrad Dybcio , Kevin Hilman , Vinod Koul , Kuninori Morimoto , Paul Elder , Sudeep Holla , Cristian Marussi , arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH v5 00/15] R-Car X5H Ironhide CPG/MDLC SCMI remapping support Message-ID: <20261123160550.GA3050935@killaraus.ideasonboard.com> References: <1e9c5ac3-d82b-4af9-9946-0302cadf7404@baylibre.com> <20261119234759.GB2324725@killaraus.ideasonboard.com> <19c3745a-6308-46ff-bb37-3acc88fe22e2@baylibre.com> <20261123103633.GB2959742@killaraus.ideasonboard.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261123_080555_081494_416E55AE X-CRM114-Status: GOOD ( 27.86 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Mon, Nov 23, 2026 at 04:46:49PM +0100, Clément Le Goffic wrote: > On 11/23/26 11:36 AM, Laurent Pinchart wrote: > >> I know several SDK versions exist, and supporting several of them is work for a vendor tree. > >> As Geert's cover says, "While upstream Linux must only support sufficiently mature firmware versions, vendor trees (e.g. renesas-lts) may still want to support development firmware versions". > >> Each SDK version can then have its own DT there. > > > > That's not how DT works. Please be gentle with Krzysztof and avoid > > increasing his blood pressure :-) > > These DTs would stay in the vendor tree, so they would not reach Krzysztof :-) > Upstream would have one SCMI DT, as v5 has one table. > > >> If a release that changes ids is already out, it needs a new DT, or a quirk for that one release when the DT cannot be updated. > > > > So you're proposing that, with any new firmware that introduces an ABI > > breakage, every single DTB on all boards in the wild get updated ? That > > just doesn't scale, sorry. Let's forget about that bad idea, and focus > > on finding a good solution. > > I think the v5 tables have the same problem. v5 supports one firmware version at the moment, and the driver would get support for new firmware versions when/if needed. > As Wolfram said, "the driver is then tied to a specific firmware version", so the same ABI breakage needs a new kernel on every board in the wild. > Either way every board needs an update, so I think the fix belong in the firmware. It's much easier to update one kernel than thousands of different DTBs. > I also see technical weaknesses in the remapping: > It adds a second layer of ids on top of the SCMI ids, so each new device needs entries in the kernel tables as well as its DT node. > And Zephyr already uses the SCMI ids in its DT for this chip, without such a layer. > > With the SDK DTs only in the vendor tree, what technical weakness do you see in the solution I proposed? I have yet to see any vendor who can provide 100% stability guarantees for SCMI firmware interfaces. In theory, sure. In real life, I just don't buy it. And even if that were to be the case, the situation we see today with vendors shipping BSPs that require different DTs for different SCMI firmware versions (I'm thinking about ST in particular) is absolutely horrible. There are SoCs I don't want to touch with a 10-foot pole because of that. It's a model we need to push back *against*. > I still think it is a good one ^^ We can agree to disagree on this, no issue. -- Regards, Laurent Pinchart