cpufreq: amd-pstate: Introduce the support for the processors with shared memory...
authorHuang Rui <ray.huang@amd.com>
Fri, 24 Dec 2021 01:05:02 +0000 (09:05 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 30 Dec 2021 17:51:39 +0000 (18:51 +0100)
commite059c184da47e92c6236f26b0fdaf9e92f0d55b5
treea3ff044f8f707b82ee693ffb4d6c046b572e8dea
parent1d215f0319c20662b701692a2fafc7b3b8a58ae1
cpufreq: amd-pstate: Introduce the support for the processors with shared memory solution

In some of Zen2 and Zen3 based processors, they are using the shared
memory that exposed from ACPI SBIOS. In this kind of the processors,
there is no MSR support, so we add acpi cppc function as the backend for
them.

It is using a module param (shared_mem) to enable related processors
manually. We will enable this by default once we address performance
issue on this solution.

Signed-off-by: Jinzhou Su <Jinzhou.Su@amd.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/amd-pstate.c