x86, cpu: Add AMD core boosting feature flag to /proc/cpuinfo
authorBorislav Petkov <borislav.petkov@amd.com>
Wed, 31 Mar 2010 19:56:41 +0000 (21:56 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 9 Apr 2010 21:05:23 +0000 (14:05 -0700)
commit5958f1d5d722df7a9e5d129676614a8e5219bacd
tree968c1fcc99d4653a313a9c5e5690aa2e0792895c
parent2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6
x86, cpu: Add AMD core boosting feature flag to /proc/cpuinfo

By semi-popular demand, this adds the Core Performance Boost feature
flag to /proc/cpuinfo. Possible use case for this is userspace tools
like cpufreq-aperf, for example, so that they don't have to jump through
hoops of accessing "/dev/cpu/%d/cpuid" in order to check for CPB hw
support, or call cpuid from userspace.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <1270065406-1814-2-git-send-email-bp@amd64.org>
Reviewed-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/cpufeature.h
arch/x86/kernel/cpu/addon_cpuid_features.c