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

Revocation control test revocation happens. #364

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

marnovandermaas
Copy link
Contributor

@marnovandermaas marnovandermaas commented Dec 6, 2024

The test now writes two capabilities to the end of SRAM, one with base zero and one with base at the end of SRAM. After the sweep it checks that the base zero capability's tag stays in tact while the one at the end of SRAM is cleared. Note this is different from the CLC test because the revocation tags are cleared before testing so the CLC will not clear the tags if the hardware revoker hasn't already.

@marnovandermaas
Copy link
Contributor Author

This PR was made to address the following comment: #358 (comment)

The test now writes two capabilities to the end of SRAM, one with base
zero and one with base at the end of SRAM. After the sweep it checks
that the base zero capability's tag stays in tact while the one at the
end of SRAM is cleared. Note this is different from the CLC test because
the revocation tags are cleared before testing so the CLC will not clear
the tags if the hardware revoker hasn't already.
Copy link
Contributor

@AlexJones0 AlexJones0 left a comment

Choose a reason for hiding this comment

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

Thanks @marnovandermaas - especially for the comments, they're very helpful for understanding what the code is doing. I've tested this in simulation and it appears to pass as expected, so it'd be good to get this in and improve the check.

@marnovandermaas marnovandermaas merged commit e0eb5dc into lowRISC:main Dec 13, 2024
3 checks passed
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.

2 participants