ACK: [PATCH 21/22] data: klog.json: Add support for the ACPI PCI link control messages

Alex Hung alex.hung at canonical.com
Wed Nov 21 02:59:44 UTC 2012


On 11/03/2012 01:15 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Add support to check for messages in drivers/acpi/pci_link.c
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   data/klog.json |   88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 88 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 47c788e..ef82821 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -77,6 +77,94 @@
>    "firmware_error_warning_patterns":
>    [
>     {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "_PRS resource type .* isn't an IRQ",
> +   "advice": "The ACPI _PRS resource type was expected to be an IRQ type and was not.",
> +   "label": "KlogAcpiPciLinkPrsIrq"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "_CRS resource type 0x%x isn't an IRQ",
> +   "advice": "The ACPI _CRS resource type was expected to be an IRQ type and was not.",
> +   "label": "KlogAcpiPciLinkCrsIrq"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "ACPI:.*Unable to read status",
> +   "advice": "A query of _STA to get the bus status failed and the current link status is unknown.",
> +   "label": "KlogAcpiPciLinkSta"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "_CRS returned 0",
> +   "advice": "The query of the bus status failed because the _CRS controlled returned IRQ 0, which was not expected.",
> +   "label": "KlogAcpiPciLinkCrsIrqZero"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Invalid Resource_type",
> +   "advice": "A PCI link set failed because the link IRQ resource type is invalid.",
> +   "label": "KlogAcpiPciLinkIrqResourceInvalid"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Unable to set IRQ for",
> +   "advice": "An attempt to enabled the link device failed.",
> +   "label": "KlogAcpiPciLinkFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Invalid link device",
> +   "advice": "Unable to allocate an IRQ failed because the link device is invalid.",
> +   "label": "KlogAcpiPciLinkDeviceInvalid"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Invalid link context",
> +   "advice": "Unable to allocate an IRQ failed because the link context was invalid (NULL).",
> +   "label": "KlogAcpiPciLinkContextNull"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "ACPI.*Invalid index",
> +   "advice": "Support for multiple index IRQ entries per link device is not yet implemented.",
> +   "label": "KlogAcpiPciLinkMultipleIrqEntries"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Link active IRQ is 0",
> +   "advice": "Unable to allocate an IRQ failed because the active IRQ is 0, which is wrong.",
> +   "label": "KlogAcpiPciLinkActiveIrqZero"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_MEDIUM",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Link isn't initialized",
> +   "advice": "An attempt to free the IRQ of a link failed because the link was not initialized.",
> +   "label": "KlogAcpiPciLinkNotInitialized"
> +  },
> +  {
>      "compare_mode": "string",
>      "log_level": "LOG_LEVEL_CRITICAL",
>      "tag": "FWTS_TAG_ACPI",
>
Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list