From patchwork Mon Sep 18 08:41:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ivanhu X-Patchwork-Id: 1835986 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 4RpywD0j6Mz1yhy for ; Mon, 18 Sep 2023 18:42:19 +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 1qi9pV-0003na-Cz; Mon, 18 Sep 2023 08:42: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 1qi9pL-0003my-UT for fwts-devel@lists.ubuntu.com; Mon, 18 Sep 2023 08:41:56 +0000 Received: from canonical.com (118-163-61-247.hinet-ip.hinet.net [118.163.61.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id A22A93F6DD for ; Mon, 18 Sep 2023 08:41:53 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH v2] klog.json: Add some missing ACPI PCI IRQ kernel messages to klog database Date: Mon, 18 Sep 2023 16:41:50 +0800 Message-Id: <20230918084150.6832-1-ivan.hu@canonical.com> X-Mailer: git-send-email 2.17.1 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: , MIME-Version: 1.0 Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" These messages are specific to the ACPI PCI IRQ driver. Signed-off-by: Ivan Hu --- data/klog.json | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/data/klog.json b/data/klog.json index ec452c06..bddec5c2 100644 --- a/data/klog.json +++ b/data/klog.json @@ -1765,6 +1765,55 @@ "advice": "The kernel has detected a PCI interrupt configuration than needed to be quirked to make it work correctly.", "label": "KlogAcpiPciIntRemap" }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_INFO", + "pattern": "Firmware reports .*:.*:.* PCI INT .* connected to .*; changing to", + "advice": "The kernel has detected a PCI interrupt configuration than needed to be quirked to make it work correctly.", + "label": "KlogAcpiPciIntRemap" + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_INFO", + "pattern": "Cannot reroute IRQ %d to legacy IRQ: unknown mapping", + "advice": "Some chipsets generate a legacy INTx when the IRQ entry in the chipset's IO-APIC is masked. When this INTx generation cannot be disabled, kernel reroute these interrupts to their legacy equivalent to get rid of spurious interrupts. The kernel cannot route to legacy IRQ correctly.", + "label": "KlogAcpiPciIntMap" + }, + { + "compare_mode": "string", + "log_level": "LOG_LEVEL_INFO", + "pattern": "can't derive routing for PCI INT", + "advice": "Kernel cannot derive an IRQ for this device from a parent bridge's PCI interrupt routing entry.", + "label": "KlogAcpiPciIntRount" + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_INFO", + "pattern": "PCI INT .*: no GSI - using ISA IRQ", + "advice": "The kernel cannot register Global System Interrupt (no GSI), instead, using ISA IRQ.", + "label": "KlogAcpiPciIntRegister" + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_LOW", + "pattern": "PCI INT .*: not connected", + "advice": "PCI IRQ is invalid, Kernel cannot connect the PCI interrupt.", + "label": "KlogAcpiPciIntInvalid" + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_INFO", + "pattern": "PCI INT .*: no GSI", + "advice": "The kernel cannot register Global System Interrupt (no GSI).", + "label": "KlogAcpiPciIntOnGSI" + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_LOW", + "pattern": "PCI INT .*: failed to register GSI", + "advice": "The kernel failed to register Global System Interrupt(GSI).", + "label": "KlogAcpiPciIntRegsiterFail" + }, { "compare_mode": "string", "log_level": "LOG_LEVEL_LOW",