-
Notifications
You must be signed in to change notification settings - Fork 108
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
make proofs generic in cacheLineBits #814
Commits on Sep 1, 2024
-
word_lib: shiftr is always less than max word
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Configuration menu - View commit details
-
Copy full SHA for 32d3eba - Browse repository at this point
Copy the full SHA 32d3ebaView commit details
Commits on Sep 24, 2024
-
haskell: mark cacheLineBits as defined in Isabelle
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Configuration menu - View commit details
-
Copy full SHA for aec9cff - Browse repository at this point
Copy the full SHA aec9cffView commit details -
arm+arm-hyp+aarch64 machine: cacheLineBits from kernel config
Use generated CONFIG_L1_CACHE_LINE_SIZE_BITS as source of truth for the value of cacheLineBits The requirements for cacheLineBits are numeric: we need more than 1 and less than or equal to ptBits, which is only available as a constant after ExecSpec. 1 is excluded, because we want to be able to fold the value of cacheLineBits inside C cache operations, and 1 is mentioned as index increment. No other numerals conflict in these functions. The only observed values for cacheLineBits are 5 and 6 on Arm, but there is no need to be more restrictive than cacheLineBits_sanity. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Configuration menu - View commit details
-
Copy full SHA for 85308be - Browse repository at this point
Copy the full SHA 85308beView commit details -
x64 machine: remove unused cacheLineBits
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Configuration menu - View commit details
-
Copy full SHA for 57955b3 - Browse repository at this point
Copy the full SHA 57955b3View commit details -
arm+arm-hyp ainvs: remove unfoldings of cacheLineBits
None of the unfoldings of cacheLineBits turn out to be necessary. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Configuration menu - View commit details
-
Copy full SHA for b4e12a3 - Browse repository at this point
Copy the full SHA b4e12a3View commit details -
arm-hyp ainvs+crefine: move masking lemmas for cacheLineBits
addrFromPPtr_mask and ptrFromPAddr_mask are only needed for masking with cacheLineBits in CRefine. Move to CRefine where the rest of the cacheLineBits infrastructure is. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Configuration menu - View commit details
-
Copy full SHA for d88b7d0 - Browse repository at this point
Copy the full SHA d88b7d0View commit details -
arm+arm-hyp crefine: make proof generic in cacheLineBits
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Configuration menu - View commit details
-
Copy full SHA for be1a406 - Browse repository at this point
Copy the full SHA be1a406View commit details -
aarch64 crefine: make proof generic in cacheLineBits
On AArch64 we have so far only seen cacheLineBits = 6 in the kernel. To be future-proof, bring AArch64 proofs into line with AArch32 anyway, rename cacheLineSize to cacheLineBits to stay consistent, and make proof generic in cacheLineBits. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Configuration menu - View commit details
-
Copy full SHA for 9abc160 - Browse repository at this point
Copy the full SHA 9abc160View commit details