Skip to content

[PW_SID:1128585] [v2] thermal: spacemit: k1: add shutdown action and reorder registration order#2297

Open
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1128585
Open

[PW_SID:1128585] [v2] thermal: spacemit: k1: add shutdown action and reorder registration order#2297
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1128585

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1128585 applied to workflow__riscv__fixes

Name: [v2] thermal: spacemit: k1: add shutdown action and reorder registration order
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1128585
Version: 2

Linux RISC-V bot and others added 2 commits July 15, 2026 17:25
…rder

Add a devm action to clean hardware interrupts, sampling, and control
registers on driver unbind, mirroring what k1_tsensor_init() sets up.

Reorder the registration order within probe(): register the thermal
zones first, then request the IRQ, and register the shutdown action
last.  On removal, the hardware interrupt is disabled first, then the
IRQ is released, and finally the thermal zones are released.  This
avoids the IRQ thread accessing an already unregistered thermal zone
during devres cleanup.

Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 142.02 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1128.82 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1426.13 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.87 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.80 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.80 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 85.10 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
kdoc
Desc: Detects for kdoc errors
Duration: 0.87 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
module-param
Desc: Detect module_param changes
Duration: 5.84 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.47 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v2] thermal: spacemit: k1: add shutdown action and reorder registration order"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.32 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot force-pushed the workflow__riscv__fixes branch from 8ca72ef to 60e0882 Compare July 19, 2026 17:58
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