Patchwork [5/9] data: klog.json: Add check for object repair or convert failure

login
register
mail settings
Submitter Colin King
Date May 14, 2013, 2 p.m.
Message ID <1368540031-28500-6-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/243710/
State Accepted
Headers show

Comments

Colin King - May 14, 2013, 2 p.m.
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 data/klog.json | 8 ++++++++
 1 file changed, 8 insertions(+)
Keng-Yu Lin - May 20, 2013, 8:26 a.m.
On Tue, May 14, 2013 at 10:00 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> 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 ea7f036..381e8c1 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -77,6 +77,14 @@
>      "compare_mode": "string",
>      "log_level": "LOG_LEVEL_HIGH",
>      "tag": "FWTS_TAG_ACPI",
> +    "pattern": "During return object analysis",
> +    "advice": "The ACPI interpreter attempted to convert or repair a return object of an unexpected type, however a fatal error occurred during the conversion.  Undefined AML execution behaviour may occur.",
> +    "label": "KlogAcpiObjConvertFailed"
> +  },
> +  {
> +    "compare_mode": "string",
> +    "log_level": "LOG_LEVEL_HIGH",
> +    "tag": "FWTS_TAG_ACPI",
>      "pattern": "MMIO size insufficient to access LTR",
>      "advice": "Intel Lynxpoint Low Power Subsystem have a set of MMIO mapped registers that provide access to the LTR (Latency Tolerance Reporting).  However, the MMIO size is smaller than expected. The corresponding I/O resource for this is incorrect, it should have a resource size set to a minimum of 24 bytes.",
>      "label": "KlogAcpiLpssMmioSizeTooSmall"
> --
> 1.8.1.2
>

Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Alex Hung - May 21, 2013, 6:08 a.m.
On 05/14/2013 10:00 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> 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 ea7f036..381e8c1 100644
> --- a/data/klog.json
> +++ b/data/klog.json
> @@ -77,6 +77,14 @@
>       "compare_mode": "string",
>       "log_level": "LOG_LEVEL_HIGH",
>       "tag": "FWTS_TAG_ACPI",
> +    "pattern": "During return object analysis",
> +    "advice": "The ACPI interpreter attempted to convert or repair a return object of an unexpected type, however a fatal error occurred during the conversion.  Undefined AML execution behaviour may occur.",
> +    "label": "KlogAcpiObjConvertFailed"
> +  },
> +  {
> +    "compare_mode": "string",
> +    "log_level": "LOG_LEVEL_HIGH",
> +    "tag": "FWTS_TAG_ACPI",
>       "pattern": "MMIO size insufficient to access LTR",
>       "advice": "Intel Lynxpoint Low Power Subsystem have a set of MMIO mapped registers that provide access to the LTR (Latency Tolerance Reporting).  However, the MMIO size is smaller than expected. The corresponding I/O resource for this is incorrect, it should have a resource size set to a minimum of 24 bytes.",
>       "label": "KlogAcpiLpssMmioSizeTooSmall"
>
Acked-by: Alex Hung <alex.hung@canonical.com>

Patch

diff --git a/data/klog.json b/data/klog.json
index ea7f036..381e8c1 100644
--- a/data/klog.json
+++ b/data/klog.json
@@ -77,6 +77,14 @@ 
     "compare_mode": "string",
     "log_level": "LOG_LEVEL_HIGH",
     "tag": "FWTS_TAG_ACPI",
+    "pattern": "During return object analysis",
+    "advice": "The ACPI interpreter attempted to convert or repair a return object of an unexpected type, however a fatal error occurred during the conversion.  Undefined AML execution behaviour may occur.",
+    "label": "KlogAcpiObjConvertFailed"
+  },
+  {
+    "compare_mode": "string",
+    "log_level": "LOG_LEVEL_HIGH",
+    "tag": "FWTS_TAG_ACPI",
     "pattern": "MMIO size insufficient to access LTR",
     "advice": "Intel Lynxpoint Low Power Subsystem have a set of MMIO mapped registers that provide access to the LTR (Latency Tolerance Reporting).  However, the MMIO size is smaller than expected. The corresponding I/O resource for this is incorrect, it should have a resource size set to a minimum of 24 bytes.",
     "label": "KlogAcpiLpssMmioSizeTooSmall"