Commit 8639e3b7 authored by Steven Noonan's avatar Steven Noonan Committed by liwei
Browse files

ACPI: CPPC: Implement support for SystemIO registers

mainline inclusion
from mainline-v5.17-rc1
commit a2c8f92b
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9QRD6
CVE: CVE-2024-35995

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a2c8f92bea5f8f1a87fc3caf063d67876dbf5d47



--------------------------------

According to the ACPI v6.2 (and later) specification, SystemIO can be
used for _CPC registers. This teaches cppc_acpi how to handle such
registers.

This patch was tested using the amd_pstate driver on my Zephyrus G15
(model GA503QS) using the current version 410 BIOS, which uses
a SystemIO register for the HighestPerformance element in _CPC.

Signed-off-by: default avatarSteven Noonan <steven@valvesoftware.com>
Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarliwei <liwei728@huawei.com>
parent 80ab23a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment