# git rev-parse -q --verify a95ecac5cb2fc8a8ee606991384d33ee121df00c^{commit} a95ecac5cb2fc8a8ee606991384d33ee121df00c already have revision, skipping fetch # git checkout -q -f -B kisskb a95ecac5cb2fc8a8ee606991384d33ee121df00c # git clean -qxdf # < git log -1 # commit a95ecac5cb2fc8a8ee606991384d33ee121df00c # Author: Naveen N. Rao # Date: Tue Oct 23 13:34:56 2018 +0530 # # selftests/powerpc: Relax L1d miss targets for rfi_flush test # # When running the rfi_flush test, if the system is loaded, we see two # issues: # 1. The L1d misses when rfi_flush is disabled increase significantly due # to other workloads interfering with the cache. # 2. The L1d misses when rfi_flush is enabled sometimes goes slightly # below the expected number of misses. # # To address these, let's relax the expected number of L1d misses: # 1. When rfi_flush is disabled, we allow upto half the expected number of # the misses for when rfi_flush is enabled. # 2. When rfi_flush is enabled, we allow ~1% lower number of cache misses. # # Reported-by: Joel Stanley # Signed-off-by: Naveen N. Rao # Tested-by: Joel Stanley # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 a95ecac5cb2fc8a8ee606991384d33ee121df00c # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet64_smp_defconfig # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_MPIC=y # yes \n | make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/kvm/powerpc.c:51:0: /kisskb/src/arch/powerpc/kvm/trace.h:9:0: error: "TRACE_INCLUDE_PATH" redefined [-Werror] #define TRACE_INCLUDE_PATH . ^ In file included from /kisskb/src/arch/powerpc/kvm/../mm/mmu_decl.h:25:0, from /kisskb/src/arch/powerpc/kvm/powerpc.c:48: /kisskb/src/arch/powerpc/include/asm/trace.h:224:0: note: this is the location of the previous definition #define TRACE_INCLUDE_PATH asm ^ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:305: arch/powerpc/kvm/powerpc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:546: arch/powerpc/kvm] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1060: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-gcc5 # Build took: 0:01:14.315801