Loading
irqchip/gic-v4: Make sure a VPE is locked when VMAPP is issued
mainline inclusion from mainline-v6.11-rc1 commit a84a07fa3100d7ad46a3d6882af25a3df9c9e7e3 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=a84a07fa3100d7ad46a3d6882af25a3df9c9e7e3 -------------------------------------------------------------------------- In order to make sure that vpe->col_idx is correctly sampled when a VMAPP command is issued, the vpe_lock must be held for the VPE. This is now possible since the introduction of the per-VM vmapp_lock, which can be taken before vpe_lock in the correct locking order. 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-4-maz@kernel.org Signed-off-by:
caijian <caijian11@h-partners.com>