Searched hist:d507f83ced55eda848a3f397cf87b07ab11384b9 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/x86/kernel/cpu/resctrl/ |
H A D | internal.h | diff d507f83ced55eda848a3f397cf87b07ab11384b9 Fri Jan 13 09:20:34 CST 2023 Babu Moger <babu.moger@amd.com> x86/resctrl: Support monitor configuration
Add a new field in struct mon_evt to support Bandwidth Monitoring Event Configuration (BMEC) and also update the "mon_features" display.
The resctrl file "mon_features" will display the supported events and files that can be used to configure those events if monitor configuration is supported.
Before the change:
$ cat /sys/fs/resctrl/info/L3_MON/mon_features llc_occupancy mbm_total_bytes mbm_local_bytes
After the change when BMEC is supported:
$ cat /sys/fs/resctrl/info/L3_MON/mon_features llc_occupancy mbm_total_bytes mbm_total_bytes_config mbm_local_bytes mbm_local_bytes_config
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/r/20230113152039.770054-9-babu.moger@amd.com
|
H A D | monitor.c | diff d507f83ced55eda848a3f397cf87b07ab11384b9 Fri Jan 13 09:20:34 CST 2023 Babu Moger <babu.moger@amd.com> x86/resctrl: Support monitor configuration
Add a new field in struct mon_evt to support Bandwidth Monitoring Event Configuration (BMEC) and also update the "mon_features" display.
The resctrl file "mon_features" will display the supported events and files that can be used to configure those events if monitor configuration is supported.
Before the change:
$ cat /sys/fs/resctrl/info/L3_MON/mon_features llc_occupancy mbm_total_bytes mbm_local_bytes
After the change when BMEC is supported:
$ cat /sys/fs/resctrl/info/L3_MON/mon_features llc_occupancy mbm_total_bytes mbm_total_bytes_config mbm_local_bytes mbm_local_bytes_config
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/r/20230113152039.770054-9-babu.moger@amd.com
|
H A D | rdtgroup.c | diff d507f83ced55eda848a3f397cf87b07ab11384b9 Fri Jan 13 09:20:34 CST 2023 Babu Moger <babu.moger@amd.com> x86/resctrl: Support monitor configuration
Add a new field in struct mon_evt to support Bandwidth Monitoring Event Configuration (BMEC) and also update the "mon_features" display.
The resctrl file "mon_features" will display the supported events and files that can be used to configure those events if monitor configuration is supported.
Before the change:
$ cat /sys/fs/resctrl/info/L3_MON/mon_features llc_occupancy mbm_total_bytes mbm_local_bytes
After the change when BMEC is supported:
$ cat /sys/fs/resctrl/info/L3_MON/mon_features llc_occupancy mbm_total_bytes mbm_total_bytes_config mbm_local_bytes mbm_local_bytes_config
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/r/20230113152039.770054-9-babu.moger@amd.com
|