Skip to content

[PW_SID:1089093] irqchip/riscv-imsic: sync-up state before CPU offline#1863

Closed
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1089093
Closed

[PW_SID:1089093] irqchip/riscv-imsic: sync-up state before CPU offline#1863
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1089093

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1089093 applied to workflow__riscv__fixes

Name: irqchip/riscv-imsic: sync-up state before CPU offline
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1089093
Version: 1

The "move_prev" pointer in struct imsic_vector on the new CPU is
cleared only after the old CPU has cleared "move_next". But when
migrating all the interrupts out from an offling CPU, since the CPU
is already marked as "offlined", the IMSIC driver skip to sync-up the
interrupt vector in __imsic_remote_sync(). The "move_pre" pointer of
these interrupts can only be cleared after the old CPU backs to online.
Therefore the affinity of an interrupt that are orignally target an
offlined CPU can't be changed.

This patch force to clear the "move_pre" pointers before the CPU goes
offline.

Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-imsic: sync-up state before CPU offline"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 140.49 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-imsic: sync-up state before CPU offline"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1137.32 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-imsic: sync-up state before CPU offline"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1700.86 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-imsic: sync-up state before CPU offline"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.98 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-imsic: sync-up state before CPU offline"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.31 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-imsic: sync-up state before CPU offline"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.79 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-imsic: sync-up state before CPU offline"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 87.22 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-imsic: sync-up state before CPU offline"
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: "irqchip/riscv-imsic: sync-up state before CPU offline"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-imsic: sync-up state before CPU offline"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-imsic: sync-up state before CPU offline"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "irqchip/riscv-imsic: sync-up state before CPU offline"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1089093 branch May 8, 2026 10:26
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.

2 participants