Loading
irqchip/loongson-eiointc: Remove explicit interrupt affinity restore on resume
mainline inclusion from mainline-v6.9-rc1 commit 83c0708719f77018cd3b98b0011c9526a3e0e2ca category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9BTOX CVE: NA -------------------------------- During suspend all CPUs except CPU0 are hot-unpluged and all active interrupts are migrated to CPU0. On resume eiointc_router_init() affines all interrupts to CPU0, so the subsequent explicit interrupt affinity restore is redundant. Remove it. [ tglx: Rewrote changelog ] Signed-off-by:Bibo Mao <maobibo@loongson.cn> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20240130082722.2912576-4-maobibo@loongson.cn -------------------------------- During suspend and resume, CPUs except CPU0 can be hot-unpluged and IRQs will be migrated to CPU0. So it is not necessary to restore irq affinity for eiointc irq controller when system resumes. This patch removes this piece of code about irq affinity restoring in function eiointc_resume().