Skip to content

[PW_SID:1091529] [v2] irqchip/riscv-imsic: sync-up state before CPU offline#1885

Closed
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1091529
Closed

[PW_SID:1091529] [v2] irqchip/riscv-imsic: sync-up state before CPU offline#1885
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1091529

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1091529 applied to workflow__riscv__fixes

Name: [v2] irqchip/riscv-imsic: sync-up state before CPU offline
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1091529
Version: 2

Linux RISC-V bot and others added 2 commits May 2, 2026 08:13
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_prev" pointer of
these interrupts can only be cleared after the old CPU backs to online.
Therefore, the affinity of interrupts originally targeting an offlined
CPU cannot be updated.

Clear the "move_prev" pointers in the CPU hotplug offline path to avoid
stale migration state on offlined CPUs.

Fixes: 0f67911 ("irqchip/riscv-imsic: Separate next and previous pointers in IMSIC vector")

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: "[v2] irqchip/riscv-imsic: sync-up state before CPU offline"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 140.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2] 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: 1139.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2] 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: 1683.16 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

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

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2] 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.07 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

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

@linux-riscv-bot
Copy link
Copy Markdown
Author

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

@linux-riscv-bot
Copy link
Copy Markdown
Author

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

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2] 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: "[v2] irqchip/riscv-imsic: sync-up state before CPU offline"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 1.21 seconds
Result: ERROR
Output:

Commit: b98a1534ce6ca ("irqchip/riscv-imsic: sync-up state before CPU offline")
	Fixes tag: Fixes: 0f67911e821c ("irqchip/riscv-imsic: Separate next and previous pointers in IMSIC vector")
	Has these problem(s):
		- empty lines surround the Fixes tag
Problems with Fixes tag: 1


@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "[v2] 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 force-pushed the workflow__riscv__fixes branch 2 times, most recently from 2d4fcdd to cd9d421 Compare May 14, 2026 08:49
@linux-riscv-bot linux-riscv-bot deleted the pw1091529 branch May 16, 2026 02:12
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