From patchwork Fri Oct 27 06:58:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ivanhu X-Patchwork-Id: 1856045 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SGtnV36pKz23jP for ; Fri, 27 Oct 2023 17:59:25 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1qwGoN-0005WL-2c; Fri, 27 Oct 2023 06:59:16 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1qwGnW-0005RX-KZ for fwts-devel@lists.ubuntu.com; Fri, 27 Oct 2023 06:58:23 +0000 Received: from canonical.com (118-163-61-247.hinet-ip.hinet.net [118.163.61.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 8B6553FB9B for ; Fri, 27 Oct 2023 06:58:20 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] klog.json: Add some missing tbfadt kernel messages to klog database Date: Fri, 27 Oct 2023 14:58:16 +0800 Message-Id: <20231027065816.61255-1-ivan.hu@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" These messages are specific to the ACPICA tbfadt driver. Signed-off-by: Ivan Hu --- data/klog.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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",