Skip to content

Commit

Permalink
src/mte_tag: tagged memory and tagged storage are idempotent (#14)
Browse files Browse the repository at this point in the history
Signed-off-by: Deepak Gupta <[email protected]>
  • Loading branch information
deepak0414 authored Jan 6, 2025
1 parent edec8b9 commit 05e8ec6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/mte_tag.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,9 @@ splitted stores.
`settag/setinvtag` can raise store page fault or access fault depending on
how tag storage is oragnized. If implementation doesn't support misaligned
accesses, `settag/setinvtag` instruction can raise misaligned exception if
calculated address for locating tag is unaligned.
calculated address for locating tag is unaligned. Tag storage memory must be
idempotent memory else `settag/setinvtag` raise store/AMO access-fault
exception.

[[TAG_CHECKS]]
=== tag checks
Expand Down Expand Up @@ -317,6 +319,8 @@ environment.
If memory tagging is enabled for the current execution environment (see
<<MEM_TAG_EN>>) and PTE.MTAG = 1, then the page is considered a tagged page and
load / stores to such a page are subject to tag checks (see <<TAG_CHECKS>>).
Underlying tagged page must be idempotent memory else tag look up for referenced
virtual memory will result in load access-fault exception.

[NOTE]
====
Expand Down

0 comments on commit 05e8ec6

Please sign in to comment.