From patchwork Mon Jul 24 09:58:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ivanhu X-Patchwork-Id: 1811696 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=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) 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=uJVuALnf; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (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 4R8bGh3SQlz1yYC for ; Mon, 24 Jul 2023 19:59:08 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1qNsLH-0002qT-W2; Mon, 24 Jul 2023 09:59:03 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1qNsLG-0002qH-Ry for fwts-devel@lists.ubuntu.com; Mon, 24 Jul 2023 09:59:02 +0000 Received: from canonical.com (unknown [10.101.194.165]) (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 EFD55400F2 for ; Mon, 24 Jul 2023 09:59:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1690192742; bh=erCbnKpjQksP3J2NXIlFyJc3vm7+c8rmmemVuhpKzrQ=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=uJVuALnfc8DVO2Fxty9bRF3uM2R8rHXTyi9D+FkGrZPowPJAfzzguQDMkTwZ4yYCA IhIyBshVdAXEbYyEkbGKjcva40udZZ12xEdlF3Rqs4Hc4WTwuxeaIbJXWxz+lAE3A+ tCdIH1lzP3rzEvywDLtaKkNKYyietKT3UGH9YrvibSkiwAQOjsZePLQ7a2UBQYObcM R3Ea13eEU0SUsI1PsJwrjTUGYDi8bqVOdyeh8pPTdFRO6ipr68EPSn/XgIjfMqOvmK S2hrIyKgoXFA23rwFm8g5vBGVYcyMppFvhVRJMeKvDSYEnufbvvqk1/fsnvksBCPkz vudcCFW7AJPAw== From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] klog.json: Add and modify some more e820 kernel messages to klog database Date: Mon, 24 Jul 2023 17:58:58 +0800 Message-Id: <20230724095858.36566-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" BugLink: https://bugs.launchpad.net/fwts/+bug/2028537 Signed-off-by: Ivan Hu --- data/klog.json | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/data/klog.json b/data/klog.json index fb44773e..029dea02 100644 --- a/data/klog.json +++ b/data/klog.json @@ -32,7 +32,7 @@ { "compare_mode": "string", "log_level": "LOG_LEVEL_CRITICAL", - "pattern": "e820: cannot find a gap in the 32bit address range", + "pattern": "Cannot find an available gap in the 32-bit address range", "advice": "A search for the biggest gap in the low 32 bit E820 memory space for PCI MMIO resources failed to find any free gaps large enough. PCI devices with unassigned 32 bit Base Address Registers (BARs) are very likely to break.", "label": "KlogBiosE820NoGapAvailable", }, @@ -1338,6 +1338,20 @@ "advice": "The kernel parameter mem=nopentium (to disable 4MB pages) was ignored as it only applies to 32 bit x86 systems.", "label": "KlogE8320BiosKernelParameter" }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "e820: failed to memremap setup_data entry", + "advice": "Fail to memory remap the bootloader's extensible setup_data structures.", + "label": "KlogE8320MemremapSetupData" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_MEDIUM", + "pattern": "e820: failed to memremap indirect setup_data", + "advice": "Fail to memory remap the bootloader's extensible indirect setup_data structures.", + "label": "KlogE8320MemremapIndirectSetupData" + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_LOW", @@ -4211,7 +4225,7 @@ { "compare_mode": "string", "log_level": "LOG_LEVEL_CRITICAL", - "pattern": "e820: too many entries; ignoring ", + "pattern": "too many entries; ignoring ", "advice": "Legacy E820 BIOS has a limit of 128 entries in the E820 memory map but the firmware seems to have more than this. For EFI NUMA hardware, the limit is 128 + 3 * maximum number of nodes. The kernel has ignore the extra entries. This could lead to regions of memory being used by the kernel when in fact is should be reserved and this can lead to unexpected behaviour.", "label": "KlogE820TooManyEntries" },