From patchwork Wed Sep 11 02:09:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ivanhu X-Patchwork-Id: 1983605 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 4X3PDK4Wn1z1y1C for ; Wed, 11 Sep 2024 12:10:25 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1soCoG-0007tT-5x; Wed, 11 Sep 2024 02:10:20 +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 1soCoE-0007sf-KR for fwts-devel@lists.ubuntu.com; Wed, 11 Sep 2024 02:10:18 +0000 Received: from canonical.com (unknown [106.104.136.95]) (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 828A240063 for ; Wed, 11 Sep 2024 02:10:17 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] klog.json: Add more uttrack error messages to klog database Date: Wed, 11 Sep 2024 10:09:35 +0800 Message-Id: <20240911020935.43413-7-ivan.hu@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240911020935.43413-1-ivan.hu@canonical.com> References: <20240911020935.43413-1-ivan.hu@canonical.com> 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 uttrack driver. Signed-off-by: Ivan Hu --- data/klog.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/data/klog.json b/data/klog.json index a377fd66..63dc04c4 100644 --- a/data/klog.json +++ b/data/klog.json @@ -344,6 +344,13 @@ "advice": "The ACPI memory tracking debug has detected an allocation that already exists in the global list of, this indicates a bug in the ACPICA core.", "label": "KlogAcpiUtTrackDuplicateAllocation", }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Could not allocate size", + "advice": "The ACPI driver could not allocate memory by function acpi_ut_allocate_zeroed_and_track.", + "label": "KlogAcpiUtAllocateMemFail", + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", @@ -351,6 +358,20 @@ "advice": "The ACPI memory tracking debug has detected an attempt to delete a NULL address, this indicates a bug in the ACPICA core.", "label": "KlogAcpiUtTrackNullAddrDelete", }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Could not free memory", + "advice": "The ACPI driver could not free allocated memory, this indicates a bug in the ACPICA core.", + "label": "KlogAcpiUtMemFreeFail", + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Empty allocation list, nothing to free!", + "advice": "The ACPI driver could not remove allocated memory, this indicates a bug in the ACPICA core.", + "label": "KlogAcpiUtRemoveAllocateMemFail", + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH",