[PW_SID:1144080] ACPI: scan: Drop power resource references for deferred devices - #2451
[PW_SID:1144080] ACPI: scan: Drop power resource references for deferred devices#2451linux-riscv-bot wants to merge 1 commit into
Conversation
acpi_bus_get_power_flags() initializes the device power state and takes references to any power resources required by that state. If the device is not ready for enumeration, acpi_bus_attach() parks it and clears power_manageable without dropping those references. When the dependency is later satisfied, power initialization takes the references again. The additional references prevent the resources from being turned off when the device enters D3. Transition the device to D3cold before clearing power_manageable to drop the references acquired during initial power state initialization. This is particularly easy to trigger on RISC-V, where dependencies on interrupt controllers are derived automatically from interrupt resources. Signed-off-by: Peixin Xie <peixin.xie@linux.spacemit.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
|
Patch 1: "ACPI: scan: Drop power resource references for deferred devices" |
PR for series 1144080 applied to workflow__riscv__fixes
Name: ACPI: scan: Drop power resource references for deferred devices
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1144080
Version: 1