diff mbox series

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

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

Commit Message

ivanhu Oct. 24, 2023, 5:38 a.m. UTC
These messages are specific to the acpica exmisc driver.

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

Patch

diff --git a/data/klog.json b/data/klog.json
index 293997ca..ba563d95 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -2745,6 +2745,27 @@ 
     "advice": "The ACPI interpreter failed to concatenate two objects of the same type because one or more of the types was an invalid object type. Expected types are ACPI_TYPE_INTEGER, ACPI_TYPE_STRING, ACPI_TYPE_BUFFER.",
     "label": "KlogAcpiConcatenateInvalidObjectType"
   },
+  {
+    "compare_mode": "string",
+    "log_level": "LOG_LEVEL_HIGH",
+    "pattern": "Invalid numeric logical opcode:",
+    "advice": "An invalid opcode was found while execute a logical Numeric AML opcode. For these Numeric operators, the opcode should be LAnd or LOr.",
+    "label": "KlogAcpiInvalidOpcode"
+  },
+  {
+    "compare_mode": "string",
+    "log_level": "LOG_LEVEL_HIGH",
+    "pattern": "Invalid object type for logical operator:",
+    "advice": "An invalid object type was found while execute a none numeric AML opcode. For these operators, operands can be any combination of Integer/String/Buffer.",
+    "label": "KlogAcpiInvalidObjType"
+  },
+  {
+    "compare_mode": "string",
+    "log_level": "LOG_LEVEL_HIGH",
+    "pattern": "Invalid comparison opcode:",
+    "advice": "An invalid comparison opcode was found while comparing both integers, both strings or buffers.",
+    "label": "KlogAcpiInvalidComparisonOpcode"
+  },
   {
     "compare_mode": "regex",
     "log_level": "LOG_LEVEL_HIGH",