From patchwork Wed Sep 13 08:52:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 1833426 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 4RlvNJ04hpz1yhZ for ; Wed, 13 Sep 2023 18:52: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 1qgLbe-0004Xi-UV; Wed, 13 Sep 2023 08:52:19 +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 1qgLbU-0004W5-VC for fwts-devel@lists.ubuntu.com; Wed, 13 Sep 2023 08:52:09 +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 AC5933F527 for ; Wed, 13 Sep 2023 08:52:07 +0000 (UTC) From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] klog.json: Add some missing ACPI PCI IRQ kernel messages to klog database Date: Wed, 13 Sep 2023 16:52:04 +0800 Message-Id: <20230913085204.20343-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 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/data/klog.json b/data/klog.json index 029dea02..ab2b9b2c 100644 --- a/data/klog.json +++ b/data/klog.json @@ -1709,6 +1709,56 @@ "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_MEDIUM", + "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_MEDIUM", + "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_LOW", + "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_MEDIUM", + "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_LOW", + "pattern": "PCI INT .*: no GSI", + "advice": "The kernel cannot register Global System Interrupt (no GSI).", + "label": "KlogAcpiPciIntOnGSI" + }, + + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_MEDIUM", + "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",