# git rev-parse -q --verify 6f5701c04edc0b4d00d482117c89a7a13d647b5f^{commit} 6f5701c04edc0b4d00d482117c89a7a13d647b5f already have revision, skipping fetch # git checkout -q -f -B kisskb 6f5701c04edc0b4d00d482117c89a7a13d647b5f # git clean -qxdf # < git log -1 # commit 6f5701c04edc0b4d00d482117c89a7a13d647b5f # Author: Suresh Warrier # Date: Thu Dec 17 14:59:11 2015 -0600 # # KVM: PPC: Book3S HV: Add tunable to control H_IPI redirection # # Redirecting the wakeup of a VCPU from the H_IPI hypercall to # a core running in the host is usually a good idea, most workloads # seemed to benefit. However, in one heavily interrupt-driven SMT1 # workload, some regression was observed. This patch adds a kvm_hv # module parameter called h_ipi_redirect to control this feature. # # The default value for this tunable is 1 - that is enable the feature. # # Signed-off-by: Suresh Warrier # < /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 6f5701c04edc0b4d00d482117c89a7a13d647b5f # < make -s -j 32 ARCH=powerpc O=/kisskb/build/mpe-0day_ppc64_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig In file included from scripts/kconfig/zconf.tab.c:2576: /kisskb/src/scripts/kconfig/confdata.c: In function 'conf_write': /kisskb/src/scripts/kconfig/confdata.c:770:19: warning: '%s' directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=] 770 | sprintf(newname, "%s%s", dirname, basename); | ^~~~~~ /kisskb/src/scripts/kconfig/confdata.c:770:19: note: assuming directive output of 7 bytes /kisskb/src/scripts/kconfig/confdata.c:770:2: note: 'sprintf' output 1 or more bytes (assuming 4104) into a destination of size 4097 770 | sprintf(newname, "%s%s", dirname, basename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/scripts/kconfig/confdata.c:773:20: warning: '.tmpconfig.' directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=] 773 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~~~~~~~ /kisskb/src/scripts/kconfig/confdata.c:773:3: note: 'sprintf' output between 13 and 4119 bytes into a destination of size 4097 773 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Added to kconfig CONFIG_SMP=n # < make -s -j 32 ARCH=powerpc O=/kisskb/build/mpe-0day_ppc64_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/mpe-0day_ppc64_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/mpe-0day_ppc64_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kvm/book3s_hv_rm_xics.c: In function 'icp_rm_set_vcpu_irq': /kisskb/src/arch/powerpc/kvm/book3s_hv_rm_xics.c:145:4: error: implicit declaration of function 'smp_muxed_ipi_set_message' [-Werror=implicit-function-declaration] smp_muxed_ipi_set_message(hcpu, PPC_MSG_RM_HOST_ACTION); ^ /kisskb/src/arch/powerpc/kvm/book3s_hv_rm_xics.c:145:36: error: 'PPC_MSG_RM_HOST_ACTION' undeclared (first use in this function) smp_muxed_ipi_set_message(hcpu, PPC_MSG_RM_HOST_ACTION); ^ /kisskb/src/arch/powerpc/kvm/book3s_hv_rm_xics.c:145:36: note: each undeclared identifier is reported only once for each function it appears in cc1: all warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:258: arch/powerpc/kvm/book3s_hv_rm_xics.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:943: arch/powerpc/kvm] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/arch/powerpc/lib/copyuser_power7.S: Assembler messages: /kisskb/src/arch/powerpc/lib/copyuser_power7.S:330: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:331: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:333: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:334: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:336: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:391: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:393: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:397: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:400: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:405: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:410: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:436: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:445: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:466: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:471: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:478: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:481: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:486: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:488: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:568: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:571: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:576: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:581: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:586: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:595: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:621: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:638: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:659: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:668: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:675: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:680: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:685: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copyuser_power7.S:688: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/string_64.S: Assembler messages: /kisskb/src/arch/powerpc/lib/string_64.S:194: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S: Assembler messages: /kisskb/src/arch/powerpc/lib/copypage_power7.S:48: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:49: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:51: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:52: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:54: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:86: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/copypage_power7.S:95: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S: Assembler messages: /kisskb/src/arch/powerpc/lib/memcpy_power7.S:264: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:265: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:266: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:267: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:269: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:324: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:326: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:330: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:333: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:338: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:343: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:369: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:378: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:399: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:404: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:411: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:414: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:419: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:421: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:502: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:505: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:510: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:515: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:520: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:529: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:555: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:572: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:593: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:602: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:609: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:614: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:619: Warning: invalid register expression /kisskb/src/arch/powerpc/lib/memcpy_power7.S:622: Warning: invalid register expression In file included from /kisskb/src/include/linux/list.h:8:0, from /kisskb/src/include/linux/preempt.h:10, from /kisskb/src/include/linux/spinlock.h:50, from /kisskb/src/include/linux/mmzone.h:7, from /kisskb/src/include/linux/gfp.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/include/linux/memblock.h:18, from /kisskb/src/mm/cma.c:28: /kisskb/src/mm/cma.c: In function 'cma_init_reserved_mem': /kisskb/src/include/linux/kernel.h:730:17: warning: comparison of distinct pointer types lacks a cast (void) (&_max1 == &_max2); \ ^ /kisskb/src/mm/cma.c:186:27: note: in expansion of macro 'max' alignment = PAGE_SIZE << max(MAX_ORDER - 1, pageblock_order); ^ /kisskb/src/mm/cma.c: In function 'cma_declare_contiguous': /kisskb/src/include/linux/kernel.h:730:17: warning: comparison of distinct pointer types lacks a cast (void) (&_max1 == &_max2); \ ^ /kisskb/src/include/linux/kernel.h:729:9: note: in definition of macro 'max' typeof(y) _max2 = (y); \ ^ /kisskb/src/mm/cma.c:270:29: note: in expansion of macro 'max' (phys_addr_t)PAGE_SIZE << max(MAX_ORDER - 1, pageblock_order)); ^ /kisskb/src/include/linux/kernel.h:730:17: warning: comparison of distinct pointer types lacks a cast (void) (&_max1 == &_max2); \ ^ /kisskb/src/include/linux/kernel.h:729:21: note: in definition of macro 'max' typeof(y) _max2 = (y); \ ^ /kisskb/src/mm/cma.c:270:29: note: in expansion of macro 'max' (phys_addr_t)PAGE_SIZE << max(MAX_ORDER - 1, pageblock_order)); ^ /kisskb/src/arch/powerpc/kernel/vdso64/gettimeofday.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/vdso64/gettimeofday.S:148: Warning: invalid register expression /kisskb/src/arch/powerpc/kernel/vdso64/gettimeofday.S:148: Error: operand out of range (4 is not between 0 and 1) /kisskb/src/arch/powerpc/kernel/vdso64/gettimeofday.S:148: Error: missing operand make[3]: *** [/kisskb/src/arch/powerpc/kernel/vdso64/Makefile:35: arch/powerpc/kernel/vdso64/gettimeofday.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:403: arch/powerpc/kernel/vdso64] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:943: arch/powerpc/kernel] Error 2 make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/mpe-0day_ppc64_defconfig+UP_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/mpe-0day_ppc64_defconfig+UP_powerpc-gcc4.9 # Build took: 0:00:51.154657