[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210929232040.wtvifnkucfzs7hnu@two.firstfloor.org>
Date: Wed, 29 Sep 2021 16:20:40 -0700
From: Andi Kleen <andi@...stfloor.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Song Liu <songliubraving@...com>,
Like Xu <like.xu.linux@...il.com>, bpf <bpf@...r.kernel.org>,
Networking <netdev@...r.kernel.org>,
Kernel Team <Kernel-team@...com>,
Andrii Nakryiko <andrii@...nel.org>,
Alexei Starovoitov <ast@...nel.org>,
"like.xu@...ux.intel.com" <like.xu@...ux.intel.com>,
"Liang, Kan" <kan.liang@...el.com>,
Andi Kleen <andi@...stfloor.org>
Subject: Re: bpf_get_branch_snapshot on qemu-kvm
> > How should we confirm this? Can we run some tests for this? Or do we
> > need hardware experts' input for this?
>
> I'll put it on the list to ask the hardware people when I talk to them
> next. But maybe Kan or Andi know without asking.
On modern CPUs it should be sufficient. In fact the perfmon v4 path that
that was recently deleted did it.
I'm not sure about all old CPUs. There was a corner case on older CPUs
(Haswell and Broadwell) with old Microcode where it was needed when entering virtualization
(but that should be fixed now)
-Andi
Powered by blists - more mailing lists