# git rev-parse -q --verify 7611de9cd7806a9c41426d12b98cf8867263a05f^{commit} 7611de9cd7806a9c41426d12b98cf8867263a05f already have revision, skipping fetch # git checkout -q -f -B kisskb 7611de9cd7806a9c41426d12b98cf8867263a05f # git clean -qxdf # < git log -1 # commit 7611de9cd7806a9c41426d12b98cf8867263a05f # Author: Nicholas Piggin # Date: Thu Sep 1 21:03:34 2022 +1000 # # powerpc/64s: add pte_needs_flush and huge_pmd_needs_flush # # Allow PTE changes to avoid flushing the TLB when access permissions are # being relaxed, the dirty bit is being set, and the accessed bit is being # changed. # # Relaxing access permissions and setting dirty and accessed bits do not # require a flush because the MMU will re-load the PTE and notice the # updates (it may also cause a spurious fault). # # Clearing the accessed bit does not require a flush because of the # imprecise PTE accessed bit accounting that is already performed, as # documented in ptep_clear_flush_young(). # # This reduces TLB flushing for some mprotect(2) calls. # # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # Reviewed-by: Christophe Leroy # Link: https://lore.kernel.org/r/20220901110334.1618913-1-npiggin@gmail.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 7611de9cd7806a9c41426d12b98cf8867263a05f # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8548_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/tqm8548_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8548_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8548_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_tqm8548_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_tqm8548_defconfig_powerpc-gcc5 # Build took: 0:00:40.650791