x86/cpufeatures: Add AMD Collaborative Processor Performance Control feature flag
authorHuang Rui <ray.huang@amd.com>
Fri, 24 Dec 2021 01:04:55 +0000 (09:04 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 30 Dec 2021 15:58:03 +0000 (16:58 +0100)
commitd341db8f48ea43314f489921962c7f8f4ec27239
tree87914ca6c124211aef09f29f906f808a4d86ba55
parent5ee22fa4a9b826e91007083876e9539a57c174fa
x86/cpufeatures: Add AMD Collaborative Processor Performance Control feature flag

Add Collaborative Processor Performance Control feature flag for AMD
processors.

This feature flag will be used on the following AMD P-State driver. The
AMD P-State driver has two approaches to implement the frequency control
behavior. That depends on the CPU hardware implementation. One is "Full
MSR Support" and another is "Shared Memory Support". The feature flag
indicates the current processors with "Full MSR Support".

Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/include/asm/cpufeatures.h