diff options
author | Dirk Brandewie <dirk.brandewie@gmail.com> | 2013-03-05 14:15:26 -0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-03-06 23:40:11 +0100 |
commit | d3929b832833db870af72479666fa4e4d043e02e (patch) | |
tree | 69f897201f80becc05d9a13b3a53a198b96b3ec4 /include/linux/perf_event.h | |
parent | 907cc908108b16ae87b7165be992511c968159f0 (diff) |
cpufreq / intel_pstate: Do not load on VM that does not report max P state.
It seems some VMs support the P state MSRs but return zeros. Fail
gracefully if we are running in this environment.
References: https://bugzilla.redhat.com/show_bug.cgi?id=916833
Reported-by: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/perf_event.h')
0 files changed, 0 insertions, 0 deletions