Commit 918f211
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.com1 parent ca8dad2 commit 918f211
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2551 | 2551 | | |
2552 | 2552 | | |
2553 | 2553 | | |
| 2554 | + | |
2554 | 2555 | | |
2555 | 2556 | | |
2556 | 2557 | | |
| |||
2581 | 2582 | | |
2582 | 2583 | | |
2583 | 2584 | | |
2584 | | - | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
2585 | 2589 | | |
2586 | 2590 | | |
2587 | 2591 | | |
| |||
3271 | 3275 | | |
3272 | 3276 | | |
3273 | 3277 | | |
| 3278 | + | |
3274 | 3279 | | |
3275 | | - | |
3276 | 3280 | | |
3277 | 3281 | | |
3278 | 3282 | | |
| |||
3324 | 3328 | | |
3325 | 3329 | | |
3326 | 3330 | | |
3327 | | - | |
| 3331 | + | |
3328 | 3332 | | |
3329 | | - | |
| 3333 | + | |
| 3334 | + | |
| 3335 | + | |
3330 | 3336 | | |
| 3337 | + | |
3331 | 3338 | | |
3332 | 3339 | | |
3333 | 3340 | | |
| |||
0 commit comments