mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 10:04:42 +00:00
value among RDT resources. This patch identifies the least common supported clos value from multiple RDT resource. This is done so as to have consistent capabilities across all resource allocations. From SDM, "The number of CLOS supported for the MBA feature may or may not align with other resources such as L3 CAT. In cases where the RDT features support different numbers of CLOS the lowest numerical CLOS support the common set of features, while higher CLOS may support a subset. For instance, if L3 CAT supports 8 CLOS while MBA supports 4 CLOS, all 8 CLOS would have L3 CAT masks available for cache control, but the upper 4 CLOS would not offer MBA support. In this case the upper 4 CLOS would not be subject to any throttling control. Software can manage supported resources / CLOS in order to either have 1) consistent capabilities across CLOS by using the common subset or 2) enable more flexibility by selectively applying resource control where needed based on careful CLOS and thread mapping". We decided to go with option #1, as it will be more consistent and less prone to user errorw hen programming the resource mask MSRs. Tracked-On: #3715 Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
Please run board_cfg_gen.py to generate board related configuration patch, the patch would be applied on current acrn-hypervisor git tree automatically. usage: python3 board_cfg_gen.py [h] --board <board_info_file> --scenario <scenario_info_file> positional arguments: board_info_file : file name of the board info XML scenario_info_file : file name of the scenario info XML