From patchwork Fri Sep 8 08:24:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1831370 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=a4GH7NmP; dkim-atps=neutral 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 4Rhq1672l3z1yh5 for ; Fri, 8 Sep 2023 18:25:14 +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 1qeWnZ-0007FT-Kb; Fri, 08 Sep 2023 08:25:05 +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 1qeWnV-0007EJ-AM for fwts-devel@lists.ubuntu.com; Fri, 08 Sep 2023 08:25:01 +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-0.canonical.com (Postfix) with ESMTPSA id 33A283F5DE for ; Fri, 8 Sep 2023 08:24:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1694161500; bh=kI1aaAL+OqiyGimSrlw8NHuUtjDbH5FZ1isg5OXLrqg=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=a4GH7NmPirJDnSzn3dD+ois8uSh0yssMM4PvUYBcqGGQdvjRj3uUwFBSqK8+IqN+S 2HooAzQm6VtxaCV5DEKu7uyS+N1d9kabN4KRr36ej03KQp2gjac04YT+fOAqgxpwdr DAkG9VJDS0izDpuZle2ggO7C/HUYhr7Q3aW2zRuBWEOqyUVf85C6QCaGi5ZGmzBkqv wMUDqk76dIHqAEHFzGFF+MtqH7B9hkWz0x3tsL3dAkbu1IvdHF3kCVB/RCZnXf7x7p j0f4zV0IsxiY6GBU0pCW1m4gsxJ4FtyfuOdB05vzBp/vz1rDZTB9Vu8vp94QQipR+T 3CHRcppUq2whg== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH 1/6] klog.json: Add some missing ACPI memory hotplug kernel messages to klog database Date: Fri, 8 Sep 2023 16:24:56 +0800 Message-Id: <20230908082456.23613-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 memory hotplug driver. Signed-off-by: Ivan Hu --- data/klog.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/klog.json b/data/klog.json index 029dea02..1d93b839 100644 --- a/data/klog.json +++ b/data/klog.json @@ -645,6 +645,13 @@ "advice": "ACPI AMBA device ARMH0061 (an ARM PL061 GPIO device) device allocate failed", "label": "KlogAcpiAmbaDevAllocFailed" }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "device is empty", + "advice": "ACPI memory hot-plug device is empty", + "label": "KlogAcpiMemHotPlugDeviceEmpty" + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", From patchwork Fri Sep 8 08:25:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1831373 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=JO7XhF0i; dkim-atps=neutral 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 4Rhq2D0wppz1yh5 for ; Fri, 8 Sep 2023 18:26:12 +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 1qeWoT-0007Kv-Dn; Fri, 08 Sep 2023 08:26:02 +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 1qeWoM-0007Jl-8Y for fwts-devel@lists.ubuntu.com; Fri, 08 Sep 2023 08:25:54 +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-0.canonical.com (Postfix) with ESMTPSA id E672F3F5DE for ; Fri, 8 Sep 2023 08:25:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1694161553; bh=bczHXqzKQpkCYa+ZHjMF1z3yyTX6y7NfCO5VN+YXrxs=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=JO7XhF0i+AH7hTfb8Rx8jFJX+hRTjBWoYaXCy5vuRGW28YAKQinU20X8AbCrY+dWK vRtkrlDftv7DyuE/DhARvvhAueS14WP984slSrTyft0VBg3WZzsMRV9jeL8EguP52J PPTn3UcfTXnuA9Fu7tB67qecRPCoiGlNwPewnG8M+N0TIeTkGTuiRo6+9S8NzKH1gZ S/8jTCXZLY7dpUB6yqeHlNVzLVnpzn5amK2pM9UZGMKh4FyHK1W+k+ZuCL6zp7ikhj 76mwSOvCp75FIliKkvSaQd5o2zUeW2RguPEmtFZ3cTBXo+VjYRj3CQG4YT5kkeapiA UR0HlXcJAKYJg== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH 2/6] klog.json: Add some missing processor idle kernel messages to klog database Date: Fri, 8 Sep 2023 16:25:49 +0800 Message-Id: <20230908082549.23697-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 processor idle driver. Signed-off-by: Ivan Hu --- data/klog.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/klog.json b/data/klog.json index 1d93b839..5a4e4f97 100644 --- a/data/klog.json +++ b/data/klog.json @@ -834,6 +834,13 @@ "advice": "The maximum C state has been limited by the ACPI processor idle driver because of a known bug on this platform, for instance, going to a deeper C state can hang the machine. This can be overridden using the kernel parameter processor.max_cstate to set to a deeper C state if required.", "label": "KlogAcpiIdleMaxCStateLimited" }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "FW issue: working around C-state latencies out of order", + "advice": "The ACPI processor idle driver gets the out of order latencies for C-state from firmware and workaroud it.", + "label": "KlogAcpiCStateBadLatency" + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", From patchwork Fri Sep 8 08:26:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1831374 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=BYLhy2Jo; dkim-atps=neutral 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 4Rhq2W3cPbz1yh5 for ; Fri, 8 Sep 2023 18:26:27 +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 1qeWol-0007OK-Sz; Fri, 08 Sep 2023 08:26:19 +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 1qeWoi-0007NU-3h for fwts-devel@lists.ubuntu.com; Fri, 08 Sep 2023 08:26:16 +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 AFAE33F6CE for ; Fri, 8 Sep 2023 08:26:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1694161574; bh=m4Kil9b1bQAhvh7dACyRSt5FBj6NyiTmPAI5ulpHhnI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=BYLhy2JoBI6zpOIMMVuxReqZGJ8og21TrnzcN4VTRxr1Tf8cDQLCTOM1DQun6KUzQ D6Our88FaP0Y31tD1rHGvnBZZuAWW3N9LElhgcdJH9B9ItA0JydfNlqoEakoOHC0pH pFVCRBmScZzJLUVmeKx8qqruzNFnjex4I3D84ZziC1Z3C4GsM+MG595VdYH0VGfb3a Ry9mAtANn2hCGlXZwcqPon8XZmK1lR5MLpKk0WPBJaBULgrrDLq9zpTqBER0aRwDNz mI8LudNoxxii+zRv85kE6jrzrqrckWCfMggpXApuub7UZa1bXT3c7ZtUyIHTQ1yS4z kWYi94ar6HlaA== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH 3/6] klog.json: Add some missing ACPI NFIT kernel messages to klog database Date: Fri, 8 Sep 2023 16:26:07 +0800 Message-Id: <20230908082610.23734-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 NFIT 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 5a4e4f97..902a6cff 100644 --- a/data/klog.json +++ b/data/klog.json @@ -673,6 +673,20 @@ "advice": "The ACPI NFIT driver was unable to register a memory region because of an invalid System Physical Address (SPA)", "label": "KlogAcpiNfitInvalidSPA" }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "Failed to process ARS records", + "advice": "The ACPI NFIT driver was unable to Address Range Scrub (ARS) records", + "label": "KlogAcpiNfitARSProcessFail" + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "ARS: range .* ARS failed", + "advice": "The ACPI NFIT driver encounter the Address Range Scrub(ARS) start failed with the System Physical Address", + "label": "KlogAcpiNfitARSRangeFail" + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", @@ -680,6 +694,13 @@ "advice": "The ACPI NFIT driver was unable to install a notify handler for an NFIT NVDIMM device, device was marked as not available", "label": "KlogAcpiNfitNVDIMM" }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Error found in NVDIMM .* flags:", + "advice": "The ACPI NFIT driver encountered a NVDIMM region and its mapping NVDIMM state flags error.", + "label": "KlogAcpiNfitNVDIMMFlagError" + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_MEDIUM", From patchwork Fri Sep 8 08:26:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1831375 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=lyS5z5Bs; dkim-atps=neutral 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 4Rhq2b5skGz1yh5 for ; Fri, 8 Sep 2023 18:26:31 +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 1qeWoq-0007Ps-FB; Fri, 08 Sep 2023 08:26:24 +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 1qeWol-0007OH-K8 for fwts-devel@lists.ubuntu.com; Fri, 08 Sep 2023 08:26:19 +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-0.canonical.com (Postfix) with ESMTPSA id 9B1553F5DE for ; Fri, 8 Sep 2023 08:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1694161579; bh=rKizO1B5BMRt0g709s3jhP/lw/JjNoQ8NpfEk2Nt8ik=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lyS5z5Bs7nZ7Z6QTYppO+CKUrWR9r8yuADV/I9cq4m3no9CIY1yTcHJnB6fflvfTx 7nhZcq1tv3i+1PGn9n/lCYJR1pNdnzp8p6lal6LJxejeATLoLlRp96UzPSXKgG1aXV s4rLOUKS2ZlRf9mB9S92XzGt6HkzBwySq8dUXrkIQsQQVN7jegRWBxg1Z10iOSFYm7 z4oYvlYB48a+DrudcT6lAuCnjCvlrSWxHhGXIuF4JVy6mFVQ/F1EiqejtzArLkP/cM Ie/s3R0jpSuRYwKnkvKw0mALYHjGDEKMYYX7IXOwRywfooFyXKyBXcqNfjWGKq9CpM J4AUGYuzcPufw== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH 4/6] klog.json: Add some missing sleep kernel messages to klog database Date: Fri, 8 Sep 2023 16:26:08 +0800 Message-Id: <20230908082610.23734-2-ivan.hu@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230908082610.23734-1-ivan.hu@canonical.com> References: <20230908082610.23734-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 sleep driver. Signed-off-by: Ivan Hu --- data/klog.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/klog.json b/data/klog.json index 902a6cff..2bb6625e 100644 --- a/data/klog.json +++ b/data/klog.json @@ -841,6 +841,13 @@ "advice": "The ACPI driver could not put the machine into the desired sleep state because the sleep state is not supported.", "label": "KlogAcpiSleepStateNoSupport" }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Warning: Failed to enable wakeup from IRQ", + "advice": "The ACPI driver could not set the wakeup mode enabled which can let this IRQ wake the system from sleep.", + "label": "KlogAcpiEnableWakeupIRQFail" + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", From patchwork Fri Sep 8 08:26:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1831376 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=QOoJkHBr; dkim-atps=neutral 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 4Rhq2f6q4bz1yhh for ; Fri, 8 Sep 2023 18:26:34 +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 1qeWot-0007Sk-Sd; Fri, 08 Sep 2023 08:26:28 +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 1qeWor-0007Qr-8Z for fwts-devel@lists.ubuntu.com; Fri, 08 Sep 2023 08:26:25 +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 BB7C63F6DC for ; Fri, 8 Sep 2023 08:26:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1694161584; bh=3+hovw40oyGhRZqByjlE74vi3xkbwtyoMVjPY8P/rc4=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QOoJkHBr/aFDbNq+VZ/kMiPBwFOhP1w2stS28S5eqEszIWKse2HAg1f/Xc9VlbYIo 2SYyvL0fy9q5NGrmWhCgXfaZXU4luUo0QgAf/nKGpMPaV5DtRVl1UIqruUeZfTig4H 8QZlwEZK8s+mDn/2gVO1JaWA4xPkrbhGuEBfmx2Ki82bKZ0wP3iR9I6pVz1ZrS2fn+ JPmYmLcMxJdRYmChI44KWZkL/Z9/FKD+tkeMmwZcQfb8V76L5zE9lEMVyzasuwve3/ DTXcUllcLq6czwKv/IRYviLOvYD5Tu/Y5AZBoIP0FAaAZ7b8yk/ajYekBOf/isoV4K ckT2Yt1JOgHJw== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH 5/6] klog.json: Add some missing amba kernel messages to klog database Date: Fri, 8 Sep 2023 16:26:09 +0800 Message-Id: <20230908082610.23734-3-ivan.hu@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230908082610.23734-1-ivan.hu@canonical.com> References: <20230908082610.23734-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 arm64 amba driver. Signed-off-by: Ivan Hu --- data/klog.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/klog.json b/data/klog.json index 2bb6625e..572f25ef 100644 --- a/data/klog.json +++ b/data/klog.json @@ -470,6 +470,13 @@ "advice": "An error occurred when attempting to allocate an ACPI ARM AMBA device, the device allocation failed and the device has not enabled.", "label": "KlogAcpiAmbaDevAllocFailed", }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "Invalid resource", + "advice": "Got an invalid resource for an ACPI ARM AMBA device, neither IORESOURCE_MEM nor IORESOURCE_IRQ.", + "label": "KlogAcpiAmbaDevAllocFailed", + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_MEDIUM", From patchwork Fri Sep 8 08:26:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1831377 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=WK0xEFkn; dkim-atps=neutral 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 4Rhq2p32FBz1yh5 for ; Fri, 8 Sep 2023 18:26:42 +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 1qeWoz-0007Wo-PE; Fri, 08 Sep 2023 08:26:34 +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 1qeWou-0007T0-Ri for fwts-devel@lists.ubuntu.com; Fri, 08 Sep 2023 08:26:29 +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 E926E3F6CE for ; Fri, 8 Sep 2023 08:26:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1694161588; bh=WOTYvufJFjhVVj7vMjJhyfR8g8xyyYVPjrUJymLGN4Q=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WK0xEFknH/1Pblt+0snaoCOn5GFTg15QXnePYboo5PjvKW0hiu04LX84A1yDX5614 5APixsZMYaQAeXfRnKfVGDnBjXhpNr/aSl9pC6IuqcwqIbFXGBcbMWZfFs1Std/hTv qTXoMri/mKh8KqjqR+SDNIcVaHnlyWIb4HxjkScYaDZU8EJzzJewxanc4llbyY+HzI Iy4BH6v69apxsshuggmvp/phnKGADM4xYjANMXviwgGwI9WWf/RK3vIrSqdsXNwA+/ djQrzmD43uFqw5lFZ6L54/Rw3Qln2LHikJpue7nyxoaOqb6+bHKAUf5xQbAOFCujxs 8zDY01pPYVXTg== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH 6/6] klog.json: Add some missing dma kernel messages to klog database Date: Fri, 8 Sep 2023 16:26:10 +0800 Message-Id: <20230908082610.23734-4-ivan.hu@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230908082610.23734-1-ivan.hu@canonical.com> References: <20230908082610.23734-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 arm64 dma driver. Signed-off-by: Ivan Hu --- data/klog.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/klog.json b/data/klog.json index 572f25ef..ec452c06 100644 --- a/data/klog.json +++ b/data/klog.json @@ -456,6 +456,13 @@ "advice": "An error occurred when creating the ACPI AML debugger, a kernel thread could not be created so the debugger cannot be started.", "label": "KlogAcpiAmlDebugThreadFailed", }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "DMA mask not set", + "advice": "DMA mask is not set for an ACPI ARM64 DMA device, If dev is expected to be DMA-capable then the bus code that created it should have initialised its dma_mask pointer, if not, it will continue the legacy behaviour of coercing it to the coherent mask.", + "label": "KlogAcpiAmbaDevAddFailed", + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH",