[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250730032312.167062-1-yubowen8@huawei.com>
Date: Wed, 30 Jul 2025 11:23:10 +0800
From: Bowen Yu <yubowen8@...wei.com>
To: <rafael@...nel.org>, <viresh.kumar@...aro.org>
CC: <linux-pm@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linuxarm@...wei.com>, <jonathan.cameron@...wei.com>,
<zhanjie9@...ilicon.com>, <lihuisong@...wei.com>, <zhenglifeng1@...wei.com>,
<yubowen8@...wei.com>
Subject: [PATCH 0/2] cpufreq: CPPC: Changing error message in CPPC FIE
Currently, when booting a subset of cpus in policy->related_cpus, and
entering the CPPC FIE initialization process during CPU initialization,
there are repeated warnings: "read perf counters failed".
This occurs because reading performance feedback counters from offline
or low-power idle CPUs may return 0, which is interpreted as an error
and results in returning -EFAULT each time this happens.
Remove warning when reading from offline cpus, and changes the print
level to debug in case the cpu is in low-power idle state.
Jie Zhan (2):
cpufreq: CPPC: Don't warn on failing to read perf counters on offline
cpus
cpufreq: CPPC: Fix error handling in cppc_scale_freq_workfn()
drivers/cpufreq/cppc_cpufreq.c | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
--
2.33.0
Powered by blists - more mailing lists