]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc: select ARCH_WANT_IRQS_OFF_ACTIVATE_MM
authorNicholas Piggin <npiggin@gmail.com>
Mon, 14 Sep 2020 04:52:17 +0000 (14:52 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Nov 2020 10:08:38 +0000 (11:08 +0100)
commit19da77b9014170356e30ccf5d319af3f50c8af1e
treef7a81c35b7fd2d611ba147c7fed6c104e6f3d8af
parentb664645274e922b3356115be9392a49cf3937ce2
powerpc: select ARCH_WANT_IRQS_OFF_ACTIVATE_MM

[ Upstream commit 66acd46080bd9e5ad2be4b0eb1d498d5145d058e ]

powerpc uses IPIs in some situations to switch a kernel thread away
from a lazy tlb mm, which is subject to the TLB flushing race
described in the changelog introducing ARCH_WANT_IRQS_OFF_ACTIVATE_MM.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200914045219.3736466-3-npiggin@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/Kconfig
arch/powerpc/include/asm/mmu_context.h