Mesa (master): ci/freedreno: Detect the cheza power management bus error and restart.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Dec 8 23:47:10 UTC 2020


Module: Mesa
Branch: master
Commit: 5fca7cd8b874562858e72d7a21e685c962f864de
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5fca7cd8b874562858e72d7a21e685c962f864de

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Dec  8 10:29:06 2020 -0800

ci/freedreno: Detect the cheza power management bus error and restart.

This is an issue on the cheza platform, the theory is due to some old
firmware bug that will be fixed in future platforms.  Given that cheza was
a target that didn't get released and we expect future platforms to be
fixed, just detect the issue and restart.

I've noticed this error in my CI monitoring less than once a week.

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

---

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

diff --git a/.gitlab-ci/bare-metal/cros_servo_run.py b/.gitlab-ci/bare-metal/cros_servo_run.py
index 54816fbc06a..a04dbf435a6 100755
--- a/.gitlab-ci/bare-metal/cros_servo_run.py
+++ b/.gitlab-ci/bare-metal/cros_servo_run.py
@@ -114,6 +114,12 @@ class CrosServoRun:
                     print("Detected intermittent tftp failure, restarting run...")
                     return 2
 
+            # There are very infrequent bus errors during power management transitions
+            # on cheza, which we don't expect to be the case on future boards.
+            if re.search("Kernel panic - not syncing: Asynchronous SError Interrupt", line):
+                print("Detected cheza power management bus error, restarting run...")
+                return 2
+
             result = re.search("bare-metal result: (\S*)", line)
             if result:
                 if result.group(1) == "pass":



More information about the mesa-commit mailing list