sel4test icon indicating copy to clipboard operation
sel4test copied to clipboard

Add test for AArch64 cache instructions

Open Ivan-Velickovic opened this issue 1 year ago • 0 comments

This patch adds a simple test to ensure that the instructions for cache maintenance from user-space succeed (when the kernel is configured to allow it).

It does not test that the cache operations produce the right side affects, just that they don't cause a fault/exception.

I did not add a test to check that a fault does occur if CONFIG_AARCH64_USER_CACHE_ENABLE is not enabled, since sel4test is only run with that config operation enabled.

Ivan-Velickovic avatar Jul 24 '23 05:07 Ivan-Velickovic