# 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_ppc44x_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x5cfc14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfc14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfc14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfc14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfc14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfc14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfc14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfc14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfc14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfc14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfc14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5bf4fc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.3.0-rc2-g6ccb4ac2bf8a Created: Fri Sep 13 22:34:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2951449 Bytes = 2882.27 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006001b8 Image Name: Linux-5.3.0-rc2-g6ccb4ac2bf8a Created: Fri Sep 13 22:34:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2951631 Bytes = 2882.45 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015bc Image Name: Linux-5.3.0-rc2-g6ccb4ac2bf8a Created: Fri Sep 13 22:34:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2950758 Bytes = 2881.60 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015ac Image Name: Linux-5.3.0-rc2-g6ccb4ac2bf8a Created: Fri Sep 13 22:34:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2917549 Bytes = 2849.17 KiB = 2.78 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.3.0-rc2-g6ccb4ac2bf8a Created: Fri Sep 13 22:34:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2951721 Bytes = 2882.54 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015ac Image Name: Linux-5.3.0-rc2-g6ccb4ac2bf8a Created: Fri Sep 13 22:34:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2951980 Bytes = 2882.79 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 006015a4 Image Name: Linux-5.3.0-rc2-g6ccb4ac2bf8a Created: Fri Sep 13 22:34:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2952327 Bytes = 2883.13 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.3.0-rc2-g6ccb4ac2bf8a Created: Fri Sep 13 22:34:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2952094 Bytes = 2882.90 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 006015ac Image Name: Linux-5.3.0-rc2-g6ccb4ac2bf8a Created: Fri Sep 13 22:34:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2951607 Bytes = 2882.43 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 0060159c Image Name: Linux-5.3.0-rc2-g6ccb4ac2bf8a Created: Fri Sep 13 22:34:14 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2952095 Bytes = 2882.91 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 0060158c Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc8 # Build took: 0:01:05.041835