[PATCH 3/4] arm: Add the cpufreq device model

2020-02-12 Thread 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 data are set to the s

[PATCH 3/4] arm: Add the cpufreq device model

2020-02-12 Thread fangying1
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