diff mbox series

klog.json: Add more utobject error messages to klog database

Message ID 20240912013413.233034-1-ivan.hu@canonical.com
State Accepted
Headers show
Series klog.json: Add more utobject error messages to klog database | expand

Commit Message

Ivan Hu Sept. 12, 2024, 1:34 a.m. UTC
These messages are specific to the ACPI utobject 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 63dc04c4..036bcd52 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -1856,6 +1856,13 @@ 
    "advice": "APM misc device could not be registered. However, the driver can work without this, but userspace cannot control it.",
    "label": "KlogBiosApmMiscDevice"
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Could not allocate size",
+   "advice": "The ACPI driver was unable to allocate the actual buffer for creating the objects.",
+   "label": "KlogAcpiAllocBufferFail"
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_LOW",
@@ -2549,6 +2556,13 @@ 
     "advice": "An internal ACPI error occurred freeing an ACPI object or adding it to the object cache. The descriptor type of the given object was not a descriptor type operand.  See acpi_ut_delete_object_desc().",
     "label": "KlogAcpiNotOperandObject"
   },
+  {
+    "compare_mode": "regex",
+    "log_level": "LOG_LEVEL_HIGH",
+    "pattern": "Received a namespace node .* where an operand object is required",
+    "advice": "An internal ACPI error occurred getting a namespace node where an operand object is required. See acpi_ut_get_simple_object_size(). ",
+    "label": "KlogAcpiGetObjSizeFail"
+  },
   {
     "compare_mode": "regex",
     "log_level": "LOG_LEVEL_HIGH",