# git rev-parse -q --verify 6ccb4ac2bf8a35c694ead92f8ac5530a16e8f2c8^{commit} 6ccb4ac2bf8a35c694ead92f8ac5530a16e8f2c8 already have revision, skipping fetch # git checkout -q -f -B kisskb 6ccb4ac2bf8a35c694ead92f8ac5530a16e8f2c8 # git clean -qxdf # < git log -1 # commit 6ccb4ac2bf8a35c694ead92f8ac5530a16e8f2c8 # Author: Greg Kurz # Date: Wed Sep 11 17:52:18 2019 +0200 # # powerpc/xive: Fix bogus error code returned by OPAL # # There's a bug in skiboot that causes the OPAL_XIVE_ALLOCATE_IRQ call # to return the 32-bit value 0xffffffff when OPAL has run out of IRQs. # Unfortunatelty, OPAL return values are signed 64-bit entities and # errors are supposed to be negative. If that happens, the linux code # confusingly treats 0xffffffff as a valid IRQ number and panics at some # point. # # A fix was recently merged in skiboot: # # e97391ae2bb5 ("xive: fix return value of opal_xive_allocate_irq()") # # but we need a workaround anyway to support older skiboots already # in the field. # # Internally convert 0xffffffff to OPAL_RESOURCE which is the usual error # returned upon resource exhaustion. # # Cc: stable@vger.kernel.org # v4.12+ # Signed-off-by: Greg Kurz # Reviewed-by: Cédric Le Goater # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/156821713818.1985334.14123187368108582810.stgit@bahia.lan # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 6ccb4ac2bf8a35c694ead92f8ac5530a16e8f2c8 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/crypto/talitos.c: In function 'talitos_remove': /kisskb/src/drivers/crypto/talitos.c:3142:4: warning: this statement may fall through [-Wimplicit-fallthrough=] crypto_unregister_aead(&t_alg->algt.alg.aead); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/crypto/talitos.c:3143:3: note: here case CRYPTO_ALG_TYPE_AHASH: ^~~~ In file included from /kisskb/src/sound/ppc/pmac.h:12, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:208:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/sound/ppc/awacs.c:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^~~~~~~~~~~ INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb355cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb45ce4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb355cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.3.0-rc2+ Created: Fri Sep 13 22:38:16 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385294 Bytes = 5259.08 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Fri Sep 13 22:38:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5386371 Bytes = 5260.13 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c00934 Image Name: Linux-5.3.0-rc2+ Created: Fri Sep 13 22:38:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5386508 Bytes = 5260.26 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c00934 Image Name: Linux-5.3.0-rc2+ Created: Fri Sep 13 22:38:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5384876 Bytes = 5258.67 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Fri Sep 13 22:38:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5349945 Bytes = 5224.56 KiB = 5.10 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2+ Created: Fri Sep 13 22:38:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5386031 Bytes = 5259.80 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Fri Sep 13 22:38:18 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385272 Bytes = 5259.05 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Fri Sep 13 22:38:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385058 Bytes = 5258.85 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Image Name: Linux-5.3.0-rc2+ Created: Fri Sep 13 22:38:19 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5385671 Bytes = 5259.44 KiB = 5.14 MiB Load Address: 00c00000 Entry Point: 00c002a4 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 # Build took: 0:04:16.469329