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:Steven Noonan <steven@valvesoftware.com> Signed-off-by:
Huang Rui <ray.huang@amd.com> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by:
liwei <liwei728@huawei.com>
Loading
Please sign in to comment