# git rev-parse -q --verify 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19^{commit} 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19 already have revision, skipping fetch # git checkout -q -f -B kisskb 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19 # git clean -qxdf # < git log -1 # commit 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19 # Merge: 473348891c36 dfd32cad146e # Author: Linus Torvalds # Date: Sat Jan 12 10:52:40 2019 -0800 # # Merge tag 'remove-dma_zalloc_coherent-5.0' of git://git.infradead.org/users/hch/dma-mapping # # Pull dma_zalloc_coherent() removal from Christoph Hellwig: # "We've always had a weird situation around dma_zalloc_coherent. To # safely support mapping the allocations to userspace major # architectures like x86 and arm have always zeroed allocations from # dma_alloc_coherent, but a couple other architectures were missing that # zeroing either always or in corner cases. # # Then later we grew anothe dma_zalloc_coherent interface to explicitly # request zeroing, but that just added __GFP_ZERO to the allocation # flags, which for some allocators that didn't end up using the page # allocator ended up being a no-op and still not zeroing the # allocations. # # So for this merge window I fixed up all remaining architectures to # zero the memory in dma_alloc_coherent, and made dma_zalloc_coherent a # no-op wrapper around dma_alloc_coherent, which fixes all of the above # issues. # # dma_zalloc_coherent is now pointless and can go away, and Luis helped # me writing a cocchinelle script and patch series to kill it, which I # think we should apply now just after -rc1 to finally settle these # issue" # # * tag 'remove-dma_zalloc_coherent-5.0' of git://git.infradead.org/users/hch/dma-mapping: # dma-mapping: remove dma_zalloc_coherent() # cross-tree: phase out dma_zalloc_coherent() on headers # cross-tree: phase out dma_zalloc_coherent() # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 66c56cfa64d9dbb9efa8a06c1aece77e8d57ea19 # < make -s -j 48 ARCH=arm64 O=/kisskb/build/linus_arm64-allmodconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- allmodconfig # make -s -j 48 ARCH=arm64 O=/kisskb/build/linus_arm64-allmodconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:40: LSE atomics not supported by binutils /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/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-sapphire-excavator.dts:94.9-98.5: Warning (graph_port): /edp-panel/ports: graph port node name should be 'port' In file included from /kisskb/src/include/asm-generic/bug.h:18:0, 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)); ^ In file included from /kisskb/src/include/linux/rwsem.h:16:0, from /kisskb/src/include/linux/notifier.h:15, from /kisskb/src/include/linux/clk.h:17, from /kisskb/src/drivers/tty/serial/sh-sci.c:24: /kisskb/src/drivers/tty/serial/sh-sci.c: In function 'sci_submit_rx': /kisskb/src/include/linux/spinlock.h:279:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] _raw_spin_unlock_irqrestore(lock, flags); \ ^ /kisskb/src/drivers/tty/serial/sh-sci.c:1338:16: note: 'flags' was declared here unsigned long flags; ^ Completed OK # rm -rf /kisskb/build/linus_arm64-allmodconfig_arm64-gcc5.4 # Build took: 0:15:28.855465