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

optionally simplify lm_perm #387

Merged
merged 4 commits into from
Oct 2, 2024

Conversation

tariqkurd-repo
Copy link
Collaborator

LM permission adds 4 cases to RV32:

output R
output RC
output original permissions
output no permissions (reserved cases only)

This note allows the implementation to propagate reserved permissions through ACPERM for improved timing in the design.
The reserved permissions cannot be used for dereferencing, and so this does not cause a security problem.

It's just an implementation defined note - no spec change (it's also ok to clear the permissions).

src/cap-description.adoc Outdated Show resolved Hide resolved
Copy link
Collaborator

@arichardson arichardson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor wording suggestion otherwise LGTM

src/cap-description.adoc Outdated Show resolved Hide resolved
Co-authored-by: Alexander Richardson <[email protected]>
Signed-off-by: Tariq Kurd <[email protected]>
@andresag01 andresag01 merged commit ff33a81 into riscv:main Oct 2, 2024
3 checks passed
tariqkurd-repo added a commit to tariqkurd-repo/riscv-cheri that referenced this pull request Oct 9, 2024
LM permission adds 4 cases to RV32:

output R
output RC
output original permissions
output no permissions (reserved cases only)

This note allows the implementation to propagate reserved permissions
through ACPERM for improved timing in the design.
The reserved permissions cannot be used for dereferencing, and so this
does not cause a security problem.

It's just an implementation defined note - no spec change (it's also ok
to clear the permissions).

---------

Signed-off-by: Tariq Kurd <[email protected]>
Co-authored-by: Alexander Richardson <[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.

3 participants