Skip to contentSkip to conversation

ACPI: PM: Avoid initializing power management for absent devices

STABLE REQUEST Gyokhan Kochmarla 1 participant 1 message Nov 27

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

Please consider this mainline commit (v7.4-rc4) for the stable trees:

b91ad39f29ce ("ACPI: PM: Avoid initializing power management for absent devices")

Fixes 2f4ddf2bd1ba ("ACPI: scan: Stop calling acpi_bus_init_power() early")

All of the following trees have 2f4ddf2bd1ba but not the fix:
7.3.y 6.18.y 6.12.y 6.6.y 6.1.y. Without the fix, an absent device with power resources can keep shared power resources referenced, so other devices that share them never get powered down. The commit has no Cc: stable, so it has not been picked up.

It cherry-picks cleanly onto v7.3.6, v6.18.65, v6.12.119, v6.6.163 and v6.1.193. 5.15.y and 5.10.y do not have 2f4ddf2bd1ba and do not need it.

We carry it on 6.18.65 in the Amazon Linux kernel, and drivers/acpi/device_pm.o and glue.o build cleanly there. The other trees are only checked for a clean cherry-pick, not build-tested.

Thanks,
Gyokhan