From patchwork Mon Nov 5 18:37:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/3] data: klog.json: Add support for the x86 MTRR kernel messages Date: Mon, 05 Nov 2012 08:37:15 -0000 From: Colin King X-Patchwork-Id: 197270 Message-Id: <1352140636-14986-3-git-send-email-colin.king@canonical.com> To: fwts-devel@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",