# git rev-parse -q --verify ec1f086ef2b0202c6e9ef10c1bfbc0b4fe69e00b^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-npiggin.git kerkins # git rev-parse -q --verify ec1f086ef2b0202c6e9ef10c1bfbc0b4fe69e00b^{commit} ec1f086ef2b0202c6e9ef10c1bfbc0b4fe69e00b # git checkout -q -f -B kisskb ec1f086ef2b0202c6e9ef10c1bfbc0b4fe69e00b # git clean -qxdf # < git log -1 # commit ec1f086ef2b0202c6e9ef10c1bfbc0b4fe69e00b # Author: Nicholas Piggin # Date: Fri Sep 13 22:07:01 2019 +1000 # # powerpc/64s: system call support for scv/rfscv instructions # # Add support for the scv instruction on POWER9 and later CPUs. # # For now this implements the zeroth scv vector 'scv 0', as identical # to 'sc' system calls, with the exception that lr is not preserved, and # it is 64-bit only. There may yet be changes made to this ABI, so it's # for testing only. # # rfscv is implemented to return from scv type system calls. It can not # be used to return from sc system calls because those are defined to # preserve lr. # # In a comparison of getpid syscall, the test program had scv taking # about 3 more cycles in user mode (92 vs 89 for sc), due to lr handling. # getpid syscall throughput on POWER9 is improved by 33%, mostly due to # reducing mtmsr and mtspr. # < /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 ec1f086ef2b0202c6e9ef10c1bfbc0b4fe69e00b # < make -s -j 176 ARCH=powerpc O=/kisskb/build/npiggin_pseries_le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # < make -s -j 176 ARCH=powerpc O=/kisskb/build/npiggin_pseries_le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 176 ARCH=powerpc O=/kisskb/build/npiggin_pseries_le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 176 ARCH=powerpc O=/kisskb/build/npiggin_pseries_le_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: vmlinux.o(.text+0x4818): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x49c8): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. Completed OK # rm -rf /kisskb/build/npiggin_pseries_le_defconfig_powerpc-gcc5 # Build took: 0:01:29.287153