arm64: mte: Report async tag faults before suspend
[linux-2.6-microblaze.git] / arch / arm64 / kernel / suspend.c
index d756489..6fdc829 100644 (file)
@@ -91,6 +91,9 @@ int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
        unsigned long flags;
        struct sleep_stack_data state;
 
+       /* Report any MTE async fault before going to suspend */
+       mte_suspend_enter();
+
        /*
         * From this point debug exceptions are disabled to prevent
         * updates to mdscr register (saved and restored along with