powerpc/64s/radix: mm->context.id should always be valid
authorNicholas Piggin <npiggin@gmail.com>
Fri, 3 Feb 2023 11:17:17 +0000 (21:17 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 8 Feb 2023 10:42:12 +0000 (21:42 +1100)
commitd01dc25e47af9d30185ca12bb9e221d6af915d9f
tree56053065e6db99164a103f0222a133c5e6dcf017
parent45abf5d94b9bd0eebca5c7272788e2d16c8b5b43
powerpc/64s/radix: mm->context.id should always be valid

The MMU_NO_CONTEXT checks are an unnecessary complication. Make
these warn to prepare to remove them in future.

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