diff options
author | Fenghua Yu <[email protected]> | 2023-10-10 12:42:38 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2023-10-11 21:51:24 +0200 |
commit | 4dba8f10b8fef9c5b0f9ed83dd1af91a1795ead1 (patch) | |
tree | 8114736a1b7a16a6b051c61fbe9871be2f5f6e6f /tools/perf/scripts/python/sched-migration.py | |
parent | 0e3cd31f6e9074886dea5a999bfcc563d144e7de (diff) |
x86/resctrl: Add sparse_masks file in info
Add the interface in resctrl FS to show if sparse cache allocation
bit masks are supported on the platform. Reading the file returns
either a "1" if non-contiguous 1s are supported and "0" otherwise.
The file path is /sys/fs/resctrl/info/{resource}/sparse_masks, where
{resource} can be either "L2" or "L3".
Signed-off-by: Fenghua Yu <[email protected]>
Signed-off-by: Maciej Wieczor-Retman <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Reviewed-by: Peter Newman <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Reviewed-by: Babu Moger <[email protected]>
Tested-by: Peter Newman <[email protected]>
Link: https://lore.kernel.org/r/7300535160beba41fd8aa073749ec1ee29b4621f.1696934091.git.maciej.wieczor-retman@intel.com
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions