Patchwork [10/22] data: klog.json: Add support for the ACPI thermal zone handler.

login
register
mail settings
Submitter Colin King
Date Nov. 2, 2012, 5:15 p.m.
Message ID <1351876532-21869-11-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/196615/
State Accepted
Headers show

Comments

Colin King - Nov. 2, 2012, 5:15 p.m.
From: Colin Ian King <colin.king@canonical.com>

Add support to check for messages in drivers/acpi/thermal.c

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 data/klog.json |    8 ++++++++
 1 file changed, 8 insertions(+)
Keng-Yu Lin - Nov. 7, 2012, 4:17 a.m.
On Sat, Nov 3, 2012 at 1:15 AM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Add support to check for messages in drivers/acpi/thermal.c
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  data/klog.json |    8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index b3ab254..1351fd2 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -214,6 +214,14 @@
>    },
>    {
>     "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI_THERMAL",
> +   "pattern": "Error attaching device data",
> +   "advice": "The kernel could not register a thermal zone because acpi_attach_data() failed for some reason. The machine may not be able to optimally cool itself and may have overheating issues because of this error.",
> +   "label": "KlogAcpiThermZoneAttachFailed"
> +  },
> +  {
> +   "compare_mode": "string",
>     "log_level": "LOG_LEVEL_HIGH",
>     "tag": "FWTS_TAG_ACPI_THERMAL",
>     "pattern": "Invalid _TSS data: freq is zero",
> --
> 1.7.10.4
>
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Alex Hung - Nov. 21, 2012, 2:56 a.m.
On 11/03/2012 01:15 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Add support to check for messages in drivers/acpi/thermal.c
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   data/klog.json |    8 ++++++++
>   1 file changed, 8 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index b3ab254..1351fd2 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -214,6 +214,14 @@
>     },
>     {
>      "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI_THERMAL",
> +   "pattern": "Error attaching device data",
> +   "advice": "The kernel could not register a thermal zone because acpi_attach_data() failed for some reason. The machine may not be able to optimally cool itself and may have overheating issues because of this error.",
> +   "label": "KlogAcpiThermZoneAttachFailed"
> +  },
> +  {
> +   "compare_mode": "string",
>      "log_level": "LOG_LEVEL_HIGH",
>      "tag": "FWTS_TAG_ACPI_THERMAL",
>      "pattern": "Invalid _TSS data: freq is zero",
>
Acked-by: Alex Hung <alex.hung@canonical.com>

Patch

diff --git a/data/klog.json b/data/klog.json
index b3ab254..1351fd2 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -214,6 +214,14 @@ 
   },
   {
    "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "tag": "FWTS_TAG_ACPI_THERMAL",
+   "pattern": "Error attaching device data",
+   "advice": "The kernel could not register a thermal zone because acpi_attach_data() failed for some reason. The machine may not be able to optimally cool itself and may have overheating issues because of this error.",
+   "label": "KlogAcpiThermZoneAttachFailed"
+  },
+  {
+   "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
    "tag": "FWTS_TAG_ACPI_THERMAL",
    "pattern": "Invalid _TSS data: freq is zero",