[Skiboot] generate-fwts-olog error

Stewart Smith stewart at linux.vnet.ibm.com
Mon Jun 27 14:08:30 AEST 2016


When running fwts with my updated olog.json:

Regex HDAT: Bad timebase size [0-9]+ @ (?:0x[0-9a-f]+|nil) failed to compile:
13.

On this snippet:

  {
   "advice": "HDAT described an invalid size for timebase, which means there's a disagreement between HDAT and OPAL. This is most certainly a firmware bug.",
   "compare_mode": "regex",
   "label": "HDATBadTimebaseSize",
   "log_level": "LOG_LEVEL_CRITICAL",
   "pattern": "HDAT: Bad timebase size [0-9]+ @ (?:0x[0-9a-f]+|nil)"
  },

>From this diff:

+               /**
+                * @fwts-label HDATBadTimebaseSize
+                * @fwts-advice HDAT described an invalid size for timebase,
+                * which means there's a disagreement between HDAT and OPAL.
+                * This is most certainly a firmware bug.
+                */
                prlog(PR_ERR, "HDAT: Bad timebase size %u @ %p\n", size,
                      timebase);

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list