]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c15b732a32abd2d7117f510811674a9db0b2153
treea3ff044f8f707b82ee693ffb4d6c046b572e8dea
parentf77abdff70e85cca12c1b2a719b038300a173655
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