diff mbox series

klog.json: Add more missing iort kernel messages to klog database

Message ID 20240816032006.21882-5-ivan.hu@canonical.com
State Accepted
Headers show
Series klog.json: Add more missing iort kernel messages to klog database | expand

Commit Message

ivanhu Aug. 16, 2024, 3:20 a.m. UTC
These messages are specific to the ACPI iort driver.

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

Patch

diff --git a/data/klog.json b/data/klog.json
index c9d830e0..1a08a9c6 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -736,6 +736,13 @@ 
    "advice": "The ACPI Generic Timer Description Table(GTDT) driver failed to obtain the Watchdog base address while initializing the SBSA Generic Watchdog platform device information.",
    "label": "KlogAcpiGdtdParseGTblockFailed",
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "conflicting mapping for input ID",
+   "advice": "The ACPI IO Remapping Table (IORT) driver found a conflicting mapping for this input ID.",
+   "label": "KlogAcpiIortConflictMap",
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
@@ -757,6 +764,48 @@ 
    "advice": "An error occurred trying to find an ACPI I/O Remapping Table (IORT) ITS identifier with a given index, index is out of range.",
    "label": "KlogAcpiIortItsIndexTooLarge",
   },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "requested ITS ID index .* overruns ITS entries",
+   "advice": "An error occurred trying to find an ACPI I/O Remapping Table (IORT) ITS identifier with a given index, index overruns ITS entries",
+   "label": "KlogAcpiIortItsIndexOverrun",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Invalid MSI mapping",
+   "advice": "The ACPI IO Remapping Table (IORT) driver got a invalid MSI mapping.",
+   "label": "KlogAcpiIortMSIMappingInvalid",
+  },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "RMR descriptor.* not aligned to 64K, continue with",
+   "advice": "An error occurred trying to alloc an ACPI I/O Remapping Table (IORT) RMR data and found RMR descriptor not aligned to 64K",
+   "label": "KlogAcpiIortRmrNotAllign",
+  },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "RMR descriptor.* with zero length, continue anyway",
+   "advice": "The ACPI IO Remapping Table (IORT) driver got a RMR descriptor with zero length",
+   "label": "KlogAcpiIortRmrinvalid",
+  },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "RMR descriptor.* overlaps, continue anyway",
+   "advice": "The ACPI IO Remapping Table (IORT) driver found a RMR descriptor address overlap",
+   "label": "KlogAcpiIortRmrOverlap",
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Invalid ID mapping, skipping RMR node",
+   "advice": "The ACPI IO Remapping Table (IORT) driver got RMR info failed due to the invalid ID mapping.",
+   "label": "KlogAcpiIortIDMapinvalid",
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
@@ -764,6 +813,13 @@ 
    "advice": "An ACPI I/O Remapping Table (IORT) node output reference offset into the IORT is zero, which is clearly an firmware bug as it needs to be defined as an offset to the parent table. The node has been ignored.",
    "label": "KlogAcpiIortNullRef",
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "ID mapping index overflows valid mappings",
+   "advice": "The ACPI IO Remapping Table (IORT) driver found the ID mapping index overlows the mapping count.",
+   "label": "KlogAcpiIortMapIdxOverflow",
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",