[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YST9+5K5Kv9J9ojY@google.com>
Date: Tue, 24 Aug 2021 14:11:07 +0000
From: Sean Christopherson <seanjc@...gle.com>
To: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Paolo Bonzini <pbonzini@...hat.com>,
Mark Rutland <mark.rutland@....com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org, Artem Kashkanov <artem.kashkanov@...el.com>
Subject: Re: [PATCH 2/3] KVM: x86: Register Processor Trace interrupt hook
iff PT enabled in guest
On Tue, Aug 24, 2021, Alexander Shishkin wrote:
> Sean Christopherson <seanjc@...gle.com> writes:
>
> > diff --git a/arch/x86/kvm/pmu.h b/arch/x86/kvm/pmu.h
> > index 0e4f2b1fa9fb..b06dbbd7eeeb 100644
> > --- a/arch/x86/kvm/pmu.h
> > +++ b/arch/x86/kvm/pmu.h
> > @@ -41,6 +41,7 @@ struct kvm_pmu_ops {
> > void (*reset)(struct kvm_vcpu *vcpu);
> > void (*deliver_pmi)(struct kvm_vcpu *vcpu);
> > void (*cleanup)(struct kvm_vcpu *vcpu);
> > + void (*handle_intel_pt_intr)(void);
>
> What's this one for?
Doh, the remnants of one of my explorations trying to figure out the least gross
way to conditionally register the handling. I'll get it removed.
Good eyeballs, thanks!
Powered by blists - more mailing lists