aboutsummaryrefslogtreecommitdiffstats
path: root/tools/memory-model/README
diff options
context:
space:
mode:
authorJonas Oberhauser <jonas.oberhauser@huaweicloud.com>2024-09-30 12:57:09 +0200
committerPaul E. McKenney <paulmck@kernel.org>2025-02-25 10:16:57 -0800
commitfafa180683591f5f917bfa68e95aae463afc852a (patch)
treee8401ed5a3804c81b07416bd0241acba8a0dc2dd /tools/memory-model/README
parenttools/memory-model: Define effect of Mb tags on RMWs in tools/... (diff)
downloadlinux-fafa180683591f5f917bfa68e95aae463afc852a.tar.gz
linux-fafa180683591f5f917bfa68e95aae463afc852a.zip
tools/memory-model: Switch to softcoded herd7 tags
A new version of herd7 provides a -lkmmv2 switch which overrides the old herd7 behavior of simply ignoring any softcoded tags in the .def and .bell files. We port LKMM to this version of herd7 by providing the switch in linux-kernel.cfg and reporting an error if the LKMM is used without this switch. To preserve the semantics of LKMM, we also softcode the Noreturn tag on atomic RMW which do not return a value and define atomic_add_unless with an Mb tag in linux-kernel.def. We update the herd-representation.txt accordingly and clarify some of the resulting combinations. Co-developed-by: Hernan Ponce de Leon <hernan.poncedeleon@huaweicloud.com> Signed-off-by: Hernan Ponce de Leon <hernan.poncedeleon@huaweicloud.com> Signed-off-by: Jonas Oberhauser <jonas.oberhauser@huaweicloud.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Tested-by: Boqun Feng <boqun.feng@gmail.com> Tested-by: Akira Yokosawa <akiyks@gmail.com> # herdtools7.7.58
Diffstat (limited to 'tools/memory-model/README')
-rw-r--r--tools/memory-model/README2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/memory-model/README b/tools/memory-model/README
index dab38904206a..59bc15edeb8a 100644
--- a/tools/memory-model/README
+++ b/tools/memory-model/README
@@ -20,7 +20,7 @@ that litmus test to be exercised within the Linux kernel.
REQUIREMENTS
============
-Version 7.52 or higher of the "herd7" and "klitmus7" tools must be
+Version 7.58 or higher of the "herd7" and "klitmus7" tools must be
downloaded separately:
https://github.com/herd/herdtools7