cpufreq / intel_pstate: Add function to check that all MSRs are valid
authorDirk Brandewie <dirk.brandewie@gmail.com>
Fri, 22 Mar 2013 00:29:28 +0000 (01:29 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Mar 2013 14:12:52 +0000 (15:12 +0100)
commitb563b4e3f2dd601e19b46ada31bd176fc0a16efc
treeb786cacad3377a1e488c99f9e34267e98891e6e1
parent8bb9660418e05bb1845ac1a2428444d78e322cc7
cpufreq / intel_pstate: Add function to check that all MSRs are valid

Some VMs seem to try to implement some MSRs but not all the registers
the driver needs.  Check to make sure all the MSR that we need are
available. If any of the required MSRs are not available refuse to
load.

References: https://bugzilla.redhat.com/show_bug.cgi?id=922923
Reported-by: Josh Stone <jistone@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>
drivers/cpufreq/intel_pstate.c