[PATCH] klog: data.json: Add klog checking for errors from drivers/acpi/nfit.c

Colin King colin.king at canonical.com
Thu Jul 7 13:12:07 UTC 2016


From: Colin Ian King <colin.king at canonical.com>

Add more klog error message checking for ACPI NFIT kernel messages

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 data/klog.json | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/data/klog.json b/data/klog.json
index 28ab84b..ab8a90e 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -2,6 +2,20 @@
  "firmware_error_warning_patterns":
  [ 
   {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "found a zero length table .* parsing nfit",
+   "advice": "An ACPI NVDIMM Firmware Interface Table (NFIT) header indicates a NFIT table has an invalid zero size and has been ignored. This will lead to a NVDIMM not being recognised by the system",
+   "label": "KlogAcpiNfitZereSize"
+  },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "SPA .* missing DCR",
+   "advice": "An ACPI NVDIMM Firmware Interface Table (NFIT) Control Region Structure (DCR) is missing a System Physical Address (SPA), NFIT table is incorrect.",
+   "label": "KlogAcpiNfitDcrSpaError"
+  },
+  {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
    "pattern": "Error installing CMOS-RTC region handler",
-- 
2.8.1




More information about the fwts-devel mailing list