Re: [PATCH v15 00/35] Introduce SCMI Telemetry support
From: Cristian Marussi
Date: Tue Nov 17 2026 - 08:10:42 EST
On Tue, Nov 17, 2026 at 12:43:15PM +0000, Sudeep Holla wrote:
> On Mon, Nov 09, 2026 at 09:11:46AM +0000, Cristian Marussi wrote:
> > Hi all,
> >
Hi,
> --
[snip]
> + hardened core iterator parsing of multi-part reply
> >
>
> You can drop the change log for earlier versions(just last 3 should suffice)
> in the future postings and add links to them instead if anyone is really
> interested to go back. Don't worry about older links now, just do that
> in the future.
>
Ok.
> [...]
>
> As mentioned in one of the thread, this is quite big series with not
> much feedback on the UABI part apart for Jonathan. So we need to take
> an approach of merging this in smaller parts initially.
>
Yes I have already split put unused features from V16 both from the
protocol layer and from the driver.
- no GROUPS
- no NOTIFICATION
- no SAMPLE READ (async delayed response)
This way the series is roughly 6500 lines (without docs/ksft/test tool)
...now I was starting going through residual Sashiko bugs of the initial
part of the series (at least), assuming more discussion are needed around
the ABI anyway (still to reply to latest Jonathan mail)
> > Cristian Marussi (34):
> > firmware: arm_scmi: Harden iterators state parsing
>
> The above looks good.
>
> > firmware: arm_scmi: Add new SCMIv4.0 error codes definitions
> > firmware: arm_scmi: Introduce a dedicated SCMI Errors header
>
> As pointed out, better to swap the order of above 2.
>
Ok.
> > firmware: arm_scmi: Allow registration of unknown-size events/reports
> > firmware: arm_scmi: Refactor __scmi_event_handler_get_ops helper
> > firmware: arm_scmi: Introduce protocol instance notifiers
>
> All the above 3 refactor the code, so better to fix the Sashiko reported
> bugs around them before go for such additions/refactoring IMO.
>
I dropeed protocol protocol instance support and notification as
discussed, the new series layout is roughly (with docs/ksft/tool still
to apply split):
c1266f348da4 firmware: arm_scmi: Enable autoloading for System Telemetry driver
8ff6d68673ff firmware: arm_scmi: Add System Telemetry driver
2ab95adf4c0d uapi: Add ARM SCMI Telemetry definitions
8a79c0ca1d11 firmware: arm_scmi: Expose per-instance identifier
ec676846f78c firmware: arm_scmi: Add Telemetry debugfs ABI documentation
6798c6701682 firmware: arm_scmi: Add Telemetry debugfs SHMTI dump support
58cba74addfd firmware: arm_scmi: Add common per-protocol debugfs support
fdfd27649a6e firmware: arm_scmi: Add Telemetry boot-on support
6737d7a797c0 firmware: arm_scmi: Add Telemetry Single/Bulk DEs reads
5507b8b44d15 firmware: arm_scmi: Add Telemetry global configuration support
7aa4c04a61a8 firmware: arm_scmi: Add Telemetry DEs configuration support
e2eec907cddc firmware: arm_scmi: Add Telemetry TDCF parsing for UUID lines
d3c453be30c6 firmware: arm_scmi: Add Telemetry TDCF parsing for BLK_TS lines
328be9a8b32b firmware: arm_scmi: Add Telemetry TDCF areas parsing support
e5d64de593ee firmware: arm_scmi: Add Telemetry SHMTI areas enumeration
d5f25597262d firmware: arm_scmi: Add Telemetry global update intervals enumeration
e23dffd6a103 firmware: arm_scmi: Add Telemetry resources enumeration
dac0f7d33c76 firmware: arm_scmi: Add Telemetry basic attributes enumeration
fa02803cbb1a include: trace: Add Telemetry trace events
4b510f42e44d dt-bindings: firmware: arm,scmi: Add support for telemetry protocol
11f799fe30a4 firmware: arm_scmi: Refactor __scmi_event_handler_get_ops helper
3a2706fedd66 firmware: arm_scmi: Allow registration of unknown-size events/reports
5d196fe1290e firmware: arm_scmi: Introduce a dedicated SCMI Errors header
1877db16c4f5 firmware: arm_scmi: Add new SCMIv4.0 error codes definitions
38e65d778a52 firmware: arm_scmi: Harden iterators state parsing
...BUT especially the removal of GROUPS led to considerable rework so
the above commits does NOT really match the same commit in V15
> > dt-bindings: firmware: arm,scmi: Add support for telemetry protocol
> > include: trace: Add Telemetry trace events
> > firmware: arm_scmi: Add Telemetry basic attributes enumeration
> > firmware: arm_scmi: Add Telemetry resources enumeration
> > firmware: arm_scmi: Add Telemetry groups initialization
> > firmware: arm_scmi: Add Telemetry update intervals enumeration
> > firmware: arm_scmi: Add Telemetry SHMTI areas enumeration
> > firmware: arm_scmi: Add Telemetry TDCF areas parsing support
> > firmware: arm_scmi: Add Telemetry TDCF parsing for BLK_TS lines
> > firmware: arm_scmi: Add Telemetry TDCF parsing for UUID lines
> > firmware: arm_scmi: Add Telemetry configuration operations
> > firmware: arm_scmi: Add Telemetry DataEvent read capabilities
> > firmware: arm_scmi: Add Telemetry reset logic
> > firmware: arm_scmi: Add Telemetry notification support
> > firmware: arm_scmi: Add Telemetry boot-on support
> > firmware: arm-scmi: Add Telemetry generic event support
> > firmware: arm_scmi: Add Telemetry generation counter event
>
> I am thinking of initially merging upto the above commit initially so that
> no user ABI is established. I haven't done the thorough review yet.
Beside a lot of stuff that I removed (like groups all over) there are
outstanding Sashiko issue in the V15/V16 code that I was going to
address now.
Given that, as I understood the agreement was to shed a lot of still
unused features the current V15 and next V16 will be sensibly different.
Thanks,
Cristian