diff options
| author | Tony Luck <tony.luck@intel.com> | 2025-12-17 09:21:05 -0800 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-01-09 16:37:08 +0100 |
| commit | 8ccb1f8fa6a3dfde32cf33e7ded3558014e6cca2 (patch) | |
| tree | 47e34eb574904e77b8b8a620a545927994cad76d /kernel | |
| parent | 8f6b6ad69b50bf16bb762ffafbfa44a4884f9a17 (diff) | |
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
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
