Skip to content

Update Infoflow and CapDL proofs for explicit fpu changes #891

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

Open
wants to merge 4 commits into
base: explicit_fpu_other_arches
Choose a base branch
from

Conversation

ryybrr
Copy link
Contributor

@ryybrr ryybrr commented Apr 22, 2025

Fix breakages up the proof stack for ARM and RISCV64

Test with seL4/seL4#1325

@ryybrr ryybrr requested review from lsf37 and corlewis April 22, 2025 06:54
Copy link
Member

@corlewis corlewis left a comment

Choose a reason for hiding this comment

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

Looks good and thanks for doing this!

Comment on lines +158 to +159
crunch arch_prepare_set_domain
for inv[IRQMasks_IF_assms,wp]: P
Copy link
Member

Choose a reason for hiding this comment

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

It looks like this is proved both here and in ArchFinalCaps. I'm not sure what the imports look like and they might make it hard, but it would be nice not to introduce more duplication.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There wasn't a simple common ancestor. I'll have another look.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

IRQMasks_IF imports Access.ArchDomainSepInv and is used after FinalCaps. I could change dependencies, but maybe not ideal?

Copy link
Member

@lsf37 lsf37 left a comment

Choose a reason for hiding this comment

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

Looks good from my side! Corey has already caught everything I was going to comment on :-)

@lsf37
Copy link
Member

lsf37 commented Apr 22, 2025

Are we expecting DPolicy to pass in this one? There were changes in that file, IIRC.

@ryybrr
Copy link
Contributor Author

ryybrr commented Apr 23, 2025

Are we expecting DPolicy to pass in this one? There were changes in that file, IIRC.

Think it only works after my access changes, will remove here

@ryybrr ryybrr force-pushed the ryanb_explicit_fpu branch from 14aac05 to 8e5732d Compare April 23, 2025 00:48
@corlewis corlewis force-pushed the explicit_fpu_other_arches branch 2 times, most recently from fcb1d21 to fe8bef4 Compare April 24, 2025 00:15
ryybrr and others added 4 commits April 24, 2025 10:49
Signed-off-by: Ryan Barry <ryan.barry@proofcraft.systems>
Signed-off-by: Ryan Barry <ryan.barry@proofcraft.systems>
Signed-off-by: Ryan Barry <ryan.barry@proofcraft.systems>
Signed-off-by: Corey Lewis <corey.lewis@proofcraft.systems>
@ryybrr ryybrr force-pushed the ryanb_explicit_fpu branch from 8e5732d to 505a1c8 Compare April 24, 2025 00:52
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