[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230515100005.3540793-3-zengheng4@huawei.com>
Date: Mon, 15 May 2023 18:00:05 +0800
From: Zeng Heng <zengheng4@...wei.com>
To: <lenb@...nel.org>, <viresh.kumar@...aro.org>, <rafael@...nel.org>
CC: <weiyongjun1@...wei.com>, <linux-pm@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <xiexiuqi@...wei.com>,
<linux-acpi@...r.kernel.org>, <liwei391@...wei.com>,
<wangxiongfeng2@...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