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>] [day] [month] [year] [list]
Message-ID: <c8aba22f-c61a-ef98-e3be-2102582dbffe@linuxfoundation.org>
Date:   Mon, 26 Jul 2021 14:04:14 -0600
From:   Shuah Khan <skhan@...uxfoundation.org>
To:     徐福海 <xufuhai1992@...il.com>, shuah@...nel.org,
        Thomas Renninger <trenn@...e.com>
Cc:     xufuhai <xufuhai@...ishou.com>, lishujin@...ishou.com,
        linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
        Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH v3 1/2] cpupower: Fix amd cpu (family < 0x17) active state
 issue

On 7/23/21 12:23 AM, 徐福海 wrote:
> From: xufuhai<xufuhai1992@...il.com>  <mailto:xufuhai@...ishou.com>
> 
> For the old  AMD processor (family < 0x17), cpupower will call the
> amd_pci_get_num_boost_states function, but for the non-root user
> pci_read_byte function (implementation comes from the psutil library),
> val will be set to 0xff, indicating that there is no read function
> callback. At this time, the original logic will set the cpupower turbo
> active state to yes. This is an obvious issue~
> 
> Reproduce procedure:
> 	cpupower frequency-info
> 
> Reported-by:   yangrui<yangrui@...ishou.com>  <mailto:yangrui@...ishou.com>
> Signed-off-by: xufuhai<xufuhai1992@...il.com>  <mailto:xufuhai@...ishou.com>
> Signed-off-by: chenguanqiao<chenguanqiao@...ishou.com>  <mailto:chenguanqiao@...ishou.com>
> Signed-off-by: lishujin<lishujin@...ishou.com>  <mailto:lishujin@...ishou.com>

Please use your full names for the Signed-off-by - similar to the way you
would sign a legal document.

thanks,
-- Shuah

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ