diff mbox series

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

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

Commit Message

Ivan Hu Oct. 30, 2023, 6:47 a.m. UTC
These messages are specific to the ACPI power 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 5cdae30c..46e8d748 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -4131,6 +4131,13 @@ 
    "advice": "The ACPI driver was preparing to wakeup a device by powering on the power resources required for the device but one of these resources failed to power on.  See acpi_enable_wakeup_device_power().",
    "label": "KlogAcpiPowerWakeupResources"
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "Cannot turn on wakeup power resources",
+   "advice": "The ACPI driver was preparing to wakeup a device by powering on the power resources required for the device but one of these resources failed to power on.  See acpi_enable_wakeup_device_power().",
+   "label": "KlogAcpiPowerWakeupResources"
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_MEDIUM",
@@ -4138,6 +4145,13 @@ 
    "advice": "The ACPI driver was preparing to shutdown a wakeup device by powering off the power resources for the device but one of these resources failed to power off. See acpi_disable_wakeup_device_power().",
    "label": "KlogAcpiPowerWakeupResources"
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "Cannot turn off wakeup power resources",
+   "advice": "The ACPI driver was preparing to shutdown a wakeup device by powering off the power resources for the device but one of these resources failed to power off. See acpi_disable_wakeup_device_power().",
+   "label": "KlogAcpiPowerWakeupResources"
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",