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

From: Rafael J. Wysocki
Date: Mon Mar 11 2024 - 12:00:04 EST


Hi Linus,

Please pull from the tag

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

with top-most commit 817d2371e4d53be202bb6d7df9a9b9c0c342ab21

Merge branches 'acpi-x86', 'acpi-video', 'acpi-apei' and 'acpi-misc'

on top of commit 90d35da658da8cff0d4ecbb5113f5fac9d00eb72

Linux 6.8-rc7

to receive ACPI updates for 6.9-rc1.

These modify the ACPI device events and processor enumeration code to take
the "enabled" _STA bit into account as mandated by the ACPI specification,
convert several platform drivers to using a remove callback that returns
void, add some new quirks for ACPI IRQ override and other things, address
assorted issues and clean up code.

Specifics:

- Rearrange Device Check and Bus Check notification handling in the
ACPI device hotplug code to make it get the "enabled" _STA bit into
account (Rafael Wysocki).

- Modify acpi_processor_add() to skip processors with the "enabled"
_STA bit clear, as per the specification (Rafael Wysocki).

- Stop failing Device Check notification handling without a valid
reason (Rafael Wysocki).

- Defer enumeration of devices that depend on a device with an ACPI
device ID equalt to INTC10CF to address probe ordering issues on
some platforms (Wentong Wu).

- Constify acpi_bus_type (Ricardo Marliere).

- Make the ACPI-specific suspend-to-idle code take the Low-Power S0
Idle MSFT UUID into account on non-AMD systems (Rafael Wysocki).

- Add ACPI IRQ override quirks for some new platforms (Sergey
Kalinichev, Maxim Kudinov, Alexey Froloff, Sviatoslav Harasymchuk,
Nicolas Haye).

- Make the NFIT parsing code use acpi_evaluate_dsm_typed() (Andy
Shevchenko).

- Fix a memory leak in acpi_processor_power_exit() (Armin Wolf).

- Make it possible to quirk the CSI-2 and MIPI DisCo for Imaging
properties parsing and add a quirk for Dell XPS 9315 (Sakari Ailus).

- Prevent false-positive static checker warnings from triggering by
intializing some variables in the ACPI thermal code to zero (Colin
Ian King).

- Add DELL0501 handling to acpi_quirk_skip_serdev_enumeration() and
make that function generic (Hans de Goede).

- Make the ACPI backlight code handle fetching EDID that is longer than
256 bytes (Mario Limonciello).

- Skip initialization of GHES_ASSIST structures for Machine Check
Architecture in APEI (Avadhut Naik).

- Convert several plaform drivers in the ACPI subsystem to using a
remove callback that returns void (Uwe Kleine-König).

- Drop the long-deprecated custom_method debugfs interface that is
problematic from the security standpoint (Rafael Wysocki).

- Use %pe in a couple of places in the ACPI code for easier error
decoding (Onkarnath).

- Fix register width information handling during system memory
accesses in the ACPI CPPC library (Jarred White).

- Add AMD CPPC V2 support for family 17h processors to the ACPI CPPC
library (Perry Yuan).

Thanks!


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

Alexey I. Froloff (1):
ACPI: resource: Do IRQ override on Lunnen Ground laptops

Andy Shevchenko (1):
ACPI: NFIT: Switch to use acpi_evaluate_dsm_typed()

Armin Wolf (1):
ACPI: processor_idle: Fix memory leak in acpi_processor_power_exit()

Avadhut Naik (1):
ACPI: APEI: Skip initialization of GHES_ASSIST structures for
Machine Check Architecture

Colin Ian King (1):
ACPI: thermal_lib: Initialize temp_decik to zero

Hans de Goede (2):
ACPI: x86: Move acpi_quirk_skip_serdev_enumeration() out of
CONFIG_X86_ANDROID_TABLETS
ACPI: x86: Add DELL0501 handling to acpi_quirk_skip_serdev_enumeration()

Jarred White (1):
ACPI: CPPC: Use access_width over bit_width for system memory accesses

Mario Limonciello (1):
ACPI: video: Handle fetching EDID that is longer than 256 bytes

Maxim Kudinov (1):
ACPI: resource: Add MAIBENBEN X577 to irq1_edge_low_force_override

Nicolas Haye (1):
ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CVA

Onkarnath (1):
ACPI: use %pe for better readability of errors while printing

Perry Yuan (1):
ACPI: CPPC: enable AMD CPPC V2 support for family 17h processors

Rafael J. Wysocki (7):
ACPI: PM: s2idle: Enable Low-Power S0 Idle MSFT UUID for non-AMD systems
ACPI: Drop the custom_method debugfs interface
ACPI: scan: Fix device check notification handling
ACPI: scan: Relocate acpi_bus_trim_one()
ACPI: scan: Make acpi_processor_add() check the device enabled bit
ACPI: scan: Rework Device Check and Bus Check notification handling
ACPI: scan: Consolidate Device Check and Bus Check notification handling

Ricardo B. Marliere (1):
ACPI: bus: make acpi_bus_type const

Sakari Ailus (3):
ACPI: utils: Make acpi_handle_path() not static
ACPI: property: Ignore bad graph port nodes on Dell XPS 9315
ACPI: property: Polish ignoring bad data nodes

Sergey Kalinichev (1):
ACPI: resource: Use IRQ override on Maibenben X565

Sviatoslav Harasymchuk (1):
ACPI: resource: Add IRQ override quirk for ASUS ExpertBook B2502FBA

Uwe Kleine-König (8):
ACPI: APEI: GHES: Convert to platform remove callback returning void
ACPI: TAD: Convert to platform remove callback returning void
ACPI: AGDI: Convert to platform remove callback returning void
ACPI: DPTF: Convert to platform remove callback returning void
ACPI: GED: Convert to platform remove callback returning void
ACPI: fan: Convert to platform remove callback returning void
ACPI: pfr_telemetry: Convert to platform remove callback returning void
ACPI: pfr_update: Convert to platform remove callback returning void

Wentong Wu (1):
ACPI: scan: Defer enumeration of devices with a _DEP pointing to
IVSC device

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

Documentation/firmware-guide/acpi/index.rst | 1 -
.../firmware-guide/acpi/method-customizing.rst | 89 -----------
arch/x86/kernel/acpi/cppc.c | 2 +-
drivers/acpi/Kconfig | 14 --
drivers/acpi/Makefile | 1 -
drivers/acpi/acpi_processor.c | 5 +-
drivers/acpi/acpi_tad.c | 5 +-
drivers/acpi/acpi_video.c | 28 ++--
drivers/acpi/acpi_watchdog.c | 2 +-
drivers/acpi/apei/ghes.c | 17 +-
drivers/acpi/apei/hest.c | 51 ++++++
drivers/acpi/arm64/agdi.c | 8 +-
drivers/acpi/bus.c | 2 +-
drivers/acpi/cppc_acpi.c | 31 +++-
drivers/acpi/custom_method.c | 103 ------------
drivers/acpi/dptf/dptf_pch_fivr.c | 6 +-
drivers/acpi/dptf/dptf_power.c | 6 +-
drivers/acpi/evged.c | 5 +-
drivers/acpi/fan_core.c | 6 +-
drivers/acpi/internal.h | 2 +
drivers/acpi/mipi-disco-img.c | 71 +++++++++
drivers/acpi/nfit/core.c | 5 +-
drivers/acpi/pci_slot.c | 2 +-
drivers/acpi/pfr_telemetry.c | 6 +-
drivers/acpi/pfr_update.c | 6 +-
drivers/acpi/processor_idle.c | 2 +
drivers/acpi/property.c | 3 +
drivers/acpi/resource.c | 42 +++++
drivers/acpi/scan.c | 172 +++++++++++----------
drivers/acpi/thermal_lib.c | 8 +-
drivers/acpi/utils.c | 2 +-
drivers/acpi/x86/s2idle.c | 37 +++--
drivers/acpi/x86/utils.c | 38 ++++-
include/acpi/acpi_bus.h | 16 +-
include/linux/acpi.h | 1 +
35 files changed, 414 insertions(+), 381 deletions(-)