diff mbox series

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

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

Commit Message

Ivan Hu Oct. 27, 2023, 6:58 a.m. UTC
These messages are specific to the ACPICA tbfadt driver.

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

Patch

diff --git a/data/klog.json b/data/klog.json
index eb602da5..a2d7b560 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -3606,6 +3606,20 @@ 
    "advice": "The ACPI FADT fields Pm1a_event, Pm1a_control, pm_timer are required fields that must have a defined (non-zero) address and a length that is non-zero.  One of these fields is incorrect and needs fixing.",
    "label": "KlogAcpiFadtFieldZeroAddrLength"
   },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Optional FADT field .* has valid .* but zero",
+   "advice": "The ACPI FADT optional, Pm2_control, GPE0, GPE1 AND has its own length field. If present, both the address and length must be valid.  One of these fields is zero and needs fixing.",
+   "label": "KlogAcpiFadtFieldZeroAddrLength"
+  },
+  {
+   "compare_mode": "regex",
+   "log_level": "LOG_LEVEL_HIGH",
+   "pattern": "Invalid length for FADT/.*: .*, using default",
+   "advice": "The ACPI FADT initialize global ACPI PM1 register definitions but gets the invalid lengths, force FADT register definitions to their default lengths.",
+   "label": "KlogAcpiFadtRegZeroLength"
+  },
   {
    "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",