diff options
author | Andrea Parri <andrea.parri@amarulasolutions.com> | 2019-02-19 17:55:23 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-06-19 12:32:10 -0400 |
commit | 37c600a3cc8a6941d77e853ec4e0e33fffa1046b (patch) | |
tree | 38265e1468bf9e0b901c9c982be159de773aba27 | |
parent | 46f52b1fe79d2453467b904600ae4759808c4a44 (diff) |
tools/memory-model: Do not use "herd" to refer to "herd7"
Use "herd7" in each such reference.
Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: David Howells <dhowells@redhat.com>
Cc: Jade Alglave <j.alglave@ucl.ac.uk>
Cc: Luc Maranget <luc.maranget@inria.fr>
Cc: "Paul E. McKenney" <paulmck@linux.ibm.com>
Cc: Akira Yokosawa <akiyks@gmail.com>
Cc: Daniel Lustig <dlustig@nvidia.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
-rw-r--r-- | tools/memory-model/litmus-tests/README | 2 | ||||
-rw-r--r-- | tools/memory-model/lock.cat | 2 | ||||
-rw-r--r-- | tools/memory-model/scripts/README | 4 | ||||
-rwxr-xr-x | tools/memory-model/scripts/checkalllitmus.sh | 2 | ||||
-rwxr-xr-x | tools/memory-model/scripts/checklitmus.sh | 2 | ||||
-rw-r--r-- | tools/memory-model/scripts/parseargs.sh | 2 | ||||
-rw-r--r-- | tools/memory-model/scripts/runlitmushist.sh | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/tools/memory-model/litmus-tests/README b/tools/memory-model/litmus-tests/README index 5ee08f129094..681f9067fa9e 100644 --- a/tools/memory-model/litmus-tests/README +++ b/tools/memory-model/litmus-tests/README | |||
@@ -244,7 +244,7 @@ produce the name: | |||
244 | Adding the ".litmus" suffix: SB+rfionceonce-poonceonces.litmus | 244 | Adding the ".litmus" suffix: SB+rfionceonce-poonceonces.litmus |
245 | 245 | ||
246 | The descriptors that describe connections between consecutive accesses | 246 | The descriptors that describe connections between consecutive accesses |
247 | within the cycle through a given litmus test can be provided by the herd | 247 | within the cycle through a given litmus test can be provided by the herd7 |
248 | tool (Rfi, Po, Fre, and so on) or by the linux-kernel.bell file (Once, | 248 | tool (Rfi, Po, Fre, and so on) or by the linux-kernel.bell file (Once, |
249 | Release, Acquire, and so on). | 249 | Release, Acquire, and so on). |
250 | 250 | ||
diff --git a/tools/memory-model/lock.cat b/tools/memory-model/lock.cat index a059d1a6d8a2..6b52f365d73a 100644 --- a/tools/memory-model/lock.cat +++ b/tools/memory-model/lock.cat | |||
@@ -11,7 +11,7 @@ | |||
11 | include "cross.cat" | 11 | include "cross.cat" |
12 | 12 | ||
13 | (* | 13 | (* |
14 | * The lock-related events generated by herd are as follows: | 14 | * The lock-related events generated by herd7 are as follows: |
15 | * | 15 | * |
16 | * LKR Lock-Read: the read part of a spin_lock() or successful | 16 | * LKR Lock-Read: the read part of a spin_lock() or successful |
17 | * spin_trylock() read-modify-write event pair | 17 | * spin_trylock() read-modify-write event pair |
diff --git a/tools/memory-model/scripts/README b/tools/memory-model/scripts/README index 29375a1fbbfa..095c7eb36f9f 100644 --- a/tools/memory-model/scripts/README +++ b/tools/memory-model/scripts/README | |||
@@ -22,7 +22,7 @@ checklitmushist.sh | |||
22 | 22 | ||
23 | Run all litmus tests having .litmus.out files from previous | 23 | Run all litmus tests having .litmus.out files from previous |
24 | initlitmushist.sh or newlitmushist.sh runs, comparing the | 24 | initlitmushist.sh or newlitmushist.sh runs, comparing the |
25 | herd output to that of the original runs. | 25 | herd7 output to that of the original runs. |
26 | 26 | ||
27 | checklitmus.sh | 27 | checklitmus.sh |
28 | 28 | ||
@@ -43,7 +43,7 @@ initlitmushist.sh | |||
43 | 43 | ||
44 | judgelitmus.sh | 44 | judgelitmus.sh |
45 | 45 | ||
46 | Given a .litmus file and its .litmus.out herd output, check the | 46 | Given a .litmus file and its .litmus.out herd7 output, check the |
47 | .litmus.out file against the .litmus file's "Result:" comment to | 47 | .litmus.out file against the .litmus file's "Result:" comment to |
48 | judge whether the test ran correctly. Not normally run manually, | 48 | judge whether the test ran correctly. Not normally run manually, |
49 | provided instead for use by other scripts. | 49 | provided instead for use by other scripts. |
diff --git a/tools/memory-model/scripts/checkalllitmus.sh b/tools/memory-model/scripts/checkalllitmus.sh index b35fcd61ecf6..3c0c7fbbd223 100755 --- a/tools/memory-model/scripts/checkalllitmus.sh +++ b/tools/memory-model/scripts/checkalllitmus.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # SPDX-License-Identifier: GPL-2.0+ | 2 | # SPDX-License-Identifier: GPL-2.0+ |
3 | # | 3 | # |
4 | # Run herd tests on all .litmus files in the litmus-tests directory | 4 | # Run herd7 tests on all .litmus files in the litmus-tests directory |
5 | # and check each file's result against a "Result:" comment within that | 5 | # and check each file's result against a "Result:" comment within that |
6 | # litmus test. If the verification result does not match that specified | 6 | # litmus test. If the verification result does not match that specified |
7 | # in the litmus test, this script prints an error message prefixed with | 7 | # in the litmus test, this script prints an error message prefixed with |
diff --git a/tools/memory-model/scripts/checklitmus.sh b/tools/memory-model/scripts/checklitmus.sh index dd08801a30b0..11461ed40b5e 100755 --- a/tools/memory-model/scripts/checklitmus.sh +++ b/tools/memory-model/scripts/checklitmus.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # SPDX-License-Identifier: GPL-2.0+ | 2 | # SPDX-License-Identifier: GPL-2.0+ |
3 | # | 3 | # |
4 | # Run a herd test and invokes judgelitmus.sh to check the result against | 4 | # Run a herd7 test and invokes judgelitmus.sh to check the result against |
5 | # a "Result:" comment within the litmus test. It also outputs verification | 5 | # a "Result:" comment within the litmus test. It also outputs verification |
6 | # results to a file whose name is that of the specified litmus test, but | 6 | # results to a file whose name is that of the specified litmus test, but |
7 | # with ".out" appended. | 7 | # with ".out" appended. |
diff --git a/tools/memory-model/scripts/parseargs.sh b/tools/memory-model/scripts/parseargs.sh index 859e1d581e05..40f52080fdbd 100644 --- a/tools/memory-model/scripts/parseargs.sh +++ b/tools/memory-model/scripts/parseargs.sh | |||
@@ -91,7 +91,7 @@ do | |||
91 | shift | 91 | shift |
92 | ;; | 92 | ;; |
93 | --herdopts|--herdopt) | 93 | --herdopts|--herdopt) |
94 | checkarg --destdir "(herd options)" "$#" "$2" '.*' '^--' | 94 | checkarg --destdir "(herd7 options)" "$#" "$2" '.*' '^--' |
95 | LKMM_HERD_OPTIONS="$2" | 95 | LKMM_HERD_OPTIONS="$2" |
96 | shift | 96 | shift |
97 | ;; | 97 | ;; |
diff --git a/tools/memory-model/scripts/runlitmushist.sh b/tools/memory-model/scripts/runlitmushist.sh index e507f5f933d5..6ed376f495bb 100644 --- a/tools/memory-model/scripts/runlitmushist.sh +++ b/tools/memory-model/scripts/runlitmushist.sh | |||
@@ -79,7 +79,7 @@ then | |||
79 | echo ' ---' Summary: 1>&2 | 79 | echo ' ---' Summary: 1>&2 |
80 | grep '!!!' $T/*.sh.out 1>&2 | 80 | grep '!!!' $T/*.sh.out 1>&2 |
81 | nfail="`grep '!!!' $T/*.sh.out | wc -l`" | 81 | nfail="`grep '!!!' $T/*.sh.out | wc -l`" |
82 | echo 'Number of failed herd runs (e.g., timeout): ' $nfail 1>&2 | 82 | echo 'Number of failed herd7 runs (e.g., timeout): ' $nfail 1>&2 |
83 | exit 1 | 83 | exit 1 |
84 | else | 84 | else |
85 | echo All runs completed successfully. 1>&2 | 85 | echo All runs completed successfully. 1>&2 |