From patchwork Tue Jan 29 06:39:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Hu X-Patchwork-Id: 216443 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 2C9C02C0090 for ; Tue, 29 Jan 2013 18:00:30 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1U04qb-0000Ed-Tb; Tue, 29 Jan 2013 06:39:09 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1U04qZ-0000EY-IC for fwts-devel@lists.ubuntu.com; Tue, 29 Jan 2013 06:39:07 +0000 Received: from [175.41.48.77] (helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1U04qY-0005Zl-UX; Tue, 29 Jan 2013 06:39:07 +0000 From: Ivan Hu To: fwts-devel@lists.ubuntu.com Subject: [PATCH] data: klog.json: Make FADT truncated warning into info message Date: Tue, 29 Jan 2013 14:39:03 +0800 Message-Id: <1359441543-6766-1-git-send-email-ivan.hu@canonical.com> X-Mailer: git-send-email 1.7.10.4 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com Most platforms which firmware support ACPI 5.0 FADT, however the precise kernel does not support ACPI version 5.0. the pre version 5.0 kernels will truncate the FADT back to ACPI 2.0 size and ignore the extra ACPI 5.0 settings. fwts klog scanner will report it as high failure: klog: HIGH Kernel message: [ 0.000000] ACPI Warning: FADT (revision 5) is longer than ACPI 2.0 version, truncating length 268 to 244 (20110623/tbfadt-288) This failure was detected in bug report LP#1055591, LP#1061710, LP#1050679 Signed-off-by: Ivan Hu Acked-by: Colin Ian King Acked-by: Keng-Yu Lin --- data/klog.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/data/klog.json b/data/klog.json index e00f285..1694806 100644 --- a/data/klog.json +++ b/data/klog.json @@ -3012,6 +3012,14 @@ }, { "compare_mode": "regex", + "log_level": "LOG_LEVEL_INFO", + "tag": "FWTS_TAG_ACPI_BAD_LENGTH", + "pattern": "ACPI Warning.*FADT .*revision 5.* is longer than ACPI 2.*0 version", + "advice": "The kernel has not supported ACPI version 5.0, it truncated the FADT back to ACPI2.0 size and ignored the extra ACPI5.0 settings.", + "label": "KlogAcpiFadtTruncatedLength" + }, + { + "compare_mode": "regex", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI_THROTTLING", "pattern": "ACPI Warning.*Invalid throttling state",