mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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 |
||
|---|---|---|
| .. | ||
| ctrlmondata.c | ||
| internal.h | ||
| Kconfig | ||
| Makefile | ||
| monitor_trace.h | ||
| monitor.c | ||
| pseudo_lock.c | ||
| rdtgroup.c | ||