[GIT PULL][Resend] ACPI fixes for v5.11-rc6

From: Rafael J. Wysocki
Date: Fri Jan 29 2021 - 13:12:19 EST


[Resending, because it hasn't made it to the mailing lists, not sure why.]

Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-5.11-rc6

with top-most commit b584b7e9630acc65a4d01ff5f9090d1a0fb3bbb6

Merge branch 'acpi-sysfs'

on top of commit 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04

Linux 5.11-rc5

to receive ACPI fixes for 5.11-rc6.

These fix the handling of notifications in the ACPI thermal driver
and address a device enumeration issue leading to the presence of
multiple MODALIAS entries in one uevent file in sysfs in some cases.

Specifics:

- Modify the ACPI thermal driver to avoid evaluating _TMP directly
in its Notify () handler callback and running too many thermal
checks for one thermal zone at the same time so as to address a
work item accumulation issue observed on some systems that fail
to shut down as a result of it (Rafael Wysocki).

- Modify the ACPI uevent file creation code to avoid putting
multiple MODALIAS entries in one uevent file in sysfs which
breaks systemd-udevd (Kai-Heng Feng).

Thanks!


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

Kai-Heng Feng (1):
ACPI: sysfs: Prefer "compatible" modalias

Rafael J. Wysocki (1):
ACPI: thermal: Do not call acpi_thermal_check() directly

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

drivers/acpi/device_sysfs.c | 20 ++++++--------------
drivers/acpi/thermal.c | 46 ++++++++++++++++++++++++++++++++-------------
2 files changed, 39 insertions(+), 27 deletions(-)