diff mbox series

klog.json: Add some missing einj kernel messages to klog database

Message ID 20230927103020.126961-1-ivan.hu@canonical.com
State Accepted
Headers show
Series klog.json: Add some missing einj kernel messages to klog database | expand

Commit Message

Ivan Hu Sept. 27, 2023, 10:30 a.m. UTC
These messages are specific to the ACPI einj driver.

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 data/klog.json | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff mbox series

Patch

diff --git a/data/klog.json b/data/klog.json
index bddec5c2..7e39f80b 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -386,6 +386,13 @@ 
    "advice": "The ACPI Error Injection (EINJ) driver attempted to request a memory region for the APEI EINJ trigger table but the request failed, perhaps the mapping was incorrect.",
    "label": "KlogAcpiEinjFailedMemRegion",
   },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Can not request .* for Trigger table entry",
+   "advice": "The ACPI Error Injection (EINJ) driver attempted to request a memory region for the APEI EINJ trigger table entry but the request failed, perhaps the mapping was incorrect.",
+   "label": "KlogAcpiEinjFailedMemRegion",
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
@@ -393,6 +400,13 @@ 
    "advice": "The ACPI Error Injection (EINJ) driver attempted to IO remap the APEI EINJ trigger table, but the mapping failed.",
    "label": "KlogAcpiEinjFailedIoremap",
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Invalid trigger error action table.",
+   "advice": "The ACPI Error Injection (EINJ) driver checks EINJ trigger table header, and got invlid trigger error action table.",
+   "label": "KlogAcpiEinjFailedIoremap",
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_INFO",