[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170926165137.GR4311@tassilo.jf.intel.com>
Date: Tue, 26 Sep 2017 09:51:37 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Wei Wang <wei.w.wang@...el.com>
Cc: virtualization@...ts.linux-foundation.org, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, pbonzini@...hat.com, mst@...hat.com,
rkrcmar@...hat.com, mingo@...hat.com
Subject: Re: [PATCH v1 0/4] Enable LBR for the guest
> On the other side, it seems that the (guest) kernel driver also works
> without
> the above being supported, should we change it to report error and stop
> using the PMU features when the check of the above two fails (at
> intel_pmu_init())?
You could add the extra check for the LBR code yes, although it already checks
if the LBR MSRs work, so in practice it's likely already covered.
-Andi
Powered by blists - more mailing lists