[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAYoRsVkrHberSgM42dqYjdVwz8vumURJ1_DGeV1R5-=LMdjVA@mail.gmail.com>
Date: Wed, 10 Mar 2021 16:03:31 -0800
From: Doug Smythies <dsmythies@...us.net>
To: Chen Yu <yu.c.chen@...el.com>, bas@...nieuwenhuizen.nl,
erwanaliasr1@...il.com, owen.si@...oud.cn
Cc: youling257 <youling257@...il.com>, lenb@...nel.org,
rjw@...ysocki.net, linux-kernel@...r.kernel.org,
Len Brown <len.brown@...el.com>,
dsmythies <dsmythies@...us.net>
Subject: Re: [3/3,v3] tools/power turbostat: Enable accumulate RAPL display
Hi Yu,
I am just resending your e-mail, adjusting the "To:" list to
include the 3 others that have submitted similar patches.
... Doug
On Mon, Mar 8, 2021 at 8:11 AM Chen Yu <yu.c.chen@...el.com> wrote:
>
> Hi,
> On Mon, Mar 08, 2021 at 07:37:07AM -0800, Doug Smythies wrote:
> > On Mon, Mar 8, 2021 at 5:50 AM youling257 <youling257@...il.com> wrote:
> > >
> > > this cause turbostat not work on amd cpu.
> > >
> > > root@...alhost:~# /turbostat
> > > turbostat version 20.09.30 - Len Brown <lenb@...nel.org>
> > > CPUID(0): AuthenticAMD 0xd CPUID levels; 0x8000001f xlevels; family:model:stepping 0x17:18:1 (23:24:1)
> >
> > There are already two fixes for this in the queue.
> > https://marc.info/?l=linux-pm&m=161382097503925&w=2
> > https://marc.info/?l=linux-pm&m=161141701219263&w=2
> Thanks for reporting and pointing this out. I assume these two patches are both fixing the
> same issue? It looks like these two patches should be merged into one:
> 1. Bingsong's patch access MSR_PKG_ENERGY_STAT only when RAPL_AMD_F17H is set,
> which is consistent with the original context.
> 2. Bas Nieuwenhuizen's patch also fixes the issue in idx_valid()
> in case RAPL_PKG was not set but with RAPL_AMD_F17H set.
>
> thanks,
> Chenyu
Powered by blists - more mailing lists