intel_pstate: Add X86_FEATURE_APERFMPERF to cpu match parameters.
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Mon, 6 Jan 2014 18:59:16 +0000 (10:59 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Jan 2014 21:16:14 +0000 (22:16 +0100)
commit6cbd7ee10e2842a3d1f9b60abede1c8f3d1f1130
tree8103af2788275ac25a60a68c8c9bd424647f012b
parentd6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc
intel_pstate: Add X86_FEATURE_APERFMPERF to cpu match parameters.

KVM environments do not support APERF/MPERF MSRs. intel_pstate cannot
operate without these registers.

The previous validity checks in intel_pstate_msrs_not_valid() are
insufficent in nested KVMs.

References: https://bugzilla.redhat.com/show_bug.cgi?id=1046317
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c