From patchwork Mon Nov 5 18:37:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 197270 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 75E4D2C00A3 for ; Tue, 6 Nov 2012 05:37:26 +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 1TVRY5-0001Po-8w; Mon, 05 Nov 2012 18:37:25 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TVRXx-0001Oc-PP for fwts-devel@lists.ubuntu.com; Mon, 05 Nov 2012 18:37:17 +0000 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginmedia.com ([77.100.248.181] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1TVRXx-0001pU-Lf for fwts-devel@lists.ubuntu.com; Mon, 05 Nov 2012 18:37:17 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH 2/3] data: klog.json: Add support for the x86 MTRR kernel messages Date: Mon, 5 Nov 2012 18:37:15 +0000 Message-Id: <1352140636-14986-3-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1352140636-14986-1-git-send-email-colin.king@canonical.com> References: <1352140636-14986-1-git-send-email-colin.king@canonical.com> 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 From: Colin Ian King Add support to check for messages in arch/x86/kernel/cpu/mtrr/generic.c Signed-off-by: Colin Ian King Acked-by: Keng-Yu Lin Acked-by: Alex Hung --- data/klog.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/data/klog.json b/data/klog.json index 5007857..7211907 100644 --- a/data/klog.json +++ b/data/klog.json @@ -78,6 +78,22 @@ [ { "compare_mode": "regex", + "log_level": "LOG_LEVEL_LOW", + "tag": "FWTS_TAG_ACPI", + "pattern": "MTRR.*CPU.*SYSCFG.*MtrrFixDramModEn.*not cleared by BIOS, clearing this bit", + "advice": "The firmware is expected to clear MtrrFixDramModEn bit, see for example BIOS and Kernel Developer's Guide for the AMD Athlon 64 and AMD Opteron Processors (26094 Rev. 3.30 February 2006), section 13.2.1.2 SYSCFG Register. The MtrrFixDramModEn bit should be set 1 during firmware initalization of the fixed MTRRs, then cleared to 0 for operation. Hence the kernel has detected and worked around this fault.", + "label": "KlogMtrrFixDramModEnNotClear" + }, + { + "compare_mode": "regex", + "log_level": "LOG_LEVEL_HIGH", + "tag": "FWTS_TAG_ACPI", + "pattern": "MTRR.*CPU.*Writing MSR .* to .* failed", + "advice": "Writing to a MTRR MSR has failed. The kernel cannot do much about this and has ignored the failure.", + "label": "KlogMtrrWriteMsrFailed" + }, + { + "compare_mode": "regex", "log_level": "LOG_LEVEL_HIGH", "tag": "FWTS_TAG_ACPI", "pattern": "acpi_request_vector.*invalid interrupt type",