-
Notifications
You must be signed in to change notification settings - Fork 32
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
Tag memory PMA would be useful #84
Comments
@andresag01 has pointed out that this is included already. I think clearing the tag is useful in both directions (load and store) so that LC/SC can be used for performance. Therefore they become double width load/store which don't affect the tag state. So I think that the spec should be updated to include loading tags as zero as an option. |
Yes, there is currently a short section in Chapter 3. This is what it says:
Yes, sorry, I missed the load-side of this. |
@tariqkurd-repo: Please note that the load part is being fixed here: https://github.com/riscv/riscv-cheri/pull/54/files#diff-a99e635c97472fffc8cbe6ae563b95dceb0eb931705c6fa6d62df7ce586c981aR1096 |
yes - this was fixed by https://github.com/riscv/riscv-cheri/pull/54 |
In a real CHERI system it is useful to distinguish memory which is tag aware and memory which is not - i.e. doesn't support tags.
This will allow a CHERI core to mark memory bus transactions as
tag aware
ornon-tag aware
, to allow efficient handling.It seems reasonable that all cached memory is
tag aware
, but this may not be a firm requirement.Therefore I propose adding a new PMA attribute for this, with a recommendation that cached memory is tag aware.
The text was updated successfully, but these errors were encountered: