[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210115191113.nktlnmivc3edstiv@two.firstfloor.org>
Date: Fri, 15 Jan 2021 11:11:13 -0800
From: Andi Kleen <andi@...stfloor.org>
To: Sean Christopherson <seanjc@...gle.com>
Cc: Andi Kleen <andi@...stfloor.org>, "Xu, Like" <like.xu@...el.com>,
Kan Liang <kan.liang@...ux.intel.com>,
Peter Zijlstra <peterz@...radead.org>,
Paolo Bonzini <pbonzini@...hat.com>, eranian@...gle.com,
kvm@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, wei.w.wang@...el.com,
luwei.kang@...el.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 00/17] KVM: x86/pmu: Add support to enable Guest PEBS
via DS
On Fri, Jan 15, 2021 at 10:51:38AM -0800, Sean Christopherson wrote:
> On Fri, Jan 15, 2021, Andi Kleen wrote:
> > > I'm asking about ucode/hardare. Is the "guest pebs buffer write -> PEBS PMI"
> > > guaranteed to be atomic?
> >
> > Of course not.
>
> So there's still a window where the guest could observe the bad counter index,
> correct?
Yes.
But with single record PEBS it doesn't really matter with normal perfmon
drivers.
-Andi
Powered by blists - more mailing lists