]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9df5f6ce39ce5c2696421533d33de36cd811563b
tree2f938802665ab5dbafb87af9d15ad4ae1bdede39
parentbbafdef13d2904bf58844eab2f9d4ad9f80d8c1a
powerpc/64s: Remove spurious fault flushing for NMMU

Commit 47020566917fa ("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