From: Ying Fang
On ARM64 platform, CPU frequency is retrieved by ACPI CPPC,
so here we create the virtual cpufreq device to present
the CPPC registers and ACPI _CPC objects.
The default frequency is set host CPU nominal frequency, which
is obtained from the host CPPC sysfs. Other performance dat
From: Ying Fang
On ARM64 platform, cpu frequency is retrieved via ACPI CPPC.
A virtual cpufreq device based on ACPI CPPC is created to
present cpu frequency info to the guest.
The default frequency is set to host cpu nominal frequency,
which is obtained from the host CPPC sysfs. Other performanc
From: Ying Fang
The Continuous Performance Control Package is used to
describe the ACPI CPPC registers.
Signed-off-by: Heyi Guo
Signed-off-by: Ying Fang
---
hw/arm/virt-acpi-build.c| 74 -
hw/arm/virt.c | 1 +
include/hw/acpi/acpi-defs.h
From: Ying Fang
The generic register descriptor describes the localtion of a
fixed width register within any of the ACPI-defined address space.
This is needed to declare the ACPI CPPC registers.
Signed-off-by: Heyi Guo
Signed-off-by: Ying Fang
---
hw/acpi/aml-build.c | 22 +++
From: Ying Fang
Signed-off-by: Heyi Guo
Signed-off-by: Ying Fang
---
default-configs/aarch64-softmmu.mak | 1 +
hw/acpi/Kconfig | 4
hw/arm/virt.c | 13 +
3 files changed, 18 insertions(+)
diff --git a/default-configs/aarch64-softmm