From patchwork Mon Oct 30 06:47:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1856854 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 4SJkNq4Vz6z1yQ9 for ; Mon, 30 Oct 2023 17:47:54 +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 1qxM3u-0002PH-IM; Mon, 30 Oct 2023 06:47:46 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1qxM3g-0002Od-9j for fwts-devel@lists.ubuntu.com; Mon, 30 Oct 2023 06:47:33 +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-0.canonical.com (Postfix) with ESMTPSA id 7FFAE3F2FE for ; Mon, 30 Oct 2023 06:47:29 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] klog.json: Add some missing power kernel messages to klog database Date: Mon, 30 Oct 2023 14:47:24 +0800 Message-Id: <20231030064724.35530-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 power 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 5cdae30c..46e8d748 100644 --- a/data/klog.json +++ b/data/klog.json @@ -4131,6 +4131,13 @@ "advice": "The ACPI driver was preparing to wakeup a device by powering on the power resources required for the device but one of these resources failed to power on. See acpi_enable_wakeup_device_power().", "label": "KlogAcpiPowerWakeupResources" }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "Cannot turn on wakeup power resources", + "advice": "The ACPI driver was preparing to wakeup a device by powering on the power resources required for the device but one of these resources failed to power on. See acpi_enable_wakeup_device_power().", + "label": "KlogAcpiPowerWakeupResources" + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_MEDIUM", @@ -4138,6 +4145,13 @@ "advice": "The ACPI driver was preparing to shutdown a wakeup device by powering off the power resources for the device but one of these resources failed to power off. See acpi_disable_wakeup_device_power().", "label": "KlogAcpiPowerWakeupResources" }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "Cannot turn off wakeup power resources", + "advice": "The ACPI driver was preparing to shutdown a wakeup device by powering off the power resources for the device but one of these resources failed to power off. See acpi_disable_wakeup_device_power().", + "label": "KlogAcpiPowerWakeupResources" + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH",