# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc64_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_defconfig_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/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/net/bridge/br_netlink.c: In function 'br_afspec': /kisskb/src/net/bridge/br_netlink.c:637:7: warning: 'err' 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/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/mm/swap_state.c: In function '__add_to_swap_cache': /kisskb/src/mm/swap_state.c:135:5: warning: 'error' may be used uninitialized in this function [-Wuninitialized] /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/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2046:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /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] /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/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1835:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1745:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64_defconfig_powerpc # Build took: 0:03:40.779399