[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJvTdK=g191mjf3uhXTemZCfoc2iQWSE0n8QtFewvMmCbEojgg@mail.gmail.com>
Date: Mon, 1 Dec 2025 14:53:28 -0500
From: Len Brown <lenb@...nel.org>
To: David Arcari <darcari@...hat.com>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] tools/power turbostat: allow turbostat to work when
aperf is not available
> ...add_msr_perf_counter() returns -1
good. and then add_msr_counter() succeeds because...
> rdmsr returns zero for MSR_IA32_APERF and MSR_IA32_MPERF.
Your patch is a good suggestion -- though it checks for APERF only and
not for MPERF.
We already ran CPUID and cleared has_aperf, so I'm thinking we should
be heading this off earlier. Let me send you a test patch later today.
thanks,
Len Brown, Intel Open Source Technology Center
Powered by blists - more mailing lists