Files
linux-stable-mirror/include/linux
Tony Luck 8ccb1f8fa6 x86,fs/resctrl: Add architectural event pointer
The resctrl file system layer passes the domain, RMID, and event id to the
architecture to fetch an event counter.

Fetching a telemetry event counter requires additional information that is
private to the architecture, for example, the offset into MMIO space from
where the counter should be read.

Add mon_evt::arch_priv that architecture can use for any private data related
to the event. The resctrl filesystem initializes mon_evt::arch_priv when the
architecture enables the event and passes it back to architecture when needing
to fetch an event counter.

Suggested-by: Reinette Chatre <reinette.chatre@intel.com>
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://lore.kernel.org/20251217172121.12030-1-tony.luck@intel.com
2026-01-09 16:37:08 +01:00
..
2025-11-18 22:26:02 +05:30
2025-12-12 12:36:44 -07:00
2025-12-04 07:19:26 -07:00
2025-12-09 23:29:42 -08:00
2025-11-21 11:21:31 +01:00
2025-12-13 20:04:32 +12:00
2025-12-16 00:57:29 -05:00
2025-11-23 12:30:40 +01:00
2025-11-20 13:43:59 -08:00
2025-11-27 14:24:30 -08:00
2025-11-18 17:52:54 +01:00
2025-11-28 09:21:18 -07:00
2025-11-27 14:22:31 +01:00
2025-11-20 17:57:40 -08:00
2025-11-25 10:07:42 +01:00
2025-12-24 08:02:55 -05:00
2025-11-24 15:08:54 -08:00