diff mbox series

klog.json: Add some missing ACPI PCI IRQ kernel messages to klog database

Message ID 20230913085204.20343-1-ivan.hu@canonical.com
State Rejected
Headers show
Series klog.json: Add some missing ACPI PCI IRQ kernel messages to klog database | expand

Commit Message

ivanhu Sept. 13, 2023, 8:52 a.m. UTC
These messages are specific to the ACPI PCI IRQ driver.

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
---
 data/klog.json | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

Comments

ivanhu Sept. 18, 2023, 8:43 a.m. UTC | #1
NAKE, will send out V2 for lower some issue severity.

On 9/13/23 16:52, Ivan Hu wrote:
> These messages are specific to the ACPI PCI IRQ driver.
> 
> Signed-off-by: Ivan Hu <ivan.hu@canonical.com>
> ---
>   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",
diff mbox series

Patch

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",