From patchwork Thu Oct 5 09:11:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1843833 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 4S1Qm81dPKz1yqD for ; Thu, 5 Oct 2023 20:11:35 +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 1qoKO9-0006E9-K5; Thu, 05 Oct 2023 09:11:22 +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 1qoKO0-0006Du-Co for fwts-devel@lists.ubuntu.com; Thu, 05 Oct 2023 09:11:14 +0000 Received: from canonical.com (unknown [10.101.194.164]) (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 C67CA3F6B8 for ; Thu, 5 Oct 2023 09:11:07 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] klog.json: Add some missing hest kernel messages to klog database Date: Thu, 5 Oct 2023 17:11:02 +0800 Message-Id: <20231005091102.136004-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 ACPI hest driver. Signed-off-by: Ivan Hu --- data/klog.json | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/data/klog.json b/data/klog.json index 7e42a1da..a2847c09 100644 --- a/data/klog.json +++ b/data/klog.json @@ -4908,12 +4908,33 @@ "advice": "Failed to install an ACPI SCI interrupt handler because the Global System Interrupt (GSI) is not registered.", "label": "KlogAcpiSciGsiError" }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Unknown or unused hardware error source type: .* for hardware error source:", + "advice": "The ACPI Hardware Error Source Table (HEST) driver parsed the hardware error sources, but got the hardware error sources.", + "label": "KlogAcpiHestHWSourceError" + }, { "compare_mode": "string", - "log_level": "LOG_LEVEL_CRITICAL", - "pattern": "Cannot map memory that high", - "advice": "Cannot map an ACPI physical address above the 32 bit 4GB limit, this could lead to broken functionality.", - "label": "KlogAcpiMap4GbLimit" + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Table contents overflow for hardware error source", + "advice": "The ACPI Hardware Error Source Table (HEST) driver parsed the hardware error sources, but got the table contents overflow.", + "label": "KlogAcpiHestContentsOverflow" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Duplicated hardware error source ID", + "advice": "The ACPI Hardware Error Source Table (HEST) driver parsed the hardware error sources, but got the duplicated hardware error source ID.", + "label": "KlogAcpiHestDuplicateID" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "HEST: Failed to get table", + "advice": "The ACPI Hardware Error Source Table (HEST) found the table, but it cannot get the table for some format exceptions.", + "label": "KlogAcpiHestGetTableFail", }, { "compare_mode": "string",