Patchwork [20/22] data: klog.json: Add support for the ACPI processor driver

login
register
mail settings
Submitter Colin King
Date Nov. 2, 2012, 5:15 p.m.
Message ID <1351876532-21869-21-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/196620/
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/processor_driver.c

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 data/klog.json |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
Keng-Yu Lin - Nov. 7, 2012, 4:20 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/processor_driver.c
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  data/klog.json |   24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 8782051..47c788e 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -78,6 +78,30 @@
>   [
>    {
>     "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Evaluating processor object",
> +   "advice": "An error occurred evaluating the ACPI Processor() object, ACPI CPU control for this CPU broken.",
> +   "label": "KlogAcpiProcessorFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Evaluating processor _UID",
> +   "advice": "An error occurred evaluating an ACPI CPU _UID, ACPI CPU control for this CPU is broken.",
> +   "label": "KlogAcpiProcessorBadUid"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Invalid PBLK length",
> +   "advice": "The Processor Register Block data is not the expected size, ACPI control of this CPU will not occur.",
> +   "label": "KlogAcpiProcessorPblkBad"
> +  },
> +  {
> +   "compare_mode": "string",
>     "log_level": "LOG_LEVEL_HIGH",
>     "tag": "FWTS_TAG_ACPI",
>     "pattern": "Invalid _PSS data",
> --
> 1.7.10.4
>
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Alex Hung - Nov. 21, 2012, 2:59 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/processor_driver.c
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   data/klog.json |   24 ++++++++++++++++++++++++
>   1 file changed, 24 insertions(+)
>
> diff --git a/data/klog.json b/data/klog.json
> index 8782051..47c788e 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -78,6 +78,30 @@
>    [
>     {
>      "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Evaluating processor object",
> +   "advice": "An error occurred evaluating the ACPI Processor() object, ACPI CPU control for this CPU broken.",
> +   "label": "KlogAcpiProcessorFailed"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_CRITICAL",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Evaluating processor _UID",
> +   "advice": "An error occurred evaluating an ACPI CPU _UID, ACPI CPU control for this CPU is broken.",
> +   "label": "KlogAcpiProcessorBadUid"
> +  },
> +  {
> +   "compare_mode": "string",
> +   "log_level": "LOG_LEVEL_HIGH",
> +   "tag": "FWTS_TAG_ACPI",
> +   "pattern": "Invalid PBLK length",
> +   "advice": "The Processor Register Block data is not the expected size, ACPI control of this CPU will not occur.",
> +   "label": "KlogAcpiProcessorPblkBad"
> +  },
> +  {
> +   "compare_mode": "string",
>      "log_level": "LOG_LEVEL_HIGH",
>      "tag": "FWTS_TAG_ACPI",
>      "pattern": "Invalid _PSS data",
>
Acked-by: Alex Hung <alex.hung@canonical.com>

Patch

diff --git a/data/klog.json b/data/klog.json
index 8782051..47c788e 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -78,6 +78,30 @@ 
  [
   {
    "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Evaluating processor object",
+   "advice": "An error occurred evaluating the ACPI Processor() object, ACPI CPU control for this CPU broken.",
+   "label": "KlogAcpiProcessorFailed"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_CRITICAL",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Evaluating processor _UID",
+   "advice": "An error occurred evaluating an ACPI CPU _UID, ACPI CPU control for this CPU is broken.",
+   "label": "KlogAcpiProcessorBadUid"
+  },
+  {
+   "compare_mode": "string",
+   "log_level": "LOG_LEVEL_HIGH",
+   "tag": "FWTS_TAG_ACPI",
+   "pattern": "Invalid PBLK length",
+   "advice": "The Processor Register Block data is not the expected size, ACPI control of this CPU will not occur.",
+   "label": "KlogAcpiProcessorPblkBad"
+  },
+  {
+   "compare_mode": "string",
    "log_level": "LOG_LEVEL_HIGH",
    "tag": "FWTS_TAG_ACPI",
    "pattern": "Invalid _PSS data",