diff mbox series

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

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

Commit Message

Ivan Hu Oct. 5, 2023, 9:11 a.m. UTC
These messages are specific to the ACPI hest driver.

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

Patch

diff --git a/data/klog.json b/data/klog.json
index 7e42a1da..a2847c09 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -4908,12 +4908,33 @@ 
    "advice": "Failed to install an ACPI SCI interrupt handler because the Global System Interrupt (GSI) is not registered.",
    "label": "KlogAcpiSciGsiError"
   },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Unknown or unused hardware error source type: .* for hardware error source:",
+   "advice": "The ACPI Hardware Error Source Table (HEST) driver parsed the hardware error sources, but got the hardware error sources.",
+   "label": "KlogAcpiHestHWSourceError"
+  },
   {
    "compare_mode": "string",
-   "log_level": "LOG_LEVEL_CRITICAL",
-   "pattern": "Cannot map memory that high",
-   "advice": "Cannot map an ACPI physical address above the 32 bit 4GB limit, this could lead to broken functionality.",
-   "label": "KlogAcpiMap4GbLimit"
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Table contents overflow for hardware error source",
+   "advice": "The ACPI Hardware Error Source Table (HEST) driver parsed the hardware error sources, but got the table contents overflow.",
+   "label": "KlogAcpiHestContentsOverflow"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Duplicated hardware error source ID",
+   "advice": "The ACPI Hardware Error Source Table (HEST) driver parsed the hardware error sources, but got the duplicated hardware error source ID.",
+   "label": "KlogAcpiHestDuplicateID"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "HEST: Failed to get table",
+   "advice": "The ACPI Hardware Error Source Table (HEST) found the table, but it cannot get the table for some format exceptions.",
+   "label": "KlogAcpiHestGetTableFail",
   },
   {
    "compare_mode": "string",