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-prev] [day] [month] [year] [list]
Message-ID: <CAJvTdKmLG8JUiDkEtB8Co8tLoEXi-BWnJnu8jPvQxZ8zZKC=7w@mail.gmail.com>
Date: Tue, 2 Dec 2025 11:20:54 -0500
From: Len Brown <lenb@...nel.org>
To: "Ehlert, Emily" <ehemily@...zon.de>
Cc: "Zhang, Rui" <rui.zhang@...el.com>, 
	"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>, 
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Emily Ehlert <ehemily@...zon.com>
Subject: Re: [PATCH 2/2] tools/power/turbostat: Fix division by zero when TDP
 calculation fails

On Tue, Dec 2, 2025 at 4:09 AM Ehlert, Emily <ehemily@...zon.de> wrote:

> -       if (msr_value == 0)
> +       if (msr_value == 0) {

Thanks!  (and sorry for that careless mistake!)

> Log output of turbostat with this patch applied:
...
> RAPL_PKG_ENERGY MSR(0x611) == ZERO: disabling all RAPL MSRs

Looks good -- thanks!

-Len

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ