powerpc/64s/radix: Allow mm_cpumask trimming from external sources
authorNicholas Piggin <npiggin@gmail.com>
Thu, 17 Dec 2020 13:47:28 +0000 (23:47 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 8 Feb 2021 14:09:44 +0000 (01:09 +1100)
commit780de40601aabeca41bc9aa717a329a77aa85e1a
treef507cbc288fd168cd062c5c433de14d95a1cc0cf
parent54bb503345b81399575e2b7a3a6497ae212ad827
powerpc/64s/radix: Allow mm_cpumask trimming from external sources

mm_cpumask trimming is currently restricted to be issued by the current
thread of a single-threaded mm. This patch relaxes that and allows the
mask to be trimmed from any context.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201217134731.488135-5-npiggin@gmail.com
arch/powerpc/mm/book3s64/radix_tlb.c