[GIT PULL] ACPI updates for v6.5-rc1

From: Rafael J. Wysocki
Date: Mon Jun 26 2023 - 13:20:41 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-6.5-rc1

with top-most commit 01fee479846bb13139d339b11e04bf327200cac9

Merge branches 'acpi-apei', 'acpi-pad' and 'acpi-misc'

on top of commit e660abd551f1172e428b4e4003de887176a8a1fd

Merge tag 'acpi-6.4-rc8' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

to receive ACPI updates for 6.5-rc1.

These rework the handling of notifications in ACPI button drivers (to
enable future simplifications and cleanups), clean up the ACPI thermal
driver, update the ACPI backlight driver, add quirks working around AML
bugs on some systems, fix some assorted issues and clean up code.

Specifics:

- Reduce ACPI device enumeration overhead related to devices with
dependencies (Rafael Wysocki).

- Fix the handling of Microsoft LPS0 _DSM for suspend-to-idle (Mario
Limonciello).

- Fix section mismatch warning in the ACPI suspend-to-idle code (Arnd
Bergmann).

- Drop several ACPI resource management quirks related to IRQ overrides
on AMD "Zen" systems (Mario Limonciello).

- Modify the ACPI EC driver to make it only clear the EC GPE status
when handling the GPE (Jeremy Compostella).

- Add quirks to work around ACPI tables defects on Lenovo Yoga Book
yb1-x90f/l and Nextbook Ares 8A (Hans de Goede).

- Add ACPi backlight quirks for Dell Studio 1569, Lenovo ThinkPad X131e
(3371 AMD version) and Apple iMac11,3 and stop trying to use vendor
backlight control on relatively recent systems (Hans de Goede).

- Add pwm_lookup_table entry for second PWM on CHT/BSW devices in the
ACPI LPSS (Intel SoC) driver (Hans de Goede).

- Add nfit_intel_shutdown_status() declaration to a local header to
avoid a "missing prototypes" build warning (Arnd Bergmann).

- Clean up the ACPI thermal driver and drop some dead or otherwise
unneeded code from it (Rafael Wysocki).

- Rework the handling of notifications in the ACPI button drivers so
as to allow the common notification handling code for devices to be
simplified (Rafael Wysocki).

- Make ghes_get_devices() return NULL to indicate that there are no
GHES devices so as to allow vendor-specific EDAC drivers to probe
then (Li Yang).

- Mark bert_disable() as __initdata and drop an unused function from
the APEI GHES code (Miaohe Lin).

- Make the ACPI PAD (Processor Aggregator Device) driver realize that
Zhaoxin CPUs support nonstop TSC (Tony W Wang-oc).

- Drop the certainly unnecessary and likely incorrect inclusion of
linux/arm-smccc.h from acpi_ffh.c (Sudeep Holla).

Thanks!


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

Arnd Bergmann (2):
ACPI: NFIT: Add declaration in a local header
ACPI: PM: s2idle: fix section mismatch warning

Compostella, Jeremy (1):
ACPI: EC: Clear GPE on interrupt handling only

Hans de Goede (8):
ACPI: x86: Add skip i2c clients quirk for Nextbook Ares 8A
ACPI: button: Add lid disable DMI quirk for Nextbook Ares 8A
ACPI: x86: Add ACPI_QUIRK_UART1_SKIP for Lenovo Yoga Book yb1-x90f/l
ACPI: video: Add backlight=native DMI quirk for Apple iMac11,3
ACPI: video: Add backlight=native DMI quirk for Lenovo ThinkPad
X131e (3371 AMD version)
ACPI: LPSS: Add pwm_lookup_table entry for second PWM on CHT/BSW devices
ACPI: video: Stop trying to use vendor backlight control on
laptops from after ~2012
ACPI: video: Add backlight=native DMI quirk for Dell Studio 1569

Li Yang (1):
APEI: GHES: correctly return NULL for ghes_get_devices()

Mario Limonciello (2):
ACPI: resource: Remove "Zen" specific match and quirks
ACPI: x86: s2idle: Adjust Microsoft LPS0 _DSM handling sequence

Miaohe Lin (2):
ACPI: APEI: GHES: Remove unused ghes_estatus_pool_size_request()
ACPI: APEI: mark bert_disable as __initdata

Rafael J. Wysocki (12):
ACPI: scan: Reduce overhead related to devices with dependencies
ACPI: thermal: Use BIT() macro for defining flags
ACPI: thermal: Drop redundant ACPI_TRIPS_REFRESH_DEVICES symbol
ACPI: thermal: Move symbol definitions to one place
ACPI: thermal: Move acpi_thermal_driver definition
ACPI: thermal: Eliminate struct acpi_thermal_state_flags
ACPI: button: Eliminate the driver notify callback
ACPI: button: Use different notify handlers for lid and buttons
ACPI: tiny-power-button: Eliminate the driver notify callback
ACPI: bus: Simplify installation and removal of notify callback
ACPI: thermal: Drop struct acpi_thermal_state
ACPI: thermal: Drop struct acpi_thermal_flags

Sudeep Holla (1):
ACPI: FFH: Drop the inclusion of linux/arm-smccc.h

Tony W Wang-oc (1):
ACPI: PAD: mark Zhaoxin CPUs NONSTOP TSC correctly

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

drivers/acpi/acpi_ffh.c | 2 -
drivers/acpi/acpi_lpss.c | 10 +-
drivers/acpi/acpi_pad.c | 1 +
drivers/acpi/apei/bert.c | 2 +-
drivers/acpi/apei/ghes.c | 4 +-
drivers/acpi/bus.c | 53 ++------
drivers/acpi/button.c | 164 ++++++++++++++++------
drivers/acpi/ec.c | 31 +++--
drivers/acpi/nfit/nfit.h | 2 +
drivers/acpi/resource.c | 60 --------
drivers/acpi/scan.c | 81 ++++++++---
drivers/acpi/sleep.c | 2 +-
drivers/acpi/thermal.c | 287 +++++++++++++++++----------------------
drivers/acpi/tiny-power-button.c | 49 +++++--
drivers/acpi/video_detect.c | 45 ++++++
drivers/acpi/x86/s2idle.c | 14 +-
drivers/acpi/x86/utils.c | 26 +++-
include/acpi/acpi_bus.h | 2 +
18 files changed, 459 insertions(+), 376 deletions(-)