[PATCH V15 1/6] mm: softdirty: Add pgtable_supports_soft_dirty()
Lorenzo Stoakes
lorenzo.stoakes at oracle.com
Fri Nov 21 08:57:17 PST 2025
Hi Chunyan,
This breaks the VMA tests. Don't worry it's not exactly an obvious thing.
You can test this via:
$ cd tools/testing/vma
$ make && ./vma
(Currently we also have another breakage too which I'll chase up separately.)
Andrew - Could we simply apply the attached fix-patch?
I know this is in mm-stable now so ugh maybe we'll have some commits where VMA
tests are broken (not nice for bisection), but anyway we need to fix this even
so even if it has to be a follow up patch.
Thanks, Lorenzo
----8<----
>From b68d84af7030ac6db6174749a5b822d9afad8ff6 Mon Sep 17 00:00:00 2001
From: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>
Date: Fri, 21 Nov 2025 16:55:37 +0000
Subject: [PATCH] fixup
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes at oracle.com>
---
tools/testing/vma/vma_internal.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/testing/vma/vma_internal.h b/tools/testing/vma/vma_internal.h
index 81b501f51948..be99056c5d56 100644
--- a/tools/testing/vma/vma_internal.h
+++ b/tools/testing/vma/vma_internal.h
@@ -212,6 +212,8 @@ typedef __bitwise unsigned int vm_fault_t;
#define ASSERT_EXCLUSIVE_WRITER(x)
+#define pgtable_supports_soft_dirty() 1
+
/**
* swap - swap values of @a and @b
* @a: first value
--
2.51.2
More information about the linux-riscv
mailing list