Closed arichardson closed 1 month ago
What should the spec of ASR be? What additional state does it allow access to over CSRs?
I guess you could argue that instructions like xret
actually read the CSR so ASR isn't needed for the instruction itself but rather the side-effects of that instruction. We can probably ignore this until there is another non-CSR case that needs elevated privilege.
I do wonder if we should require it for ECALL though...
Personally of the options given I prefer "Elevated (E)" - Privileged invites confusion with privilege levels, and System Management has implications about resource scope which may not be accurate.
@arichardson do you want to do something about this one? Or shelve it?
@arichardson : Can we close this ticket?
Let's close this and keep it as is.
As has been noted before, ASR grants additional privilege beyond CSR access so the historical "Access System Registers" name may not be the best. Morello uses System which is IMO better, but the abbreviation would conflict with
S
for Store, maybePrivileged Permission (P)
/Elevated Permission (E)
/System Management Permission (SM)
?