diff options
author | Babu Moger <babu.moger@amd.com> | 2023-10-16 19:23:07 -0500 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-10-17 14:05:24 +0200 |
commit | 918f211b5e4e709e91acf856967a850569c96b71 (patch) | |
tree | 01f1d2378c8e5b86fe4153bbcc7b782cb45faaf3 /lib | |
parent | ca8dad225e237493f19b1c5d4a8531f13a9b078f (diff) | |
download | linux-918f211b5e4e709e91acf856967a850569c96b71.tar.gz linux-918f211b5e4e709e91acf856967a850569c96b71.tar.bz2 linux-918f211b5e4e709e91acf856967a850569c96b71.zip |
x86/resctrl: Add support for the files of MON groups only
Files unique to monitoring groups have the RFTYPE_MON flag. When a new
monitoring group is created the resctrl files with flags RFTYPE_BASE
(files common to all resource groups) and RFTYPE_MON (files unique to
monitoring groups) are created to support interacting with the new
monitoring group.
A resource group can support both monitoring and control, also termed
a CTRL_MON resource group. CTRL_MON groups should get both monitoring
and control resctrl files but that is not the case. Only the
RFTYPE_BASE and RFTYPE_CTRL files are created for CTRL_MON groups.
Ensure that files with the RFTYPE_MON flag are created for CTRL_MON groups.
Signed-off-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Peter Newman <peternewman@google.com>
Reviewed-by: Tan Shaopeng <tan.shaopeng@jp.fujitsu.com>
Reviewed-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Tested-by: Peter Newman <peternewman@google.com>
Tested-by: Tan Shaopeng <tan.shaopeng@jp.fujitsu.com>
Link: https://lore.kernel.org/r/20231017002308.134480-9-babu.moger@amd.com
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions