# git rev-parse -q --verify e2ca6ba6ba0152361aa4fcbf6067db71b2c7a770^{commit} e2ca6ba6ba0152361aa4fcbf6067db71b2c7a770 already have revision, skipping fetch # git checkout -q -f -B kisskb e2ca6ba6ba0152361aa4fcbf6067db71b2c7a770 # git clean -qxdf # < git log -1 # commit e2ca6ba6ba0152361aa4fcbf6067db71b2c7a770 # Merge: 7e68dd7d07a2 c45bc55a9995 # Author: Linus Torvalds # Date: Tue Dec 13 19:29:45 2022 -0800 # # Merge tag 'mm-stable-2022-12-13' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm # # Pull MM updates from Andrew Morton: # # - More userfaultfs work from Peter Xu # # - Several convert-to-folios series from Sidhartha Kumar and Huang Ying # # - Some filemap cleanups from Vishal Moola # # - David Hildenbrand added the ability to selftest anon memory COW # handling # # - Some cpuset simplifications from Liu Shixin # # - Addition of vmalloc tracing support by Uladzislau Rezki # # - Some pagecache folioifications and simplifications from Matthew # Wilcox # # - A pagemap cleanup from Kefeng Wang: we have VM_ACCESS_FLAGS, so use # it # # - Miguel Ojeda contributed some cleanups for our use of the # __no_sanitize_thread__ gcc keyword. # # This series should have been in the non-MM tree, my bad # # - Naoya Horiguchi improved the interaction between memory poisoning and # memory section removal for huge pages # # - DAMON cleanups and tuneups from SeongJae Park # # - Tony Luck fixed the handling of COW faults against poisoned pages # # - Peter Xu utilized the PTE marker code for handling swapin errors # # - Hugh Dickins reworked compound page mapcount handling, simplifying it # and making it more efficient # # - Removal of the autonuma savedwrite infrastructure from Nadav Amit and # David Hildenbrand # # - zram support for multiple compression streams from Sergey Senozhatsky # # - David Hildenbrand reworked the GUP code's R/O long-term pinning so # that drivers no longer need to use the FOLL_FORCE workaround which # didn't work very well anyway # # - Mel Gorman altered the page allocator so that local IRQs can remnain # enabled during per-cpu page allocations # # - Vishal Moola removed the try_to_release_page() wrapper # # - Stefan Roesch added some per-BDI sysfs tunables which are used to # prevent network block devices from dirtying excessive amounts of # pagecache # # - David Hildenbrand did some cleanup and repair work on KSM COW # breaking # # - Nhat Pham and Johannes Weiner have implemented writeback in zswap's # zsmalloc backend # # - Brian Foster has fixed a longstanding corner-case oddity in # file[map]_write_and_wait_range() # # - sparse-vmemmap changes for MIPS, LoongArch and NIOS2 from Feiyang # Chen # # - Shiyang Ruan has done some work on fsdax, to make its reflink mode # work better under xfstests. Better, but still not perfect # # - Christoph Hellwig has removed the .writepage() method from several # filesystems. They only need .writepages() # # - Yosry Ahmed wrote a series which fixes the memcg reclaim target # beancounting # # - David Hildenbrand has fixed some of our MM selftests for 32-bit # machines # # - Many singleton patches, as usual # # * tag 'mm-stable-2022-12-13' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (313 commits) # mm/hugetlb: set head flag before setting compound_order in __prep_compound_gigantic_folio # mm: mmu_gather: allow more than one batch of delayed rmaps # mm: fix typo in struct pglist_data code comment # kmsan: fix memcpy tests # mm: add cond_resched() in swapin_walk_pmd_entry() # mm: do not show fs mm pc for VM_LOCKONFAULT pages # selftests/vm: ksm_functional_tests: fixes for 32bit # selftests/vm: cow: fix compile warning on 32bit # selftests/vm: madv_populate: fix missing MADV_POPULATE_(READ|WRITE) definitions # mm/gup_test: fix PIN_LONGTERM_TEST_READ with highmem # mm,thp,rmap: fix races between updates of subpages_mapcount # mm: memcg: fix swapcached stat accounting # mm: add nodes= arg to memory.reclaim # mm: disable top-tier fallback to reclaim on proactive reclaim # selftests: cgroup: make sure reclaim target memcg is unprotected # selftests: cgroup: refactor proactive reclaim code to reclaim_until() # mm: memcg: fix stale protection of reclaim target memcg # mm/mmap: properly unaccount memory on mas_preallocate() failure # omfs: remove ->writepage # jfs: remove ->writepage # ... # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 e2ca6ba6ba0152361aa4fcbf6067db71b2c7a770 # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 allmodconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig CONFIG_BPF_PRELOAD=n # < make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:12644:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:12648:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:12650:warning: override: reassigning to symbol UML_NET_SLIP .config:12653:warning: override: reassigning to symbol UML_NET_MCAST .config:12655:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 In file included from /kisskb/src/include/linux/string.h:253, from /kisskb/src/include/linux/bitmap.h:11, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/mm_types_task.h:14, from /kisskb/src/include/linux/mm_types.h:5, from /kisskb/src/include/linux/buildid.h:5, from /kisskb/src/include/linux/module.h:14, from /kisskb/src/arch/um/drivers/virt-pci.c:6: /kisskb/src/arch/um/drivers/virt-pci.c: In function 'um_pci_send_cmd': /kisskb/src/include/linux/fortify-string.h:57:33: error: argument 1 null where non-null expected [-Werror=nonnull] 57 | #define __underlying_memcpy __builtin_memcpy | ^ /kisskb/src/include/linux/fortify-string.h:469:9: note: in expansion of macro '__underlying_memcpy' 469 | __underlying_##op(p, q, __fortify_size); \ | ^~~~~~~~~~~~~ /kisskb/src/include/linux/fortify-string.h:514:26: note: in expansion of macro '__fortify_memcpy_chk' 514 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/um/drivers/virt-pci.c:100:9: note: in expansion of macro 'memcpy' 100 | memcpy(buf, cmd, cmd_size); | ^~~~~~ /kisskb/src/include/linux/fortify-string.h:57:33: note: in a call to built-in function '__builtin_memcpy' 57 | #define __underlying_memcpy __builtin_memcpy | ^ /kisskb/src/include/linux/fortify-string.h:469:9: note: in expansion of macro '__underlying_memcpy' 469 | __underlying_##op(p, q, __fortify_size); \ | ^~~~~~~~~~~~~ /kisskb/src/include/linux/fortify-string.h:514:26: note: in expansion of macro '__fortify_memcpy_chk' 514 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/um/drivers/virt-pci.c:100:9: note: in expansion of macro 'memcpy' 100 | memcpy(buf, cmd, cmd_size); | ^~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:250: arch/um/drivers/virt-pci.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:502: arch/um/drivers] Error 2 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/spi/spi-stm32-qspi.c: In function 'stm32_qspi_dirmap_read': /kisskb/src/drivers/spi/spi-stm32-qspi.c:523:27: error: 'op' is used uninitialized [-Werror=uninitialized] 523 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c:523:27: note: 'op' declared here 523 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c: In function 'stm32_qspi_transfer_one_message': /kisskb/src/drivers/spi/spi-stm32-qspi.c:564:27: error: 'op' is used uninitialized [-Werror=uninitialized] 564 | struct spi_mem_op op; | ^~ /kisskb/src/drivers/spi/spi-stm32-qspi.c:564:27: note: 'op' declared here 564 | struct spi_mem_op op; | ^~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/spi/spi-stm32-qspi.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:502: drivers/spi] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/x86/um/asm/processor.h:41, from /kisskb/src/include/linux/mutex.h:19, from /kisskb/src/include/linux/kernfs.h:11, from /kisskb/src/include/linux/sysfs.h:16, from /kisskb/src/include/linux/kobject.h:20, from /kisskb/src/include/linux/pci.h:35, from /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:26: /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c: In function 'kfd_cpumask_to_apic_id': /kisskb/src/arch/um/include/asm/processor-generic.h:94:19: error: called object is not a function or function pointer 94 | #define cpu_data (&boot_cpu_data) | ~^~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:2157:16: note: in expansion of macro 'cpu_data' 2157 | return cpu_data(first_cpu_of_numa_node).apicid; | ^~~~~~~~ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c:2161:1: error: control reaches end of non-void function [-Werror=return-type] 2161 | } | ^ cc1: all warnings being treated as errors make[6]: *** [/kisskb/src/scripts/Makefile.build:250: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [/kisskb/src/scripts/Makefile.build:502: drivers/gpu/drm/amd/amdgpu] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:502: drivers/gpu/drm] Error 2 make[3]: *** [/kisskb/src/scripts/Makefile.build:502: drivers/gpu] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:502: drivers] Error 2 make[1]: *** [/kisskb/src/Makefile:1994: .] Error 2 make: *** [Makefile:231: __sub-make] Error 2 Command 'make -s -j 32 ARCH=um O=/kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allmodconfig_um-x86_64-gcc12 # Build took: 0:12:35.177746