From patchwork Fri Oct 27 08:16:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ivanhu X-Patchwork-Id: 1856085 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 4SGwWn6l6yz1ypX for ; Fri, 27 Oct 2023 19:17:41 +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 1qwI2C-0005FB-IO; Fri, 27 Oct 2023 08:17:36 +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 1qwI0q-0004jA-Qs for fwts-devel@lists.ubuntu.com; Fri, 27 Oct 2023 08:16:15 +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 9F6A83FB6C for ; Fri, 27 Oct 2023 08:16:11 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] klog.json: Add some missing hwregs kernel messages to klog database Date: Fri, 27 Oct 2023 16:16:08 +0800 Message-Id: <20231027081608.67765-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 hwregs 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 a2d7b560..0fdf4886 100644 --- a/data/klog.json +++ b/data/klog.json @@ -3438,6 +3438,20 @@ "advice": "The ACPI driver was requested to validate a H/W register but the bit width of the register was not 8, 16 or 32 bits; other sizes are not supported by the driver. See acpi_hw_validate_register().", "label": "KlogAcpiHwRegsUnsupportedRegisterBitWidth" }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Requested bit width 0x.* is smaller than register bit width 0x", + "advice": "The ACPI driver was requested validate the bit width, convert access width into number of bits, but the requested bit width is smaller than register bit width. See acpi_hw_validate_register().", + "label": "KlogAcpiHwRegsUnsupportedRegisterBitWidth" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Unsupported register access width: 0x", + "advice": "The ACPI driver was requested to validate a H/W register but the access width of the register larger than 32 bits; the sizes are not supported by the driver. See acpi_hw_validate_register().", + "label": "KlogAcpiHwRegsUnsupportedRegisterAccessWidth" + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH",