cpufreq: amd-pstate: Add fast switch function for AMD P-State

Introduce the fast switch function for AMD P-State on the AMD processors
which support the full MSR register control. It's able to decrease the
latency on interrupt context.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Huang Rui 2021-12-24 09:05:01 +08:00 • committed by Rafael J. Wysocki
commit 1d215f0319