powerpc/64s: Remove spurious fault flushing for NMMU
authorNicholas Piggin <npiggin@gmail.com>
Wed, 25 May 2022 02:23:58 +0000 (12:23 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 27 Jul 2022 11:36:04 +0000 (21:36 +1000)
commitfd193f85d3206cc7e7aeea2b6033d105cca38d01
tree2f938802665ab5dbafb87af9d15ad4ae1bdede39
parent2a8a0f420f74425bf5f80760fd14d7a2c3abb87d
powerpc/64s: Remove spurious fault flushing for NMMU

Commit 6d8278c414cb2 ("powerpc/64s/radix: do not flush TLB on spurious
fault") removed the TLB flush for spurious faults, except when a
coprocessor (nest MMU) maps the address space. This is not needed
because the NMMU workaround in the PTE permission upgrade paths
prevents PTEs existing with less restrictive access permissions than
their corresponding TLB entries have.

Remove it and replace with a comment.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220525022358.780745-4-npiggin@gmail.com
arch/powerpc/include/asm/book3s/64/tlbflush.h