aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Traynor <wmat@riscv.org>2024-04-29 19:10:38 -0400
committerGitHub <noreply@github.com>2024-04-29 19:10:38 -0400
commit903996c3c6152b456e9747a85125f96091ae04a7 (patch)
treebc42b6bb0c255805110fba9043e5f4ae4d0f202d
parent704d8a645df3a157f955cfff02ecba05075c4672 (diff)
parent491f57ff5933dc8fbb5ed3e4ea16636f1b2c859d (diff)
downloadriscv-isa-manual-903996c3c6152b456e9747a85125f96091ae04a7.zip
riscv-isa-manual-903996c3c6152b456e9747a85125f96091ae04a7.tar.gz
riscv-isa-manual-903996c3c6152b456e9747a85125f96091ae04a7.tar.bz2
Merge pull request #1373 from riscv/1372-chapter-71-issuesriscv-isa-release-903996c-2024-04-29
-rw-r--r--src/smcntrpmf.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smcntrpmf.adoc b/src/smcntrpmf.adoc
index cc43b51..4130002 100644
--- a/src/smcntrpmf.adoc
+++ b/src/smcntrpmf.adoc
@@ -4,12 +4,12 @@
[[intro]]
=== Introduction
-The cycle and instret counters serve to support user mode self-profiling usages, wherein a user can read the counter(s) twice and compute the delta(s) to evaluate user software performance and behavior. Currently, these counters are not filtered by privilege mode, and thus they continue to increment while traps (e.g., page faults or interrupts) to more privileged code are handled. This causes two problems:
+The cycle and instret counters serve to support user mode self-profiling usages, wherein a user can read the counter(s) twice and compute the delta(s) to evaluate user software performance and behavior. By default, these counters are not filtered by privilege mode, and thus they continue to increment while traps (e.g., page faults or interrupts) to more privileged code are handled. This causes two problems:
* It introduces unpredictable noise to the counter values observed by the user.
* It leaks information about privileged software execution to user mode.
-This proposal remedies these issues by introducing privilege mode filtering for the cycle and instret counters.
+Smcntrpmf remedies these issues by introducing privilege mode filtering for the cycle and instret counters.
[[csrs]]
=== CSRs