# 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-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 a95ecac5cb2fc8a8ee606991384d33ee121df00c # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_book3e_allmodconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/kernel/debug/kdb/kdb_support.c:15: In function 'strncpy', inlined from 'kallsyms_symbol_next' at /kisskb/src/kernel/debug/kdb/kdb_support.c:239:4: /kisskb/src/include/linux/string.h:246:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/debug/kdb/kdb_support.c: In function 'kallsyms_symbol_next': /kisskb/src/include/linux/string.h:267:10: note: length computed here return __builtin_strlen(p); ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/powerpc.c:51: /kisskb/src/arch/powerpc/kvm/trace.h:9: warning: "TRACE_INCLUDE_PATH" redefined #define TRACE_INCLUDE_PATH . In file included from /kisskb/src/arch/powerpc/kvm/../mm/mmu_decl.h:25, from /kisskb/src/arch/powerpc/kvm/powerpc.c:48: /kisskb/src/arch/powerpc/include/asm/trace.h:224: note: this is the location of the previous definition #define TRACE_INCLUDE_PATH asm In file included from /kisskb/src/arch/powerpc/kvm/powerpc.c:51: /kisskb/src/arch/powerpc/kvm/trace.h:9: warning: "TRACE_INCLUDE_PATH" redefined #define TRACE_INCLUDE_PATH . In file included from /kisskb/src/arch/powerpc/kvm/../mm/mmu_decl.h:25, from /kisskb/src/arch/powerpc/kvm/powerpc.c:48: /kisskb/src/arch/powerpc/include/asm/trace.h:224: note: this is the location of the previous definition #define TRACE_INCLUDE_PATH asm In file included from /kisskb/src/arch/powerpc/include/asm/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:64, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/spinlock.h:54, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/lib/test_hexdump.c:8: In function 'strncpy', inlined from 'test_hexdump_prepare_test.isra.0' at /kisskb/src/lib/test_hexdump.c:102:3: /kisskb/src/include/linux/string.h:246:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c: In function 'test_hexdump_prepare_test.isra.0': /kisskb/src/include/linux/string.h:267:10: note: length computed here return __builtin_strlen(p); ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:40: /kisskb/src/drivers/net/ethernet/aurora/nb8800.h:92: warning: "TCR_DIE" redefined #define TCR_DIE BIT(7) In file included from /kisskb/src/arch/powerpc/include/asm/reg.h:21, from /kisskb/src/arch/powerpc/include/asm/processor.h:13, from /kisskb/src/arch/powerpc/include/asm/thread_info.h:28, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:23: /kisskb/src/arch/powerpc/include/asm/reg_booke.h:554: note: this is the location of the previous definition #define TCR_DIE TCR_PIE /* DEC Interrupt Enable */ /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c: In function 'esas2r_write_vda': /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c:1910:19: warning: 'dma_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] a->ppvda_buffer = dma_addr; ~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. drivers/usb/phy/phy-fsl-usb.o: In function `.fsl_otg_ioctl': phy-fsl-usb.c:(.text.fsl_otg_ioctl+0xb4): undefined reference to `.otg_statemachine' drivers/usb/phy/phy-fsl-usb.o: In function `.fsl_otg_start_srp': phy-fsl-usb.c:(.text.fsl_otg_start_srp+0x4c): undefined reference to `.otg_statemachine' drivers/usb/phy/phy-fsl-usb.o: In function `.fsl_otg_set_host': phy-fsl-usb.c:(.text.fsl_otg_set_host+0xd0): undefined reference to `.otg_statemachine' drivers/usb/phy/phy-fsl-usb.o: In function `.fsl_otg_start_hnp': phy-fsl-usb.c:(.text.fsl_otg_start_hnp+0x68): undefined reference to `.otg_statemachine' drivers/usb/phy/phy-fsl-usb.o: In function `.show_fsl_usb2_otg_state': phy-fsl-usb.c:(.text.show_fsl_usb2_otg_state+0x154): undefined reference to `.usb_otg_state_string' drivers/usb/phy/phy-fsl-usb.o: In function `.a_wait_enum': (.text.a_wait_enum+0x4c): undefined reference to `.otg_statemachine' drivers/usb/phy/phy-fsl-usb.o: In function `.fsl_otg_set_peripheral': phy-fsl-usb.c:(.text.fsl_otg_set_peripheral+0x84): undefined reference to `.usb_gadget_vbus_disconnect' phy-fsl-usb.c:(.text.fsl_otg_set_peripheral+0x9c): undefined reference to `.otg_statemachine' make[1]: *** [/kisskb/src/Makefile:1036: vmlinux] Error 1 make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc8 # Build took: 0:14:56.975696