# git rev-parse -q --verify a3bf9fbdad600b1e4335dd90979f8d6072e4f602^{commit} a3bf9fbdad600b1e4335dd90979f8d6072e4f602 already have revision, skipping fetch # git checkout -q -f -B kisskb a3bf9fbdad600b1e4335dd90979f8d6072e4f602 # git clean -qxdf # < git log -1 # commit a3bf9fbdad600b1e4335dd90979f8d6072e4f602 # Author: Greg Kurz # Date: Wed May 15 12:05:01 2019 +0200 # # powerpc/pseries: Fix xive=off command line # # On POWER9, if the hypervisor supports XIVE exploitation mode, the # guest OS will unconditionally requests for the XIVE interrupt mode # even if XIVE was deactivated with the kernel command line xive=off. # Later on, when the spapr XIVE init code handles xive=off, it disables # XIVE and tries to fall back on the legacy mode XICS. # # This discrepency causes a kernel panic because the hypervisor is # configured to provide the XIVE interrupt mode to the guest : # # kernel BUG at arch/powerpc/sysdev/xics/xics-common.c:135! # ... # NIP xics_smp_probe+0x38/0x98 # LR xics_smp_probe+0x2c/0x98 # Call Trace: # xics_smp_probe+0x2c/0x98 (unreliable) # pSeries_smp_probe+0x40/0xa0 # smp_prepare_cpus+0x62c/0x6ec # kernel_init_freeable+0x148/0x448 # kernel_init+0x2c/0x148 # ret_from_kernel_thread+0x5c/0x68 # # Look for xive=off during prom_init and don't ask for XIVE in this # case. One exception though: if the host only supports XIVE, we still # want to boot so we ignore xive=off. # # Similarly, have the spapr XIVE init code to looking at the interrupt # mode negotiated during CAS, and ignore xive=off if the hypervisor only # supports XIVE. # # Fixes: eac1e731b59e ("powerpc/xive: guest exploitation of the XIVE interrupt controller") # Cc: stable@vger.kernel.org # v4.20 # Reported-by: Pavithra R. Prakash # Signed-off-by: Greg Kurz # Reviewed-by: Cédric Le Goater # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 a3bf9fbdad600b1e4335dd90979f8d6072e4f602 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.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 0x55598c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55598c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55598c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55598c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55598c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55598c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55598c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55598c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55598c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x545274) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55598c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55598c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.2.0-rc2-ga3bf9fbdad60 Created: Mon Jun 3 06:38:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750524 Bytes = 2686.06 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601544 Image Name: Linux-5.2.0-rc2-ga3bf9fbdad60 Created: Mon Jun 3 06:38:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750446 Bytes = 2685.98 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.2.0-rc2-ga3bf9fbdad60 Created: Mon Jun 3 06:38:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750476 Bytes = 2686.01 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601524 Image Name: Linux-5.2.0-rc2-ga3bf9fbdad60 Created: Mon Jun 3 06:38:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750399 Bytes = 2685.94 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.2.0-rc2-ga3bf9fbdad60 Created: Mon Jun 3 06:38:35 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750641 Bytes = 2686.17 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 0060152c Image Name: Linux-5.2.0-rc2-ga3bf9fbdad60 Created: Mon Jun 3 06:38:33 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719317 Bytes = 2655.58 KiB = 2.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2-ga3bf9fbdad60 Created: Mon Jun 3 06:38:33 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750534 Bytes = 2686.07 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.2.0-rc2-ga3bf9fbdad60 Created: Mon Jun 3 06:38:33 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750440 Bytes = 2685.98 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006001b8 Image Name: Linux-5.2.0-rc2-ga3bf9fbdad60 Created: Mon Jun 3 06:38:33 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750471 Bytes = 2686.01 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601514 Image Name: Linux-5.2.0-rc2-ga3bf9fbdad60 Created: Mon Jun 3 06:38:34 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750550 Bytes = 2686.08 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 # Build took: 0:00:49.942220