Loading
irqchip/gic-v4: Always configure affinity on VPE activation
mainline inclusion from mainline-v6.11-rc1 commit 7d2c2048a86477461f7bc75d064579ed349472bc category: other bugzilla: https://gitee.com/openeuler/kernel/issues/IAVK49 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7d2c2048a86477461f7bc75d064579ed349472bc -------------------------------------------------------------------- There are currently two paths to set the initial affinity of a VPE: - at activation time on GICv4 without the stupid VMOVP list, and on GICv4.1 - at map time for GICv4 with VMOVP list The latter location may end-up modifying the affinity of VPE that is currently running, making the results unpredictible. Instead, unify the two paths, making sure to set the initial affinity only at activation time. Reported-by:Nianyao Tang <tangnianyao@huawei.com> Signed-off-by:
Marc Zyngier <maz@kernel.org> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> Tested-by:
Nianyao Tang <tangnianyao@huawei.com> Link: https://lore.kernel.org/r/20240705093155.871070-2-maz@kernel.org Signed-off-by:
caijian <caijian11@h-partners.com>