]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e207c3c538dd94d86f6df1daf664b5a425e2ed5
treeb786cacad3377a1e488c99f9e34267e98891e6e1
parentf6ca3d9fb3dbb345a373b08bc25f30ea38bef9f8
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