[PATCH 22/22] data: klog.json: Add support for the ACPI PCI slot messages

Keng-Yu Lin kengyu at canonical.com
Wed Nov 7 04:20:41 UTC 2012


On Sat, Nov 3, 2012 at 1:15 AM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Add support to check for messages in drivers/acpi/pci_slot.c
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  data/klog.json |   24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index ef82821..66442de 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -80,6 +80,30 @@
>     "compare_mode": "regex",
>     "log_level": "LOG_LEVEL_HIGH",
>     "tag": "FWTS_TAG_ACPI",
> +   "pattern": "pci_create_slot returned",
> +   "advice": "A PCI slot could not be register because a call to pci_create_slot() failed.",
> +   "label": "KlogAcpiPciSlot"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "walk_p2p_bridge failure",
> +   "advice": "Traversing the PCI root bridge failed because of an error walking the P2P bridge.",
> +   "label": "KlogAcpiPciSlot"
> +  },
> +  {
> +   "compare_mode": "regex",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "register_slot failure",
> +   "advice": "Adding a PCI slot failed because traversing the PCI root bridge failed.",
> +   "label": "KlogAcpiPciSlot"
> +  },
> +  {
> +   "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"
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>



More information about the fwts-devel mailing list