mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:24:31 +01:00
When "mbm_event" counter assignment mode is enabled, the architecture requires a counter ID to read the event data. Introduce an is_mbm_cntr field in struct rmid_read to indicate whether counter assignment mode is in use. Update the logic to call resctrl_arch_cntr_read() and resctrl_arch_reset_cntr() when the assignment mode is active. Report 'Unassigned' in case the user attempts to read an event without assigning a hardware counter. Suggested-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Link: https://lore.kernel.org/cover.1757108044.git.babu.moger@amd.com |
||
|---|---|---|
| .. | ||
| ctrlmondata.c | ||
| internal.h | ||
| Kconfig | ||
| Makefile | ||
| monitor.c | ||
| monitor_trace.h | ||
| pseudo_lock.c | ||
| rdtgroup.c | ||