lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 19 Oct 2022 16:40:44 +0800
From:   'Guanjun' <guanjun@...ux.alibaba.com>
To:     schspa@...il.com, rafael@...nel.org, viresh.kumar@...aro.org
Cc:     linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
        guanjun@...ux.alibaba.com, zelin.deng@...ux.alibaba.com
Subject: [PATCH 0/1] cpufreq: Fix show()/store() issue for hotplugging

From: Zelin Deng <zelin.deng@...ux.alibaba.com>

Hello maintainers,

After I brought one CPU (64) offline, I got failure when I used lscpu:
lscpu: cannot read /sys/devices/system/cpu/cpu64/cpufreq/cpuinfo_max_freq: Device or resource busy

I found in commit d4627a287e251, policy_is_inactive() check was added to
avoid the case in which policy initialization failed. However it didn't
consider the situation in which policy has been created successfully but
is not inactive: CPU is hotplugging offline.

This patch just add an addtional check whether CPU is online or not to
fix the issue.

Zelin Deng (1):
  cpufreq: Fix show()/store() issue for hotplugging offline CPU

 drivers/cpufreq/cpufreq.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

-- 
2.32.0.GIT

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ