Messages in this thread | | | Date | Thu, 3 Jul 2014 04:44:20 +0200 | From | Andi Kleen <> | Subject | Re: [PATCH V2 2/3] perf protect LBR when Intel PT is enabled. |
| |
On Wed, Jul 02, 2014 at 11:14:14AM -0700, kan.liang@intel.com wrote: > From: Kan Liang <kan.liang@intel.com> > > If RTIT_CTL.TraceEn=1, any attempt to read or write the LBR or LER MSRs, including LBR_TOS, will result in a #GP. > Since Intel PT can be enabled/disabled at runtime, LBR MSRs have to be protected by _safe() at runtime. > > Signed-off-by: Kan Liang <kan.liang@intel.com>
Patch looks good to me.
-Andi
| |