These tests pass now that HVX is modeled for system emulation.

Signed-off-by: Brian Cain <[email protected]>
---
 tests/functional/hexagon/test_arch_tests.py | 7 +++++++
 tests/functional/hexagon/test_systests.py   | 6 ++++++
 2 files changed, 13 insertions(+)

diff --git a/tests/functional/hexagon/test_arch_tests.py 
b/tests/functional/hexagon/test_arch_tests.py
index 40f76e25ae6..28bf2f02d39 100755
--- a/tests/functional/hexagon/test_arch_tests.py
+++ b/tests/functional/hexagon/test_arch_tests.py
@@ -119,6 +119,13 @@ def test_user_mode(self) -> None:
         """
         self.run_uart_test("test_user_mode")
 
+    def test_hvx_context(self) -> None:
+        """Tests the HVX coprocessor context: SSR XA context selection
+        and isolation, vsplat/store, and the NO_COPROC_ENABLE exception
+        raised when SSR:XE is clear.
+        """
+        self.run_uart_test("test_hvx_context")
+
 
 if __name__ == "__main__":
     QemuSystemTest.main()
diff --git a/tests/functional/hexagon/test_systests.py 
b/tests/functional/hexagon/test_systests.py
index 2779efa9172..c8137a71713 100755
--- a/tests/functional/hexagon/test_systests.py
+++ b/tests/functional/hexagon/test_systests.py
@@ -99,5 +99,11 @@ def test_mmu_multi_tlb(self):
     def test_timer_reg(self):
         self.run_exit_zero("timer_reg")
 
+    def test_hvx_multi(self):
+        self.run_exit_zero("hvx-multi")
+
+    def test_standalone_vec(self):
+        self.run_exit_zero("standalone_vec")
+
 if __name__ == "__main__":
     QemuSystemTest.main()
-- 
2.34.1

Reply via email to