[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL715WK9+aXa53DXM3TP2POwAtA2o40wpojfum+SezdxoOsj1A@mail.gmail.com>
Date: Tue, 30 Apr 2024 11:15:29 -0700
From: Mingwei Zhang <mizhang@...gle.com>
To: Dapeng Mi <dapeng1.mi@...ux.intel.com>
Cc: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, Jim Mattson <jmattson@...gle.com>,
Xiong Zhang <xiong.y.zhang@...el.com>, Zhenyu Wang <zhenyuw@...ux.intel.com>,
Like Xu <like.xu.linux@...il.com>, Jinrong Liang <cloudliang@...cent.com>,
Dapeng Mi <dapeng1.mi@...el.com>
Subject: Re: [PATCH 0/2] vPMU code refines
On Mon, Apr 29, 2024 at 5:45 PM Dapeng Mi <dapeng1.mi@...ux.intel.com> wrote:
>
> This small patchset refines the ambiguous naming in kvm_pmu structure
> and use macros instead of magic numbers to manipulate FIXED_CTR_CTRL MSR
> to increase readability.
>
> No logic change is introduced in this patchset.
>
> Dapeng Mi (2):
> KVM: x86/pmu: Change ambiguous _mask suffix to _rsvd in kvm_pmu
So, it looks like the 1st patch is also in the upcoming RFCv2 for
mediated passthrough vPMU. I will remove that from my list then.
Thanks. Regards
-Mingwei
> KVM: x86/pmu: Manipulate FIXED_CTR_CTRL MSR with macros
>
> arch/x86/include/asm/kvm_host.h | 10 ++++-----
> arch/x86/kvm/pmu.c | 26 ++++++++++++------------
> arch/x86/kvm/pmu.h | 8 +++++---
> arch/x86/kvm/svm/pmu.c | 4 ++--
> arch/x86/kvm/vmx/pmu_intel.c | 36 +++++++++++++++++++--------------
> 5 files changed, 46 insertions(+), 38 deletions(-)
>
>
> base-commit: 7b076c6a308ec5bce9fc96e2935443ed228b9148
> --
> 2.40.1
>
Powered by blists - more mailing lists