# git rev-parse -q --verify 1b647d0d6ffabafd112457be465d6cf9bc19eb1d^{commit} 1b647d0d6ffabafd112457be465d6cf9bc19eb1d already have revision, skipping fetch # git checkout -q -f -B kisskb 1b647d0d6ffabafd112457be465d6cf9bc19eb1d # git clean -qxdf # < git log -1 # commit 1b647d0d6ffabafd112457be465d6cf9bc19eb1d # Author: Benjamin Herrenschmidt # Date: Tue Apr 10 17:16:10 2018 +1000 # # powerpc/powernv/opal: Use standard interrupts property when available # # For (bad) historical reasons, OPAL used to create a non-standard pair # of properties "opal-interrupts" and "opal-interrupts-names" for # representing the list of interrupts it wants Linux to request on its # behalf. # # Among other issues, the opal-interrupts doesn't have a way to carry # the type of interrupts, and they were assumed to be all level # sensitive. # # This is wrong on some recent systems where some of them are edge # sensitive causing warnings in the XIVE code and possible misbehaviours # if they need to be retriggered (typically the NPU2 TCE error # interrupts). # # This makes Linux switch to using the standard "interrupts" and # "interrupt-names" properties instead when they are available, using # standard of_irq helpers, which can carry all the desired type # information. # # Newer versions of OPAL will generate those properties in addition to # the legacy ones. # # Signed-off-by: Benjamin Herrenschmidt # [mpe: Fixup prefix logic to check strlen(r->name). Reinstate setting # of start = 0 in opal_event_shutdown() to avoid double free warnings] # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux-gcc --version # < git log --format=%s --max-count=1 1b647d0d6ffabafd112457be465d6cf9bc19eb1d # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- randconfig KCONFIG_SEED=0x74B0A760 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=n # Added to kconfig CONFIG_CPU_LITTLE_ENDIAN=y # Added to kconfig CONFIG_PPC_64=y # Added to kconfig CONFIG_PPC_BOOK3E_64=n # Added to kconfig CONFIG_PPC_BOOK3S_64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig # Added to kconfig # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- /kisskb/src/arch/powerpc/kvm/book3s_hv.c: In function 'kvmppc_run_core': /kisskb/src/arch/powerpc/kvm/book3s_hv.c:2986:2: error: implicit declaration of function 'this_cpu_disable_ftrace' [-Werror=implicit-function-declaration] this_cpu_disable_ftrace(); ^ /kisskb/src/arch/powerpc/kvm/book3s_hv.c:2990:2: error: implicit declaration of function 'this_cpu_enable_ftrace' [-Werror=implicit-function-declaration] this_cpu_enable_ftrace(); ^ /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. cc1: some warnings being treated as errors /kisskb/src/scripts/Makefile.build:317: recipe for target 'arch/powerpc/kvm/book3s_hv.o' failed make[2]: *** [arch/powerpc/kvm/book3s_hv.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/Makefile:1034: recipe for target 'arch/powerpc/kvm' failed make[1]: *** [arch/powerpc/kvm] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/mm/memory.c:84:2: warning: #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid. [-Wcpp] #warning Unfortunate NUMA and NUMA Balancing config, growing page-frame for last_cpupid. ^ Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le CROSS_COMPILE=/opt/cross/kisskb/gcc-5.2.0-nolibc/powerpc64le-linux/bin/powerpc64le-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next-rand_randconfig+ppc64le_ppc64le # Build took: 0:02:52.423268