# 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-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 7611de9cd7806a9c41426d12b98cf8867263a05f # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:5376:warning: override: reassigning to symbol PPC64 .config:5377:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:5378:warning: override: reassigning to symbol SECTION_MISMATCH_WARN_ONLY .config:5379:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5381:warning: override: reassigning to symbol GCC_PLUGINS # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/kernel/trace/ftrace.c:3159:1: warning: 'ops_references_rec' defined but not used [-Wunused-function] 3159 | ops_references_rec(struct ftrace_ops *ops, struct dyn_ftrace *rec) | ^~~~~~~~~~~~~~~~~~ /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: arch/powerpc/kernel/irq.o: in function `.do_IRQ': /kisskb/src/arch/powerpc/include/asm/cputime.h:98: undefined reference to `.pseries_accumulate_stolen_time' /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: arch/powerpc/kernel/process.o: in function `.do_break': /kisskb/src/arch/powerpc/include/asm/cputime.h:98: undefined reference to `.pseries_accumulate_stolen_time' /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: arch/powerpc/kernel/time.o: in function `.vtime_delta': /kisskb/src/arch/powerpc/kernel/time.c:241: undefined reference to `.pseries_calculate_stolen_time' /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: arch/powerpc/kernel/time.o: in function `.timer_interrupt': /kisskb/src/arch/powerpc/include/asm/cputime.h:98: undefined reference to `.pseries_accumulate_stolen_time' /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: arch/powerpc/kernel/traps.o: in function `.interrupt_enter_prepare': /kisskb/src/arch/powerpc/include/asm/cputime.h:98: undefined reference to `.pseries_accumulate_stolen_time' /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: arch/powerpc/kernel/traps.o: in function `.machine_check_exception_async': /kisskb/src/arch/powerpc/include/asm/cputime.h:98: undefined reference to `.pseries_accumulate_stolen_time' /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: arch/powerpc/kernel/traps.o: in function `.SMIException': /kisskb/src/arch/powerpc/include/asm/cputime.h:98: undefined reference to `.pseries_accumulate_stolen_time' /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: arch/powerpc/kernel/traps.o: in function `.handle_hmi_exception': /kisskb/src/arch/powerpc/include/asm/cputime.h:98: undefined reference to `.pseries_accumulate_stolen_time' /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: arch/powerpc/kernel/traps.o:/kisskb/src/arch/powerpc/include/asm/cputime.h:98: more undefined references to `.pseries_accumulate_stolen_time' follow make[1]: *** [/kisskb/src/Makefile:1169: vmlinux] Error 1 make: *** [Makefile:222: __sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc-gcc11 # Build took: 0:02:52.691267