Skip to content

Commit

Permalink
Merge pull request #4 from riscv/2-idempotency
Browse files Browse the repository at this point in the history
Remove example of non-atomic execution from handling of non-idempoten…
  • Loading branch information
christian-herber-nxp committed Mar 9, 2024
2 parents 3484257 + 9c9b96e commit 959f017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zilsd.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ It is implementation defined whether interrupts can also be taken during the seq

An implementation may have a requirement to issue a load/store pair instruction to non-idempotent memory.

If the core implementation does not support Zilsd instructions to non-idempotent memories (e.g. if atomicity cannot be guaranteed), the core may use an idempotency PMA to detect it and take a load or store access fault exception in order to avoid unpredictable results.
If the core implementation does not support Zilsd instructions to non-idempotent memories, the core may use an idempotency PMA to detect it and take a load or store access fault exception in order to avoid unpredictable results.

Software should only use these instructions on non-idempotent memory regions when software can tolerate the required memory accesses being issued repeatedly in the case that they cause exceptions.

0 comments on commit 959f017

Please sign in to comment.