# git rev-parse -q --verify aa32f1169148beb90d71494e2f2a1999ba7b5366^{commit} aa32f1169148beb90d71494e2f2a1999ba7b5366 already have revision, skipping fetch # git checkout -q -f -B kisskb aa32f1169148beb90d71494e2f2a1999ba7b5366 # git clean -qxdf # < git log -1 # commit aa32f1169148beb90d71494e2f2a1999ba7b5366 # Merge: d5bb349dbbe2 93f4e735b6d9 # Author: Linus Torvalds # Date: Sat Nov 30 10:33:14 2019 -0800 # # Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma # # Pull hmm updates from Jason Gunthorpe: # "This is another round of bug fixing and cleanup. This time the focus # is on the driver pattern to use mmu notifiers to monitor a VA range. # This code is lifted out of many drivers and hmm_mirror directly into # the mmu_notifier core and written using the best ideas from all the # driver implementations. # # This removes many bugs from the drivers and has a very pleasing # diffstat. More drivers can still be converted, but that is for another # cycle. # # - A shared branch with RDMA reworking the RDMA ODP implementation # # - New mmu_interval_notifier API. This is focused on the use case of # monitoring a VA and simplifies the process for drivers # # - A common seq-count locking scheme built into the # mmu_interval_notifier API usable by drivers that call # get_user_pages() or hmm_range_fault() with the VA range # # - Conversion of mlx5 ODP, hfi1, radeon, nouveau, AMD GPU, and Xen # GntDev drivers to the new API. This deletes a lot of wonky driver # code. # # - Two improvements for hmm_range_fault(), from testing done by Ralph" # # * tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: # mm/hmm: remove hmm_range_dma_map and hmm_range_dma_unmap # mm/hmm: make full use of walk_page_range() # xen/gntdev: use mmu_interval_notifier_insert # mm/hmm: remove hmm_mirror and related # drm/amdgpu: Use mmu_interval_notifier instead of hmm_mirror # drm/amdgpu: Use mmu_interval_insert instead of hmm_mirror # drm/amdgpu: Call find_vma under mmap_sem # nouveau: use mmu_interval_notifier instead of hmm_mirror # nouveau: use mmu_notifier directly for invalidate_range_start # drm/radeon: use mmu_interval_notifier_insert # RDMA/hfi1: Use mmu_interval_notifier_insert for user_exp_rcv # RDMA/odp: Use mmu_interval_notifier_insert() # mm/hmm: define the pre-processor related parts of hmm.h even if disabled # mm/hmm: allow hmm_range to be used with a mmu_interval_notifier or hmm_mirror # mm/mmu_notifier: add an interval tree notifier # mm/mmu_notifier: define the header pre-processor parts even if disabled # mm/hmm: allow snapshot of the special zero page # < /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 aa32f1169148beb90d71494e2f2a1999ba7b5366 # < make -s -j 24 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- randconfig KCONFIG_SEED=0x5285A9D1 # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # yes \n | make -s -j 24 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 24 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_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:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:399:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] pd->msg->buf[real_pos] = data; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:372:16: note: 'data' was declared here unsigned char data; ^ In file included from /kisskb/src/include/linux/wait.h:9:0, from /kisskb/src/include/linux/net.h:19, from /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:8: /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_proc_send': /kisskb/src/include/linux/spinlock.h:288:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] _raw_spin_unlock_irqrestore(lock, flags); \ ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:335:16: note: 'flags' was declared here unsigned long flags; ^ /kisskb/src/drivers/gpu/drm/sun4i/sun4i_tcon.c: In function 'sun4i_tcon_bind': /kisskb/src/drivers/gpu/drm/sun4i/sun4i_tcon.c:1093:21: warning: 'has_lvds_alt' may be used uninitialized in this function [-Wmaybe-uninitialized] bool has_lvds_rst, has_lvds_alt, can_lvds; ^ arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum /kisskb/src/drivers/gpu/drm/sun4i/sun4i_tcon.c: In function 'sun4i_tcon_bind': /kisskb/src/drivers/gpu/drm/sun4i/sun4i_tcon.c:1093:21: warning: 'has_lvds_alt' may be used uninitialized in this function [-Wmaybe-uninitialized] bool has_lvds_rst, has_lvds_alt, can_lvds; ^ Completed OK # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 # Build took: 0:06:27.523483