[GIT PULL] ACPI fixes for v5.16-rc3
From: Rafael J. Wysocki
Date: Fri Nov 26 2021 - 14:40:18 EST
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-5.16-rc3
with top-most commit 2e13e5aeda156f747919c7111723b9302836fb38
Merge branch 'acpi-properties'
on top of commit 136057256686de39cc3a07c2e39ef6bc43003ff6
Linux 5.16-rc2
to receive ACPI fixes for 5.16-rc3.
These fix a NULL pointer dereference in the CPPC library code and
a locking issue related to printing the names of ACPI device nodes
in the device properties framework.
Specifics:
- Fix NULL pointer dereference in the CPPC library code occurring
on hybrid systems without CPPC support (Rafael Wysocki).
- Avoid attempts to acquire a semaphore with interrupts off when
printing the names of ACPI device nodes and clean up code on
top of that fix (Sakari Ailus).
Thanks!
---------------
Rafael J. Wysocki (1):
ACPI: CPPC: Add NULL pointer check to cppc_get_perf()
Sakari Ailus (2):
ACPI: Get acpi_device's parent from the parent field
ACPI: Make acpi_node_get_parent() local
---------------
drivers/acpi/cppc_acpi.c | 9 ++++++++-
drivers/acpi/property.c | 14 +++++---------
include/linux/acpi.h | 7 -------
3 files changed, 13 insertions(+), 17 deletions(-)