From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795987004; b=bw/jGvgF/63oB+JOE1ql3wWahxzx9VyUwp580yDzYsmozTxSsmQ/13KMXRSDb6Kmo7Gw QLSzSOkgF1lemkFzuKLb5GFFGM5fmcauYsSbzBJH8DkWUAvEyPuOjt+cf+5cLwJN10qHR Yj29v0ZG8famQqp3YbRTZUcuYZZljYtjdTJX2jB01Je0nkqvj6azOTCJ0yFp/qER/BWUf XEKiwBlry/ZLkGB6Z8Fh4SO4+D650XmBwi9U0io80cJHeoVdY7qx5JP5QlMggvGXf3zjq jCej5c3ZQu/+Wz+sCfX3vTvNqRKDskAeAC53vWnoURVWhf4EFDz9uHvBwLvsm6YKyQg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795987004; h=Received:DKIM-Signature:Date:To:From:Subject:Message-Id; bh=lBaeh0odn3QdfqPrLy1fWtQfxPPtOU5Ckqc0L2X1LZo=; b=JbfZdCj2xUKjKBgcaBwrOiOt/56AxWk9dVESxDS3QnEw7sc/IxddcrrcxWI3i1AvUdLX 21/jYWMGTcG+2Cxcwa9/ZSEZyNo50C60CU70fcyJwYVL2aHmKY6fkpA2HjdXc4zxY07zZ ickjbAsTf7KNVwo0fJSLiHYN5OjpuYbzf8zee0GNZ52CQqBdhb+W+dPPPO+O266KxE29g fmNq0gpaDCgnEJWncy/J6yDrb0kwLzlodOadi/7S9I6VEKcLFyc4CGDPMuIgteS0ca36/ 8cn5wu14IrhbqQf1TvAiaTvYexq+DfcjYR1eUQq6HBBRGtdgiFeMNGrO5PJZKliT3KQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=bcxNyo85; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34D34606A31C for ; Sun, 29 Nov 2026 21:16:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=bcxNyo85 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 264501F00898; Sun, 29 Nov 2026 21:16:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1795987003; bh=lBaeh0odn3QdfqPrLy1fWtQfxPPtOU5Ckqc0L2X1LZo=; h=Date:To:From:Subject; b=bcxNyo85027RJgSY2a7GKoC5eUlJrtCVXcVwUb/+4AKWyKdKUl3HZGNnsLRu9niid qj7HWL0T8lgRf38A7tG4GnwySSImVMzwbCYMHrqUeiskngFnetJkqEnqu2kL6EHB+z SgnOntXm4Td/u5rqSzUbFmob0UxNNvNi7Bxk7t1A= Date: Sun, 29 Nov 2026 13:16:42 -0800 To: mm-commits@vger.kernel.org,rppt@kernel.org,mason@kernel.org, leon@kernel.org,jgg@ziepe.ca,james.bottomley@hansenpartnership.com, hagen@jauu.net,david@kernel.org,akpm@linux-foundation.org From: Andrew Morton Subject: + mm-hmm-refuse-secretmem-vmas-in-hmm_range_fault-fix.patch added to mm-new branch Message-Id: <20261129211643.264501F00898@smtp.kernel.org> X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list The patch titled Subject: mm-hmm-refuse-secretmem-vmas-in-hmm_range_fault-fix has been added to the -mm mm-new branch. Its filename is mm-hmm-refuse-secretmem-vmas-in-hmm_range_fault-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-hmm-refuse-secretmem-vmas-in-hmm_range_fault-fix.patch This patch will later appear in the mm-new branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Note, mm-new is a provisional staging ground for work-in-progress patches, and acceptance into mm-new is a notification for others take notice and to finish up reviews. Please do not hesitate to respond to review feedback and post updated versions to replace or incrementally fixup patches in mm-new. The mm-new branch of mm.git is not included in linux-next If a few days of testing in mm-new is successful, the patch will me moved into mm.git's mm-unstable branch, which is included in linux-next Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via various branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there most days ------------------------------------------------------ From: Andrew Morton Subject: mm-hmm-refuse-secretmem-vmas-in-hmm_range_fault-fix Date: Sun Nov 29 01:16:10 PM PST 2026 s/directmap/direct map/, per Mike Signed-off-by: Andrew Morton Cc: Chris Mason Cc: David Hildenbrand (Arm) Cc: Hagen Paul Pfeifer Cc: James Bottomley Cc: Jason Gunthorpe Cc: Leon Romanovsky Cc: Mike Rapoport (Microsoft) mm/hmm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/hmm.c~mm-hmm-refuse-secretmem-vmas-in-hmm_range_fault-fix +++ a/mm/hmm.c @@ -612,7 +612,7 @@ static int hmm_vma_walk_test(unsigned lo * * Devices must not gain ordinary write access to shadow stacks. * - * secretmem folios have no directmap and drivers are not aware of + * secretmem folios have no direct map and drivers are not aware of * that; refuse such mappings, just like GUP does. * * If a fault is requested for an unsupported range then it is a hard _ Patches currently in -mm which might be from akpm@linux-foundation.org are mm-vma-drop-mm-asynchronously-in-vma_start_read-fix.patch mm-vma-drop-mm-asynchronously-in-vma_start_read-fix-2.patch kselftest-mm-rename-read_pmd_pagesize-to-pmd_psize-fix.patch selftests-mm-check-madv_cold-and-madv_pageout-on-partly-advised-thps-fix.patch selftests-mm-add-uffdio_move-huge-zeropage-pmd-regression-test-fix.patch selftests-mm-allocate-nr_pages-based-on-pmd-size-for-uffd-pmd_move-tests-fix.patch selftests-mm-retain-move-pmd-coverage-and-verify-huge-pmds.patch lib-test_xarray-check-unused-spare-node-after-range-creation.patch mm-memory-failure-dont-unpoison-a-leaked-raw_hwp_unreliable-folio-fix.patch mm-hugetlb-delay-anon-folio-rmap-removal-until-after-the-tlb-flush-fix.patch mm-hugetlb-delay-anon-folio-rmap-removal-until-after-the-tlb-flush-fix-2.patch mm-vmstat_kunit-add-synthetic-benchmark-for-mm-stats-fix.patch mm-prevent-pre-content-bypass-through-mremap-and-remap_file_pages.patch afs-do-not-put-error-pointer-after-address-lookup-failure.patch selftests-mm-check-that-fsync-reports-hard-poisoned-dirty-page-cache.patch selftests-mm-memory-failure-truncate-poisoned-fuse-page-cache-before-teardown.patch selftests-mm-memory-failure-skip-poisoned-dirty-page-cache-on-nilfs2.patch selftest-mm-memory-failure-keep-page-cache-files-linked-until-cleanup.patch selftest-mm-memory-failure-keep-page-cache-files-linked-until-cleanup-fix.patch selftests-mm-memory-failure-skip-hard-dirty-page-cache-test-on-cephfs.patch selftests-mm-memory-failure-close-dirty-page-cache-files-before-unlinking-them.patch selftests-mm-memory-failure-extend-page-cache-test-files-with-pwrite.patch selftests-mm-memory-failure-write-the-whole-page-cache-test-file-for-omfs.patch selftests-mm-memory-failure-accept-eio-from-close-after-poisoning-dirty-data.patch alloc_tag-introduce-ioctls-to-toggle-allocation-tracepoints-fix-fix.patch alloc_tag-introduce-ioctls-to-toggle-allocation-tracepoints-fix.patch mm-vmscan-scope-freeze-writeback-skip-to-the-reclaim-target.patch mm-vmscan-scope-freeze-writeback-skip-to-the-reclaim-target-fix.patch mm-hmm-refuse-secretmem-vmas-in-hmm_range_fault-fix.patch ocfs2-unregister-the-jbd2-shrinker-before-journal-shutdown.patch ipc-msg-clamp-negative-msg_info-usage-counts.patch squashfs-fix-leaked-page-locks-when-page-actor-allocation-fails-fix.patch ocfs2-skip-network-flush-when-no-domain-handlers-are-registered.patch selftests-ptrace-check-that-ptrace_set_syscall_info-rejects-invalid-error-values-fix.patch kernfs-fix-a-race-on-the-count-of-mmapped-files.patch kernfs-path-lookup-scalability-improvements.patch kernfs-path-lookup-scalability-improvements-fix.patch kernfs-make-getattr-lockless.patch kernfs-make-getattr-lockless-fix.patch kernfs-open-and-close-plain-files-without-the-open-file-mutex.patch kernfs-keep-the-kernfs_open_node-for-a-while-after-the-last-close.patch kernfs-open-and-close-files-with-release-without-the-open-file-mutex.patch drivers-media-v4l2-core-v4l2-vp9c-reduce-inlining.patch