# git rev-parse -q --verify d6e3af06d947d4f23b5698007e9a1a6313d2ed58^{commit} d6e3af06d947d4f23b5698007e9a1a6313d2ed58 already have revision, skipping fetch # git checkout -q -f -B kisskb d6e3af06d947d4f23b5698007e9a1a6313d2ed58 # git clean -qxdf # < git log -1 # commit d6e3af06d947d4f23b5698007e9a1a6313d2ed58 # 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 d6e3af06d947d4f23b5698007e9a1a6313d2ed58 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_smp_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:193: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:2589: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:1850:6: warning: 'ret' 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:331:21: note: 'pdeo' was declared here /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:803:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:800:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1464:5: warning: 'page' 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/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc62bb4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041384 Bytes = 5899.79 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6042092 Bytes = 5900.48 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041009 Bytes = 5899.42 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041294 Bytes = 5899.70 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041593 Bytes = 5899.99 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6042267 Bytes = 5900.65 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041344 Bytes = 5899.75 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041122 Bytes = 5899.53 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041268 Bytes = 5899.68 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041057 Bytes = 5899.47 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041008 Bytes = 5899.42 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041122 Bytes = 5899.53 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6042300 Bytes = 5900.68 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041554 Bytes = 5899.96 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:41 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6010586 Bytes = 5869.71 KiB = 5.73 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc1-gd6e3af06d947 Created: Fri May 31 00:41:42 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041291 Bytes = 5899.70 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc4.6 # Build took: 0:00:45.965091