Re: [PATCH v12 06/25] firmware: arm_scmi: Add basic Telemetry support
From: Jonathan Cameron
Date: Tue Sep 29 2026 - 12:14:47 EST
>
> > diff --git a/include/linux/scmi_protocol.h b/include/linux/scmi_protocol.h
> > index 5ab73b1ab9aa..2850b018da0d 100644
> > --- a/include/linux/scmi_protocol.h
> > +++ b/include/linux/scmi_protocol.h
>
> > +
> > +enum scmi_telemetry_compo_type {
>
> I'd add some breadcrumb comments to help people find the sources
> of these. My personal preference for enums of things with spec
> defined values is to also set every value explicitly. Makes
> it a lot easier to check individual values are right.
>
> Note that there are quite a few more entries here than I'm seeing
> in DEN0056F so I'm guessing there is a draft version that isn't public
> yet (and I'm too lazy to see if I can get via other routes :)
Ignore this one. Somehow I didn't notice two columns, though I will say
that is an ugly style in one table!
>
> > + SCMI_TLM_COMPO_TYPE_USPECIFIED,
> > + SCMI_TLM_COMPO_TYPE_CPU,
> > + SCMI_TLM_COMPO_TYPE_CLUSTER,
> > + SCMI_TLM_COMPO_TYPE_GPU,
> > + SCMI_TLM_COMPO_TYPE_NPU,
> > + SCMI_TLM_COMPO_TYPE_INTERCONNECT,
> > + SCMI_TLM_COMPO_TYPE_MEM_CNTRL,
> > + SCMI_TLM_COMPO_TYPE_L1_CACHE,
> > + SCMI_TLM_COMPO_TYPE_L2_CACHE,
> > + SCMI_TLM_COMPO_TYPE_L3_CACHE,
> > + SCMI_TLM_COMPO_TYPE_LL_CACHE,
> > + SCMI_TLM_COMPO_TYPE_SYS_CACHE,
> > + SCMI_TLM_COMPO_TYPE_DISP_CNTRL,
> > + SCMI_TLM_COMPO_TYPE_IPU,
> > + SCMI_TLM_COMPO_TYPE_CHIPLET,
> > + SCMI_TLM_COMPO_TYPE_PACKAGE,
> > + SCMI_TLM_COMPO_TYPE_SOC,
> > + SCMI_TLM_COMPO_TYPE_SYSTEM,
> > + SCMI_TLM_COMPO_TYPE_SMCU,
> > + SCMI_TLM_COMPO_TYPE_ACCEL,
> > + SCMI_TLM_COMPO_TYPE_BATTERY,
> > + SCMI_TLM_COMPO_TYPE_CHARGER,
> > + SCMI_TLM_COMPO_TYPE_PMIC,
> > + SCMI_TLM_COMPO_TYPE_BOARD,
> > + SCMI_TLM_COMPO_TYPE_MEMORY,
> > + SCMI_TLM_COMPO_TYPE_PERIPH,
> > + SCMI_TLM_COMPO_TYPE_PERIPH_SUBC,
> > + SCMI_TLM_COMPO_TYPE_LID,
> > + SCMI_TLM_COMPO_TYPE_DISPLAY,
> > + SCMI_TLM_COMPO_TYPE_RESERVED_START = 0x1d,
> > + SCMI_TLM_COMPO_TYPE_RESERVED_END = 0xdf,
> > + SCMI_TLM_COMPO_TYPE_OEM_START = 0xe0,
> > + SCMI_TLM_COMPO_TYPE_OEM_END = 0xff,
> > +};