[PATCH] powerpc/64s/radix: Fix exit lazy tlb mm switch with irqs enabled

Michael Ellerman patch-notifications at ellerman.id.au
Mon Jul 3 14:02:49 AEST 2023


On Wed, 07 Jun 2023 10:56:00 +1000, Nicholas Piggin wrote:
> Switching mm and tinkering with current->active_mm should be done with
> irqs disabled. There is a path where exit_lazy_flush_tlb can be called
> with irqs enabled:
> 
>     exit_lazy_flush_tlb
>     flush_type_needed
>     __flush_all_mm
>     tlb_finish_mmu
>     exit_mmap
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/64s/radix: Fix exit lazy tlb mm switch with irqs enabled
      https://git.kernel.org/powerpc/c/dfaed3e1fa7099de8de4e89cbe7eb9c1bca27dfe

cheers


More information about the Linuxppc-dev mailing list