[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230516133248.712242-3-zengheng4@huawei.com>
Date: Tue, 16 May 2023 21:32:48 +0800
From: Zeng Heng <zengheng4@...wei.com>
To: <lenb@...nel.org>, <viresh.kumar@...aro.org>, <rafael@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <linux-pm@...r.kernel.org>,
<wangxiongfeng2@...wei.com>, <xiexiuqi@...wei.com>,
<liwei391@...wei.com>, <linux-acpi@...r.kernel.org>,
<weiyongjun1@...wei.com>
Subject: [PATCH 0/2] drivers/cpufreq: gain accurate CPU frequency from cpufreq/scaling_cur_freq
When users want to get frequency by scaling_cur_freq under cpufreq sysfs,
they often get the invalid result like:
$ cat /sys/devices/system/cpu/cpu6/cpufreq/scaling_cur_freq
4294967295
So this series provides fixes to the concerned issue.
Zeng Heng (2):
cpufreq: CPPC: keep target core awake when reading its cpufreq rate
acpi: CPPC: read delivered_reg and reference_reg in critical section
drivers/acpi/cppc_acpi.c | 4 ++++
drivers/cpufreq/cppc_cpufreq.c | 30 ++++++++++++++++--------------
2 files changed, 20 insertions(+), 14 deletions(-)
--
2.25.1
Powered by blists - more mailing lists