[<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