# 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_mpc5200_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc5200_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc5200_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/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2591:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /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/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1852: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:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] INFO: Uncompressed kernel (size 0x6b109c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6b109c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6b109c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6a0a50) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.5.0-rc3-g15ae5119c2dd Created: Wed Jan 15 05:25:57 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3343734 Bytes = 3265.37 KiB = 3.19 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.5.0-rc3-g15ae5119c2dd Created: Wed Jan 15 05:25:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3373786 Bytes = 3294.71 KiB = 3.22 MiB Load Address: 00700000 Entry Point: 00700278 Image Name: Linux-5.5.0-rc3-g15ae5119c2dd Created: Wed Jan 15 05:25:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3373823 Bytes = 3294.75 KiB = 3.22 MiB Load Address: 00700000 Entry Point: 00700278 Image Name: Linux-5.5.0-rc3-g15ae5119c2dd Created: Wed Jan 15 05:25:58 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3373328 Bytes = 3294.27 KiB = 3.22 MiB Load Address: 00700000 Entry Point: 00700278 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc5200_defconfig_powerpc-gcc4.6 # Build took: 0:01:11.138587