# git rev-parse -q --verify 556baad64ee9f87db99de05be3b53edbd7beeaa1^{commit} 556baad64ee9f87db99de05be3b53edbd7beeaa1 already have revision, skipping fetch # git checkout -q -f -B kisskb 556baad64ee9f87db99de05be3b53edbd7beeaa1 # git clean -qxdf # < git log -1 # commit 556baad64ee9f87db99de05be3b53edbd7beeaa1 # Author: Jordan Niethe # Date: Thu Feb 25 14:21:07 2021 +1100 # # selftests/powerpc: Suggest memtrace instead of /dev/mem for ci memory # # The suggested alternative for getting cache-inhibited memory with 'mem=' # and /dev/mem is pretty hacky. Also, PAPR guests do not allow system # memory to be mapped cache-inhibited so despite /dev/mem being available # this will not work which can cause confusion. Instead recommend using # the memtrace buffers. memtrace is only available on powernv so there # will not be any chance of trying to do this in a guest. # # Signed-off-by: Jordan Niethe # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210225032108.1458352-2-jniethe5@gmail.com # < /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 556baad64ee9f87db99de05be3b53edbd7beeaa1 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_sbc8548_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/sbc8548_defconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_sbc8548_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_sbc8548_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_sbc8548_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/signal_32.c: In function 'restore_user_regs': /kisskb/src/arch/powerpc/kernel/signal_32.c:565:36: error: macro "unsafe_copy_from_user" requires 4 arguments, but only 3 given ELF_NEVRREG * sizeof(u32)); ^ /kisskb/src/arch/powerpc/kernel/signal_32.c:564:3: error: 'unsafe_copy_from_user' undeclared (first use in this function) unsafe_copy_from_user(current->thread.evr, &sr->mc_vregs, ^ /kisskb/src/arch/powerpc/kernel/signal_32.c:564:3: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [/kisskb/src/scripts/Makefile.build:271: arch/powerpc/kernel/signal_32.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:514: arch/powerpc/kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1851: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:215: __sub-make] Error 2 Command 'make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_sbc8548_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_85xx_sbc8548_defconfig_powerpc-gcc4.9 # Build took: 0:00:43.192975