diff mbox series

[3/6] klog.json: Add some missing ACPI NFIT kernel messages to klog database

Message ID 20230908082610.23734-1-ivan.hu@canonical.com
State Accepted
Headers show
Series [1/6] klog.json: Add some missing ACPI memory hotplug kernel messages to klog database | expand

Commit Message

ivanhu Sept. 8, 2023, 8:26 a.m. UTC
These messages are specific to the ACPI NFIT driver.

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

Patch

diff --git a/data/klog.json b/data/klog.json
index 5a4e4f97..902a6cff 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -673,6 +673,20 @@ 
    "advice": "The ACPI NFIT driver was unable to register a memory region because of an invalid System Physical Address (SPA)",
    "label": "KlogAcpiNfitInvalidSPA"
   },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "Failed to process ARS records",
+   "advice": "The ACPI NFIT driver was unable to Address Range Scrub (ARS) records",
+   "label": "KlogAcpiNfitARSProcessFail"
+  },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_MEDIUM",
+   "pattern": "ARS: range .* ARS failed",
+   "advice": "The ACPI NFIT driver encounter the Address Range Scrub(ARS) start failed with the System Physical Address",
+   "label": "KlogAcpiNfitARSRangeFail"
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
@@ -680,6 +694,13 @@ 
    "advice": "The ACPI NFIT driver was unable to install a notify handler for an NFIT NVDIMM device, device was marked as not available",
    "label": "KlogAcpiNfitNVDIMM"
   },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Error found in NVDIMM .* flags:",
+   "advice": "The ACPI NFIT driver encountered a NVDIMM region and its mapping NVDIMM state flags error.",
+   "label": "KlogAcpiNfitNVDIMMFlagError"
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_MEDIUM",