Mesa (main): ci/freedreno: Try to detect a wedged MMU that's happened recently.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Feb 10 02:10:53 UTC 2022


Module: Mesa
Branch: main
Commit: d633eace3fd51fc5c2b7f141651bb8d90e879e1c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d633eace3fd51fc5c2b7f141651bb8d90e879e1c

Author: Emma Anholt <emma at anholt.net>
Date:   Tue Feb  8 21:20:53 2022 -0800

ci/freedreno: Try to detect a wedged MMU that's happened recently.

Possibly since the VK-GL-CTS 1.3.1.0 uprev.  It doesn't seem to recover,
like it says.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14945>

---

 .gitlab-ci/bare-metal/cros_servo_run.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci/bare-metal/cros_servo_run.py b/.gitlab-ci/bare-metal/cros_servo_run.py
index 23cebb0abee..042465e9872 100755
--- a/.gitlab-ci/bare-metal/cros_servo_run.py
+++ b/.gitlab-ci/bare-metal/cros_servo_run.py
@@ -156,6 +156,10 @@ class CrosServoRun:
                     "Detected spontaneous reboot, restarting run...")
                 return 2
 
+            if re.search("arm-smmu 5040000.iommu: TLB sync timed out -- SMMU may be deadlocked", line):
+                self.print_error("Detected cheza MMU fail, restarting run...")
+                return 2
+
             result = re.search("hwci: mesa: (\S*)", line)
             if result:
                 if result.group(1) == "pass":



More information about the mesa-commit mailing list