Skip to content

Conversation

@jackYoung0915
Copy link

downstream: cpufreq: CPPC: Don't warn on failing to read perf counters on offline cpus
Reading perf counters on offline cpus should be expected to fail, e.g. it
returns -EFAULT as counters are shown to be 0. Remove the unnecessary
warning print on this failure path.

Fixes: 1eb5dde ("cpufreq: CPPC: Add support for frequency invariance")
Signed-off-by: Jie Zhan zhanjie9@hisilicon.com
Signed-off-by: Hongye Lin linhongye@h-partners.com
Signed-off-by: chenyi chenyi211@h-partners.com
Signed-off-by: Cao Jiaqiang caojiaqiang@huawei.com

…s on offline cpus

Reading perf counters on offline cpus should be expected to fail, e.g. it
returns -EFAULT as counters are shown to be 0.  Remove the unnecessary
warning print on this failure path.

Fixes: 1eb5dde ("cpufreq: CPPC: Add support for frequency invariance")
Signed-off-by: Jie Zhan <zhanjie9@hisilicon.com>
Signed-off-by: Hongye Lin <linhongye@h-partners.com>
Signed-off-by: chenyi <chenyi211@h-partners.com>
Signed-off-by: Cao Jiaqiang <caojiaqiang@huawei.com>
@jackYoung0915 jackYoung0915 changed the title downstream: cpufreq: CPPC: Don't warn on failing to read perf counters on offline cpus [WIP] downstream: cpufreq: CPPC: Don't warn on failing to read perf counters on offline cpus Aug 23, 2025
@cao-jiaqiang
Copy link

下游补丁检查
image

@cao-jiaqiang
Copy link

cao-jiaqiang commented Aug 23, 2025

aarch64
image

aarch64-64k
image

x86_64
image
image

@cao-jiaqiang
Copy link

perf
image

@jackYoung0915 jackYoung0915 changed the title [WIP] downstream: cpufreq: CPPC: Don't warn on failing to read perf counters on offline cpus downstream: cpufreq: CPPC: Don't warn on failing to read perf counters on offline cpus Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants