Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update description of ERR_INFO.etype = 0x2 for AMO transactions and fix inconsistency #40

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tyshyu
Copy link
Contributor

@tyshyu tyshyu commented Jan 22, 2025

In V0.9.2-RC3, ERR_INFO.etype = 0x2 is"illegal write access". However, to cover atomic memory operation (AMO) transactions, ERR_INFO.etype = 0x2 should be "illegal write access/AMO". It is like mcause "Store/AMO access fault" (0x7) in a RISC-V hart.

The PR updates related words for ERR_INFO.etype = 0x2.
BTW, some inconsistencies about ERR_INFO.etype = 0x3 are also fixed in the PR.

The following list the updates:

  • Add AMO (atomic memory operation) to Table 1. Glossary and Acronyms in chapter2.adoc.
  • Update some words about "illegal write access" to "illegal write access/AMO" in chapter2.adoc.
  • Add a note about an AMO transaction must be granted by checking read and write access permissions in chapter2.adoc.
  • Update description of ERR_INFO.etype = 0x2 in chapter5.adoc, it should be "illegal write access/AMO".
  • Update description of ERR_INFO.ttype = 0x2 in chapter5.adoc, it should be "write access/AMO".
  • Fix some inconsistencies about ERR_INFO.etype = 0x3.

* Add AMO (atomic memory operation) to Table 1. Glossary and Acronyms in chapter2.adoc.
* Update some words about "illegal write access" to "illegal write access/AMO" in chapter2.adoc.
* Add a note about an AMO transaction must be granted by checking read and write access permissions in chapter2.adoc.
* Update description of ERR_INFO.etype = 0x2 in chapter5.adoc, it should be "illegal write access/AMO".
* Update description of ERR_INFO.ttype = 0x2 in chapter5.adoc, it should be "write access/AMO".

Signed-off-by: tyshyu <[email protected]>
Fix some inconsistency about illegal instruction fetch.

Signed-off-by: tyshyu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant