mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
The previous function just check the pstate target value in PERF_CTL msr by indexing px data control value which comes from ACPI table, this would bring a bug in the case that guest is running intel_pstate_driver: the turbo pstate target value from intel_pstate driver is in a range instead of fixed value in ACPI _PSS table, thus the turbo px request would be rejected. This patch fixed this issue. Tracked-On: #3158 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>