From patchwork Fri Aug 16 03:20:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ivanhu X-Patchwork-Id: 1973043 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 4WlS1H60yKz1yXZ for ; Fri, 16 Aug 2024 13:20:35 +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 1senVv-0007bJ-L3; Fri, 16 Aug 2024 03:20:31 +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 1senVu-0007al-H9 for fwts-devel@lists.ubuntu.com; Fri, 16 Aug 2024 03:20:30 +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 B44073FD2B for ; Fri, 16 Aug 2024 03:20:29 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] klog.json: Add more missing iort kernel messages to klog database Date: Fri, 16 Aug 2024 11:20:06 +0800 Message-Id: <20240816032006.21882-5-ivan.hu@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240816032006.21882-1-ivan.hu@canonical.com> References: <20240816032006.21882-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 iort driver. Signed-off-by: Ivan Hu --- data/klog.json | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/data/klog.json b/data/klog.json index c9d830e0..1a08a9c6 100644 --- a/data/klog.json +++ b/data/klog.json @@ -736,6 +736,13 @@ "advice": "The ACPI Generic Timer Description Table(GTDT) driver failed to obtain the Watchdog base address while initializing the SBSA Generic Watchdog platform device information.", "label": "KlogAcpiGdtdParseGTblockFailed", }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "conflicting mapping for input ID", + "advice": "The ACPI IO Remapping Table (IORT) driver found a conflicting mapping for this input ID.", + "label": "KlogAcpiIortConflictMap", + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", @@ -757,6 +764,48 @@ "advice": "An error occurred trying to find an ACPI I/O Remapping Table (IORT) ITS identifier with a given index, index is out of range.", "label": "KlogAcpiIortItsIndexTooLarge", }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "requested ITS ID index .* overruns ITS entries", + "advice": "An error occurred trying to find an ACPI I/O Remapping Table (IORT) ITS identifier with a given index, index overruns ITS entries", + "label": "KlogAcpiIortItsIndexOverrun", + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Invalid MSI mapping", + "advice": "The ACPI IO Remapping Table (IORT) driver got a invalid MSI mapping.", + "label": "KlogAcpiIortMSIMappingInvalid", + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "RMR descriptor.* not aligned to 64K, continue with", + "advice": "An error occurred trying to alloc an ACPI I/O Remapping Table (IORT) RMR data and found RMR descriptor not aligned to 64K", + "label": "KlogAcpiIortRmrNotAllign", + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "RMR descriptor.* with zero length, continue anyway", + "advice": "The ACPI IO Remapping Table (IORT) driver got a RMR descriptor with zero length", + "label": "KlogAcpiIortRmrinvalid", + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "RMR descriptor.* overlaps, continue anyway", + "advice": "The ACPI IO Remapping Table (IORT) driver found a RMR descriptor address overlap", + "label": "KlogAcpiIortRmrOverlap", + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "Invalid ID mapping, skipping RMR node", + "advice": "The ACPI IO Remapping Table (IORT) driver got RMR info failed due to the invalid ID mapping.", + "label": "KlogAcpiIortIDMapinvalid", + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH", @@ -764,6 +813,13 @@ "advice": "An ACPI I/O Remapping Table (IORT) node output reference offset into the IORT is zero, which is clearly an firmware bug as it needs to be defined as an offset to the parent table. The node has been ignored.", "label": "KlogAcpiIortNullRef", }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_HIGH", + "pattern": "ID mapping index overflows valid mappings", + "advice": "The ACPI IO Remapping Table (IORT) driver found the ID mapping index overlows the mapping count.", + "label": "KlogAcpiIortMapIdxOverflow", + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_HIGH",