[PATCH] tests/functional/hexagon: add MTTCG regression coverage

Marco Liebel posted 1 patch 6 days, 9 hours ago
tests/functional/hexagon/test_systests.py | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
[PATCH] tests/functional/hexagon: add MTTCG regression coverage
Posted by Marco Liebel 6 days, 9 hours ago
Use the v0.3.4 standalone test package to cover guest fault state,
virtual RTE stack state, and concurrent TLB and IMASK updates.
Run guest state in both TCG modes and force MTTCG for the concurrent
tests so they exercise cross-thread updates.

Signed-off-by: Marco Liebel <marco.liebel@oss.qualcomm.com>
---
 tests/functional/hexagon/test_systests.py | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/tests/functional/hexagon/test_systests.py b/tests/functional/hexagon/test_systests.py
index 76e2480c1d3..6935d0dd3ab 100755
--- a/tests/functional/hexagon/test_systests.py
+++ b/tests/functional/hexagon/test_systests.py
@@ -22,9 +22,9 @@ class SysTestsStandaloneTests(QemuSystemTest):
 
     ASSET_TARBALL = Asset(
         "https://github.com/qualcomm/qemu-hexagon-testing/releases/"
-        "download/v0.3.1/systests_standalone.tar.gz",
-        "40163fa94d67a63e5ef645fc83682e4e"
-        "b56e1d79a9068614055e74f35d4cf70d",
+        "download/v0.3.4/systests_standalone.tar.gz",
+        "cee40e9f788dc021797e66cbae68e994"
+        "0b9382f0f89fc601ae35890eac2e5eea",
     )
 
     def setUp(self):
@@ -108,6 +108,18 @@ def test_bestwait(self):
     def test_mmu_multi_tlb(self):
         self.run_exit_zero("mmu_multi_tlb")
 
+    def test_guest_state(self):
+        self.run_exit_zero("guest_state", "-accel", "tcg,thread=single")
+
+    def test_guest_state_mttcg(self):
+        self.run_exit_zero("guest_state", "-accel", "tcg,thread=multi")
+
+    def test_mttcg_tlb(self):
+        self.run_exit_zero("mttcg_tlb", "-accel", "tcg,thread=multi")
+
+    def test_mttcg_imask(self):
+        self.run_exit_zero("mttcg_imask", "-accel", "tcg,thread=multi")
+
     def test_timer_reg(self):
         self.run_exit_zero("timer_reg")
 
-- 
2.43.0
Re: [PATCH] tests/functional/hexagon: add MTTCG regression coverage
Posted by Pierrick Bouvier 6 days, 8 hours ago
On 11/16/2026 10:38 AM, Marco Liebel wrote:
> Use the v0.3.4 standalone test package to cover guest fault state,
> virtual RTE stack state, and concurrent TLB and IMASK updates.
> Run guest state in both TCG modes and force MTTCG for the concurrent
> tests so they exercise cross-thread updates.
> 
> Signed-off-by: Marco Liebel <marco.liebel@oss.qualcomm.com>
> ---
>  tests/functional/hexagon/test_systests.py | 18 +++++++++++++++---
>  1 file changed, 15 insertions(+), 3 deletions(-)
> 

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>