Skip to content

Priv tests Updates for SVADU, and SAIL

Eclipse Webmaster requested to merge github/fork/kipmacsaigoren/priv-tests into main

Created by: kipmacsaigoren

Updated privilege tests to pass correctly when SVADU is enabled. 'Make allclean' will be necessary for regression to pass again.

Previously it was assumed that SVADU was disabled, so accessing a page where A or D is 0 caused a page fault and the software could trap to fix A/D bits. Now, when SVADU is assumed to be enabled, accessing a page where A or D is 0 works without trapping while the hardware fixes the A/D bits in the background. The virtual memory tests (SV32, SV39, SV48) have all had a version added to regression where SVADU is assumed to be enabled. The old tests still exist, but have been removed from regression.

In addition, all the WALLY tests have been checked to make sure their non-use of sail was needed, and unnecessary lines in the reference outputs were removed.

Merge request reports

Loading