summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/cpufeature.h
diff options
context:
space:
mode:
authorThomas Renninger2012-01-26 00:09:11 +0100
committerGreg Kroah-Hartman2012-01-27 01:49:06 +0100
commit2f1e097e24defe64a86535b53768f5c8ab0368d1 (patch)
tree5cd1f24fee1bc44f665983c574ddca339b2e18e0 /arch/x86/include/asm/cpufeature.h
parentHWMON: Convert coretemp to x86 cpuid autoprobing (diff)
downloadkernel-qcow2-linux-2f1e097e24defe64a86535b53768f5c8ab0368d1.tar.gz
kernel-qcow2-linux-2f1e097e24defe64a86535b53768f5c8ab0368d1.tar.xz
kernel-qcow2-linux-2f1e097e24defe64a86535b53768f5c8ab0368d1.zip
X86: Introduce HW-Pstate scattered cpuid feature
It is rather similar to CPB (boot capability) feature and exists since fam10h (can be looked up in AMD's BKDG). The feature is needed for powernow-k8 to cleanup init functions and to provide proper autoloading matching with the new x86cpu modalias feature. Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: Dave Jones <davej@redhat.com> Cc: Borislav Petkov <bp@amd64.org> Signed-off-by: Thomas Renninger <trenn@suse.de> Acked-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/x86/include/asm/cpufeature.h')
-rw-r--r--arch/x86/include/asm/cpufeature.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h
index 17c5d4bdee5e..67b0910ebbb8 100644
--- a/arch/x86/include/asm/cpufeature.h
+++ b/arch/x86/include/asm/cpufeature.h
@@ -176,6 +176,7 @@
#define X86_FEATURE_PLN (7*32+ 5) /* Intel Power Limit Notification */
#define X86_FEATURE_PTS (7*32+ 6) /* Intel Package Thermal Status */
#define X86_FEATURE_DTS (7*32+ 7) /* Digital Thermal Sensor */
+#define X86_FEATURE_HW_PSTATE (7*32+ 8) /* AMD HW-PState */
/* Virtualization flags: Linux defined, word 8 */
#define X86_FEATURE_TPR_SHADOW (8*32+ 0) /* Intel TPR Shadow */