Skip to contentSkip to conversation

Power management and ACPI support fixes for 7.4-rc4

GIT PULL Merged Rafael J. Wysocki (Intel) 2 participants 2 messages Nov 19 ACPI

lore
Share & tools
lore

Rafael J. Wysocki (Intel)

author maintainer
#0 lore raw

Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-7.4-rc4

with top-most commit d40cb8a12ed25789f39404c5f7968a65e98d89c3

Merge branches 'acpi-cppc-fixes' and 'pm-cpufreq-fixes'

on top of commit aebb7274476403040d582c61478df8f4a7bf9cd3

Linux 7.4-rc3

to receive power management and ACPI support fixes for 7.4-rc1.

These fix two recent regressions related to power management, one in the ACPI CPPC library (affects the CPPC interface in sysfs and the intel_pstate driver), and one in the ACPI device PM core code (affects platforms with shared ACPI power resources assigned to devices reported as "not present" by firmware), another ACPI CPPC library issue and two cpufreq issues, one in the core and one in the CPPC cpufreq driver:

- Avoid initializing power management for absent devices in the core ACPI PM code to unbreak power management on platforms where an ACPI shared power resource is assigned to a device reported by the platform firmware as absent (Rafael Wysocki)

- Drop compliance checks involving nominal performance from the ACPI CPPC library to unbreak the CPPC sysfs interface and the intel_pstate driver on some Intel platforms after a recent change that added those checks (Rafael Wysocki)

- Make the ACPI CPPC library reject EPP registers that are too small to store all of the possible EPP values (Christian Loehle)

- Make cpufreq_driver_target() skip inactive policies to avoid a NULL pointer dereference on a frequency table access attempt (Zhongqiu Han)

- Set the CPPC Enable register in cpu_init() in the CPPC cpufreq driver to enable CPPC on platforms that wait for the OS to enable it (Sumit Gupta)

Thanks!

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

Christian Loehle (1):
ACPI: CPPC: Reject EPP registers narrower than 8 bits

Rafael J. Wysocki (2):
ACPI: CPPC: Drop compliance checks involving nominal performance
ACPI: PM: Avoid initializing power management for absent devices

Sumit Gupta (1):
cpufreq: CPPC: Set CPPC Enable register in cpu_init()

Zhongqiu Han (1):
cpufreq: Skip inactive policies in cpufreq_driver_target()

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

 drivers/acpi/cppc_acpi.c       | 13 +++++++++++--
 drivers/acpi/device_pm.c       | 15 +++++++++++++--
 drivers/acpi/glue.c            |  8 ++------
 drivers/cpufreq/cppc_cpufreq.c | 14 +++++++++++++-
 drivers/cpufreq/cpufreq.c      |  8 ++++++++
 5 files changed, 47 insertions(+), 11 deletions(-)