From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.42 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795448813; b=Dcq6J2WKiaYA2P2zjueNx+sK7Zp7AEdXDsLV0htGY95ZGFJeSBnuEL4I7RpbJmrdwWpw WVva/wB2YsBUdkAmcpBSMFWO15qnJe93SAQ6BWql2zEIC/W5Wq0dUo7MHntVqeaCIWIra MFVFx2BYYeVGQlfyj1nZUMElbOQlXUTmzeaB6y+wbxlxpK0je+izNBHOg2+PzeOts7Rva 1UTf+oqAUGorMI0P5wiBfJeVVObol2TIwIj4lPZYJdnRHoIdJKzmzs+DvHsY0oQRr0UgI sRWHZOXCQdQ3qfTdj9P9AB234T/uObZ8j5O5yUUd18kuAa+2vufSNDuZgu4PSK1g47A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795448813; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:Autocrypt:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=Jco5N9HqUZU5bQiDb/7CVG3Xd5xNAy5U7XJ/rBLzfGA=; b=miq1PPv/7RUl5K1Ln3iH3uzdQ4HnPAvxIVhnFIR//4SjWw07AuHVfCK+/Q8EGChp1Hrt dnx5EV+fnaQuse1oAgoHQTtZofrCfwrRsW2uKlGp8PmahakwDzP8MuYcHezeZImMVMPBc XXcpGA9uTThfAmlP4+fL34LUZ+LlDUyqyACsqn4sAjnsqtLlDJ3AzNf/LP31W6DqYdU9m xdXTyouFSegB9dMTYUUJZLixPaT3P1aw8UykKzx+ZitB/dJYgoZ9DWAlsqsT8PuUdAmTI lta/N3+apS+FcdEuIDP8taBQNRWUE7hQYW7neM9cstWKqEuSOYAr8Qoje0WhcWsMEgg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=fOacZBda; arc=none smtp.remote-ip=209.85.128.42 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BAAC606A31F for ; Mon, 23 Nov 2026 15:46:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1BAAC606A31F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=fOacZBda Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-4a2000d5fb1so19511285e9.1 for ; Mon, 23 Nov 2026 07:46:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1795448810; x=1796053610; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Jco5N9HqUZU5bQiDb/7CVG3Xd5xNAy5U7XJ/rBLzfGA=; b=fOacZBda84BFoSkxXuiBVPLK/rTm6IN+e9Ek3paclKzsb1oUy9+exLA1ADv7ZABA8u MR1nAkc8ZxaJ/NE0ubq28uS5lLu04ASAN1E81kIwboAxh6EjEAJa57Scn80l7VM9OWPD 3GcOQ3H75clVIMWmk8NCvi6ucqRuF620LaP6pKF9QKb+98kPRfVBrEXzXt5KK3O4n7A1 QznDfPcx3UK8HKVzDGk8rremjqB7GvcZ5W1R5HlnN404GpcH1NuKWwVPDhqHknlCM68L p6xI23V9vBPx9u7bWGiiiQBxtEpJDgNrSjUnB6a4pv658iUwdKWUpqcRTdQ+obyduqN6 yhRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795448810; x=1796053610; h=content-transfer-encoding:content-type:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Jco5N9HqUZU5bQiDb/7CVG3Xd5xNAy5U7XJ/rBLzfGA=; b=H+QkYvrfuryOdpKER1OKEGHR5dDrjCwmoAD2YLaaENVE4s/a2TZbR7D29o9hv7aDE8 kubMwRus/cIBZ7XA9/yusD3YxQl9AWD+HvoQHAgivQ4qWjqwsSSiPgUCFBWfZJcbuLy2 ddKqnK/3YDD7PJgXrvzhlrLTXOQe4+sS6OkkX3qfEt+arqipByD8uKESJuzabxgKrsQP u2ILY7Zhg6XXYOLmOn3XJmM3PkgD37mKM4Cyp/nupEm6IFxkPuh81eg/gHqjIqSSIdlv uddE9sLUR8e5nvvgoq6m3+jp4399/iTqwq3egOkOp85svHZDqS163Shd6OULpvCC8aii 7iZg== X-Forwarded-Encrypted: i=1; AL+hErEA5nyZtgeCkCevcf6EVNv90BEV5R5mwvHmVb+3lH/dqB9lSg4dIwa4KEQRj1A7R3I304jRjrz7nA==@vger.kernel.org X-Gm-Message-State: APuU4Z+8tENKehlXd6BC4AL3PnZCV3YO/epEf7XgplvFUUvokqudcvpj JKysNA0Z2i+pHGkNtRlz801X1n3zd0oGedPyTkIHEgpndAsFx/vjTW5DrDLRvMYgqFA= X-Gm-Gg: AZFdTZfokmy/HMu3nETPLp7hUJdRPcthofbFEZdJRz9+jPrMfGmiIz/H2VIhos3w8lq Z8XBwyO2gfmt6r3Zu0ZbWbTIog3pZ5ufJIt9uGKD2d22SAueLmvm+Ko+1a6weNxMdbHT9oSS0A6 rUrvY4+bgBS841RhKhP+SOJTeYpjadyIF7DdTd1BO08hkVZ1k5ipqJQ2jRvxOxehaa4V81vAKzk +IhrB9VlxL3wDySoSGJbi2tqmNe1mmT8pLVnUAmF1O2/JpSNhLLNM5VB1DN+fMInqfOTDLYIYe/ GD1PIKtB54vn0LIN6dn7Fsz9VAzWl6v13ddg8BgZBW6wUvf03Qjw5vx1aKiWyE2VN+ROrClJVBS GpNubY0lbifyACMRfCYoyK5qtKzTllct8gWMYVXGPGU7pT59ymnCKJyJTUVJJp0N974dorcSR8e NjuJa8HOyLkpgvn9JGs+N8pt2wNkH9LAjlBy+fYaUL60EyUGXX6WN/f1iI1qSXVkh5uggUL+BJs wvYNhT6csyGQXN6Hj4QPtxPcHQyd7oQBhsrxtSdWYy2IUsL/g+oSSRWxZz9LUTySvoG9rJmdq5q IXAbfzNxQGi8bkJjKfM/VUd68zPfs58X5ztPgLKaOouD5T66WwDKeUCSLQ== X-Received: by 2002:a05:600c:670b:b0:4a6:30c3:1114 with SMTP id 5b1f17b1804b1-4bb88922df3mr229426595e9.12.1795448810466; Mon, 23 Nov 2026 07:46:50 -0800 (PST) Received: from [192.168.1.62] (140.30.66.37.rev.sfr.net. [37.66.30.140]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb88442693sm312466955e9.1.2026.11.23.07.46.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Nov 2026 07:46:50 -0800 (PST) Message-ID: Date: Mon, 23 Nov 2026 16:46:49 +0100 X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 00/15] R-Car X5H Ironhide CPG/MDLC SCMI remapping support To: Laurent Pinchart 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 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> Content-Language: en-US, fr From: =?UTF-8?Q?Cl=C3=A9ment_Le_Goffic?= Autocrypt: addr=clegoffic@baylibre.com; keydata= xjMEafx9bxYJKwYBBAHaRw8BAQdAtc85GIwDXLz0rh9thWXC80Lji0otVDVncXT4qaS4j1fN K0Nsw6ltZW50IExlIEdvZmZpYyA8Y2xlZ29mZmljQGJheWxpYnJlLmNvbT7ClgQTFgoAPhYh BJjMiHuM4ZUwFqUPr36EW4KtCh6TBQJp/H1vAhsDBQkJZgGABQsJCAcCBhUKCQgLAgQWAgMB Ah4BAheAAAoJEH6EW4KtCh6Tt+sA/jVC35rY1npFlOy7YnncTdrID8Qf855JA78IzXgvzpGp AP9FkuuT80m66PP3DvgYX9kVnG17mSDKO0+v2W18v6ZgCM44BGn8fW8SCisGAQQBl1UBBQEB B0DMwF4u//aQyzsFlO8rPJ/cqsAuPH80IeIA3HOEo5mlVgMBCAfCfgQYFgoAJhYhBJjMiHuM 4ZUwFqUPr36EW4KtCh6TBQJp/H1vAhsMBQkJZgGAAAoJEH6EW4KtCh6TdSgBAMDS0MiWCivt LjzZc9bs+P/xdXywUjDKq3lpQGJ6vZ0GAP9vI6DnN7vwVK6jt6/+0aBGkog5Ura9+WwRFEdM vLfPDQ== In-Reply-To: <20261123103633.GB2959742@killaraus.ideasonboard.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Laurent, 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. 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. 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 still think it is a good one ^^ Best regards, Clément