diff options
| author | Tony Luck <tony.luck@intel.com> | 2026-09-30 10:15:54 -0700 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-09-30 22:47:08 -0700 |
| commit | 50e5282df427830fcd810e553f0e355d9cccb3e2 (patch) | |
| tree | 4d68c0f4828022945777390e51385afc63448c31 /include | |
| parent | a17d099481bd11f0911993a8e69992269f92ad12 (diff) | |
| download | linux-next-50e5282df427830fcd810e553f0e355d9cccb3e2.tar.gz linux-next-50e5282df427830fcd810e553f0e355d9cccb3e2.zip | |
x86,fs/resctrl: Add event group descriptions for Intel Diamond Rapids
Intel Diamond Rapids exposes Application Energy Telemetry through two new PMT
aggregator GUIDs: one covering the "energy" feature, and one covering the
"perf" feature, both documented in the Intel-PMT XML repository at
https://github.com/intel/Intel-PMT
The "perf" aggregator references two events not previously enumerated by
resctrl: retired instructions (INST_RETIRED), and a count of unhalted core
clock cycles perceived by hardware as contributing to instruction execution
(PCNT).
Add definitions for both aggregators, and add the two new events to the
resctrl filesystem so they can be exposed to user space.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://patch.msgid.link/20260930171554.12794-1-tony.luck@intel.com
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/resctrl_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/resctrl_types.h b/include/linux/resctrl_types.h index a5f56faa18d2..e2e2cf3d9ff6 100644 --- a/include/linux/resctrl_types.h +++ b/include/linux/resctrl_types.h @@ -60,6 +60,8 @@ enum resctrl_event_id { PMT_EVENT_AUTO_C6_RES, PMT_EVENT_UNHALTED_REF_CYCLES, PMT_EVENT_UOPS_RETIRED, + PMT_EVENT_INST_RETIRED, + PMT_EVENT_PCNT, /* Must be the last */ QOS_NUM_EVENTS, |
