# 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.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 1b647d0d6ffabafd112457be465d6cf9bc19eb1d # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_allmodconfig+4K_PAGES_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n CONFIG_MODULE_SIG=n CONFIG_SAMPLES=n CONFIG_PPC_4K_PAGES=y CONFIG_PPC_64K_PAGES=n # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_allmodconfig+4K_PAGES_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_allmodconfig+4K_PAGES_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-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/sound/aoa/codecs/onyx.c: In function 'onyx_snd_single_bit_get': /kisskb/src/sound/aoa/codecs/onyx.c:380:37: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] ucontrol->value.integer.value[0] = !!(c & mask) ^ polarity; ^ In file included from /kisskb/src/include/linux/io.h:25:0, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/ata/ahci_qoriq.c:18: /kisskb/src/drivers/ata/ahci_qoriq.c: In function 'ahci_qoriq_hardreset': /kisskb/src/arch/powerpc/include/asm/io.h:633:3: warning: 'px_is' may be used uninitialized in this function [-Wmaybe-uninitialized] ppc_pci_io.name al; \ ^ /kisskb/src/drivers/ata/ahci_qoriq.c:86:14: note: 'px_is' was declared here u32 px_cmd, px_is, px_val; ^ In file included from /kisskb/src/include/linux/io.h:25:0, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/ata/ahci_qoriq.c:18: /kisskb/src/arch/powerpc/include/asm/io.h:142:2: warning: 'px_cmd' may be used uninitialized in this function [-Wmaybe-uninitialized] __asm__ __volatile__("sync;"#insn" %1,%y0" \ ^ /kisskb/src/drivers/ata/ahci_qoriq.c:86:6: note: 'px_cmd' was declared here u32 px_cmd, px_is, px_val; ^ Completed OK # rm -rf /kisskb/build/powerpc-next_allmodconfig+4K_PAGES_powerpc-5.3 # Build took: 0:04:27.035239