# git rev-parse -q --verify fe76fc6aaf538df27708ffa3e5d549a6c8e16142^{commit} fe76fc6aaf538df27708ffa3e5d549a6c8e16142 already have revision, skipping fetch # git checkout -q -f -B kisskb fe76fc6aaf538df27708ffa3e5d549a6c8e16142 # git clean -qxdf # < git log -1 # commit fe76fc6aaf538df27708ffa3e5d549a6c8e16142 # Author: Ming Lei # Date: Tue Jan 15 11:59:52 2019 +0800 # # sbitmap: Protect swap_lock from hardirq # # Because we may call blk_mq_get_driver_tag() directly from # blk_mq_dispatch_rq_list() without holding any lock, then HARDIRQ may # come and the above DEADLOCK is triggered. # # Commit ab53dcfb3e7b ("sbitmap: Protect swap_lock from hardirq") tries to # fix this issue by using 'spin_lock_bh', which isn't enough because we # complete request from hardirq context direclty in case of multiqueue. # # Cc: Clark Williams # Fixes: ab53dcfb3e7b ("sbitmap: Protect swap_lock from hardirq") # Cc: Jens Axboe # Cc: Ming Lei # Cc: Guenter Roeck # Cc: Steven Rostedt (VMware) # Signed-off-by: Ming Lei # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 fe76fc6aaf538df27708ffa3e5d549a6c8e16142 # < make -s -j 120 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig KCONFIG_SEED=0xE0C5733F # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # yes \n | make -s -j 120 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 120 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64-linux- /kisskb/src/arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts:94.9-98.5: Warning (graph_port): /edp-panel/ports: graph port node name should be 'port' /kisskb/src/arch/arm64/boot/dts/rockchip/rk3399-gru-bob.dts:25.9-29.5: Warning (graph_port): /edp-panel/ports: graph port node name should be 'port' /kisskb/src/arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts:46.9-50.5: Warning (graph_port): /edp-panel/ports: graph port node name should be 'port' /kisskb/src/fs/ntfs/aops.c: In function 'ntfs_write_mst_block': /kisskb/src/fs/ntfs/aops.c:1328:1: warning: the frame size of 2224 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ In file included from /kisskb/src/include/asm-generic/bug.h:18, from /kisskb/src/arch/arm64/include/asm/bug.h:37, from /kisskb/src/include/linux/bug.h:5, from /kisskb/src/include/linux/mmdebug.h:5, from /kisskb/src/include/linux/mm.h:9, from /kisskb/src/drivers/dma/imx-dma.c:14: /kisskb/src/drivers/dma/imx-dma.c: In function 'imxdma_sg_next': /kisskb/src/include/linux/kernel.h:846:29: warning: comparison of distinct pointer types lacks a cast (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^~ /kisskb/src/include/linux/kernel.h:860:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:870:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ /kisskb/src/include/linux/kernel.h:879:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^~~~~~~~~~~~~ /kisskb/src/drivers/dma/imx-dma.c:288:8: note: in expansion of macro 'min' now = min(d->len, sg_dma_len(sg)); ^~~ Completed OK # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc8 # Build took: 0:02:11.213606