# git rev-parse -q --verify 15ae5119c2dd05eb3f4de0c8f10ede7c95e4017b^{commit} 15ae5119c2dd05eb3f4de0c8f10ede7c95e4017b already have revision, skipping fetch # git checkout -q -f -B kisskb 15ae5119c2dd05eb3f4de0c8f10ede7c95e4017b # git clean -qxdf # < git log -1 # commit 15ae5119c2dd05eb3f4de0c8f10ede7c95e4017b # Author: Frederic Barrat # Date: Mon Jan 13 14:01:18 2020 +0100 # # powerpc/xive: Discard ESB load value when interrupt is invalid # # A load on an ESB page returning all 1's means that the underlying # device has invalidated the access to the PQ state of the interrupt # through mmio. It may happen, for example when querying a PHB interrupt # while the PHB is in an error state. # # In that case, we should consider the interrupt to be invalid when # checking its state in the irq_get_irqchip_state() handler. # # Fixes: da15c03b047d ("powerpc/xive: Implement get_irqchip_state method for XIVE to fix shutdown race") # Cc: stable@vger.kernel.org # v5.4+ # Signed-off-by: Frederic Barrat # [clg: wrote a commit log, introduced XIVE_ESB_INVALID ] # Signed-off-by: Cédric Le Goater # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200113130118.27969-1-clg@kaod.org # < /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 15ae5119c2dd05eb3f4de0c8f10ede7c95e4017b # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 85xx/mpc85xx_cds_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_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:204:16: warning: 'old' 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:338:21: note: 'pdeo' was declared here /kisskb/src/fs/ext4/extents.c: In function 'ext4_convert_unwritten_io_end_vec': /kisskb/src/fs/ext4/extents.c:5054:23: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.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/mpc8555cds.dts:330.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 0x4eee9c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4eee9c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4eee9c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4de80c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.5.0-rc3-g15ae5119c2dd Created: Wed Jan 15 05:32:03 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2480794 Bytes = 2422.65 KiB = 2.37 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.5.0-rc3-g15ae5119c2dd Created: Wed Jan 15 05:32:04 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2511499 Bytes = 2452.64 KiB = 2.40 MiB Load Address: 00500000 Entry Point: 005002a8 Image Name: Linux-5.5.0-rc3-g15ae5119c2dd Created: Wed Jan 15 05:32:04 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2510759 Bytes = 2451.91 KiB = 2.39 MiB Load Address: 00500000 Entry Point: 005002a8 Image Name: Linux-5.5.0-rc3-g15ae5119c2dd Created: Wed Jan 15 05:32:04 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2510756 Bytes = 2451.91 KiB = 2.39 MiB Load Address: 00500000 Entry Point: 005002a8 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-gcc4.6 # Build took: 0:00:40.968662