diff mbox series

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

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

Commit Message

ivanhu Oct. 27, 2023, 8:16 a.m. UTC
These messages are specific to the ACPICA hwregs 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 a2d7b560..0fdf4886 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -3438,6 +3438,20 @@ 
    "advice": "The ACPI driver was requested to validate a H/W register but the bit width of the register was not 8, 16 or 32 bits; other sizes are not supported by the driver. See acpi_hw_validate_register().",
    "label": "KlogAcpiHwRegsUnsupportedRegisterBitWidth"
   },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Requested bit width 0x.* is smaller than register bit width 0x",
+   "advice": "The ACPI driver was requested validate the bit width, convert access width into number of bits, but the requested bit width is smaller than register bit width. See acpi_hw_validate_register().",
+   "label": "KlogAcpiHwRegsUnsupportedRegisterBitWidth"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Unsupported register access width: 0x",
+   "advice": "The ACPI driver was requested to validate a H/W register but the access width of the register larger than 32 bits; the sizes are not supported by the driver. See acpi_hw_validate_register().",
+   "label": "KlogAcpiHwRegsUnsupportedRegisterAccessWidth"
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",