Skip to content

[PW_SID:1144080] ACPI: scan: Drop power resource references for deferred devices - #2451

Open
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1144080
Open

[PW_SID:1144080] ACPI: scan: Drop power resource references for deferred devices#2451
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1144080

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

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

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>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 117.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1408.41 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1706.71 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 19.93 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 21.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.56 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 78.46 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.22 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
kdoc
Desc: Detects for kdoc errors
Duration: 0.70 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
module-param
Desc: Detect module_param changes
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.21 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "ACPI: scan: Drop power resource references for deferred devices"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.25 seconds
Result: PASS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant