mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-31 11:25:30 +00:00
This patch is to generates frequency limits for each CPU, as a set of data structure in hypervisor .c code. With the frequency limits data, the hypervisor performance manager does not have to deal with the CPU/board info. It just choose the highest/lowest/guaranteed performance level and performance/nominal p-state, and use them to construct HWP_REQUEST/PERF_CTL reg value. How are frequency limits decided: - For CPUs in standard VMs, frequency limits are just decided by CPU/board info. - For CPUs assigned to RTVMs, we want certainty in latency, so just set its frequency to nominal/guaranteed by letting highest=lowest. - In some cases, CPUs are sharing frequency on hardware level (e.g. ADL e-cores in group of 4). This is described as _PSD in ACPI spec, or 'frequency domain' in Linux cpufreq driver. Thoese CPUs' frequency are linked together. If one of them are running RTVM, all other CPUs in the domain should be set to the same frequency. Tracked-On: #8168 Signed-off-by: Wu Zhou <wu.zhou@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
acpi_gen | ||
acpi_template/template | ||
board_config | ||
board_inspector | ||
configurator | ||
data | ||
hv_config | ||
launch_config | ||
library | ||
scenario_config | ||
schema | ||
service_vm_config | ||
static_allocators | ||
xforms | ||
build.cmd | ||
LICENSE | ||
MANIFEST.in | ||
pyproject.toml | ||
README.md | ||
requirements.txt | ||
setup.cfg |
Supporting libraries of ACRN configuration toolset
This package contains the libraries supporting ACRN configuration toolset, including:
- The manipulators and validators of scenario schemas or XMLs
- The generator of guest ACPI tables
The main objective of this package is to ease the import of the supporting libraries in the ACRN configurator which uses a Python interpreter built in WebAssembly (WASM). This package is thus NOT intended to be used by users; invoke the Python scripts directly if needed.