[PATCH] irqchip/riscv-imsic: sync-up state before CPU offline

Thomas Gleixner tglx at kernel.org
Tue May 5 12:44:59 PDT 2026


On Sun, May 03 2026 at 23:05, Yong-Xuan Wang wrote:
> 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.

https://www.kernel.org/doc/html/latest/process/maintainer-tip.html#changelog

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

# git grep 'This patch' Documentation/process/

Thanks,

        tglx



More information about the linux-riscv mailing list