# git rev-parse -q --verify 4c6be9192dbbe4aff7d42057d7864df8a5f3baf2^{commit} 4c6be9192dbbe4aff7d42057d7864df8a5f3baf2 already have revision, skipping fetch # git checkout -q -f -B kisskb 4c6be9192dbbe4aff7d42057d7864df8a5f3baf2 # git clean -qxdf # < git log -1 # commit 4c6be9192dbbe4aff7d42057d7864df8a5f3baf2 # 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. # # Signed-off-by: Nicholas Piggin # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 4c6be9192dbbe4aff7d42057d7864df8a5f3baf2 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/npiggin_ppc40x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc40x_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/npiggin_ppc40x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/npiggin_ppc40x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/npiggin_ppc40x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_40x.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_40x.S:804: Warning: invalid register expression /kisskb/src/lib/zstd/compress.c: In function 'ZSTD_compressBlock_doubleFast': /kisskb/src/lib/zstd/compress.c:1393:1: warning: the frame size of 1384 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x594140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x594140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x583a90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x594140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x594140) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.6.0-rc2-g4c6be9192dbb Created: Wed May 13 19:33:26 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2830311 Bytes = 2763.98 KiB = 2.70 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.6.0-rc2-g4c6be9192dbb Created: Wed May 13 19:33:26 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2864939 Bytes = 2797.79 KiB = 2.73 MiB Load Address: 00600000 Entry Point: 0060198c Image Name: Linux-5.6.0-rc2-g4c6be9192dbb Created: Wed May 13 19:33:26 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2864573 Bytes = 2797.43 KiB = 2.73 MiB Load Address: 00600000 Entry Point: 00601750 Completed OK # rm -rf /kisskb/build/npiggin_ppc40x_defconfig_powerpc-gcc4.9 # Build took: 0:00:59.516834