lkml.org 
[lkml]   [2014]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf/x86/intel: Use rdmsrl_safe when initializing RAPL PMU.
> The Intel ISR section for RDMSR seems to say: "Specifying a reserved
> or unimplemented
> MSR address in ECX will also cause a general protection exception".
>
> From a guest's perspective, MSR_RAPL_POWER_UNIT is unimplemented; kvm matches
> this behavior.

MSRs are model specific and defined per model number. If you report a model
number you're expected to implement the MSRs defined for that model number.

AFAIK Xen just reports 0 for unknown MSRs (and I'm surprised KVM doesn't too)

I would suggest to fix KVM.

-Andi


\
 
 \ /
  Last update: 2014-03-14 21:21    [W:0.060 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site