# 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-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 1b647d0d6ffabafd112457be465d6cf9bc19eb1d # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-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 120 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1256:20: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2497:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1819:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/core/rtnetlink.c: In function 'rtnl_newlink': /kisskb/src/net/core/rtnetlink.c:3099:1: warning: the frame size of 1232 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1433:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:339:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] WARNING: vmlinux.o (.PPC.EMB.apuinfo): unexpected non-allocatable section. Did you forget to use "ax"/"aw" in a .S file? Note that for example contains section definitions for use in .S files. INFO: Uncompressed kernel (size 0xf58c60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) Image Name: Linux-4.18.0-rc3-g1b647d0 Created: Wed Aug 8 00:22:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6459174 Bytes = 6307.79 kB = 6.16 MB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc # Build took: 0:00:53.479915