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

UATG release v1.5.0 #24

Merged
merged 49 commits into from
May 7, 2022
Merged

UATG release v1.5.0 #24

merged 49 commits into from
May 7, 2022

Conversation

Alenkruth
Copy link
Contributor

@Alenkruth Alenkruth commented May 6, 2022

multiple updates to UATG including but not limited to

Alenkruth and others added 30 commits March 3, 2022 17:58
- S-mode trap handler is a copy of the M-trap handler with minor modifications
- fix error in loading from/to mem in the load/store page fault handler
- fix temp registor back-up and restore arrangement to not overwrite values required for test execution
purushothaman-p and others added 19 commits April 22, 2022 18:31
- add try and except for checking the pte_dict from the plugin for superpage and misaligned page flags
- update the setup_page function call in the test.
- update the trap handler to handle misaligned giga and mega page faults
- update the setup_pages function in utils to generate misaligned superpages
- make a0 and a1 registers zero when terapage/petapages are generated by plugin so that misaligned tera/petapage are not attempted to handle by the traphandler
- add a new ``possible_superpage_privilege`` dictionary containing the possible superpage configurations based on privilege mode
- update the existing ``possible_superpage_variants`` with tera and petapage to enable their generation
- remove redundant comment in test_generator
fix the misaligned page handling in the load/store and instruction page fault handlers by directly updating the faulting PTE with a valid aligned address.
- fix misaligned superpage test generation
As mentioned in #21, this commit attempts to split the arch test file into
privileged and upnprivileged files which contain the macros as mentioned in the issue.
…t files

- in utils, the macro parser method is updated to parse macros in both the header files
- the test generator parses the compile_macros list returned by the plugin and Identifies if the privileged header needs to be included. If the privileged header is required, a new macro ``privileged_test_enable`` is added to the compile_macros list returned from the plugin
split arch_test into arch_test_priv and arch_test_unpriv
- update outdated supervisor trap handler to match with the machine handler
- remove errors in trap handling
@neelgala neelgala removed the request for review from purushothaman-p May 7, 2022 03:56
@neelgala neelgala merged commit aa3b5f3 into main May 7, 2022
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.

Split arch_test.h into two files
3 participants