[PATCH v5 00/15] R-Car X5H Ironhide CPG/MDLC SCMI remapping support
Geert Uytterhoeven
geert+renesas at glider.be
Wed Nov 25 06:56:41 PST 2026
Hi Clément,
On Mon, Nov 23, 2026, at 20:09, Clément Le Goffic wrote:
> On 11/23/26 5:05 PM, Laurent Pinchart wrote:
>> 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.
>
> I agree that while an SCMI firmware is in development, its ids can
> change between versions.
> To keep the ids of a released firmware stable, I see three rules:
> - an id always names the same resource, ids are never swapped,
> - an id is never dropped: when a resource goes away, the firmware keeps
> its id reserved and denies access to it, as SCMI 4.0 section 3.2.1
> describes,
> - new ids are only added at the end
>
> I think upstream should only support a firmware that follows these
> rules, with its ids in the DT.
>
> For firmware still in development, I agree with what Cristian wrote on
> the RFC[1]: "fix your firmwares AND/OR apply quirks in the meantime".
> [1] https://lore.kernel.org/r/aekXUvIPb8nkhdKu@pluto
Oh right, that response also included the mythical selling point for
SCMI:
"SCMI server is supposed to be that one entity remapping the IDs in
the background if the same IDs happen to be representing different
physical resources across a number of distinct platforms"
I understand that can work on servers with N CPU cores, N network
interfaces, and N storage controllers, where you run multiple
virtual instances using the same DTB describing e.g. a single CPU core,
network interface, and storage controller.
But not on an embedded platform with complex I/O...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the linux-arm-kernel
mailing list