From patchwork Fri Apr 20 10:03:11 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: 153996 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 CB707B6FDF for ; Fri, 20 Apr 2012 20:03:15 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SLAgM-0006Yn-Lw for incoming@patchwork.ozlabs.org; Fri, 20 Apr 2012 10:03:14 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SLAgK-0006Yi-Jw for fwts-devel@lists.ubuntu.com; Fri, 20 Apr 2012 10:03:12 +0000 Received: from cpc19-craw6-2-0-cust5.croy.cable.virginmedia.com ([77.102.228.6] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SLAgK-0004DL-Ev for fwts-devel@lists.ubuntu.com; Fri, 20 Apr 2012 10:03:12 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH][FWTS-TEST] syntaxcheck-0001: new ACPICA core handles MIF/MAF flags w/o an error now, so fix test Date: Fri, 20 Apr 2012 11:03:11 +0100 Message-Id: <1334916191-32619-1-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.9.5 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 Signed-off-by: Colin Ian King Acked-by: Alex Hung Acked-by: Keng-Yu Lin --- syntaxcheck-0001/syntaxcheck-0001.log | 51 ++------------------------------- 1 file changed, 3 insertions(+), 48 deletions(-) diff --git a/syntaxcheck-0001/syntaxcheck-0001.log b/syntaxcheck-0001/syntaxcheck-0001.log index f19e127..6d7af0e 100644 --- a/syntaxcheck-0001/syntaxcheck-0001.log +++ b/syntaxcheck-0001/syntaxcheck-0001.log @@ -1,53 +1,8 @@ syntaxcheck Re-assemble DSDT and find syntax errors and warnings. syntaxcheck --------------------------------------------------------- syntaxcheck Test 1 of 2: Disassemble and reassemble DSDT -syntaxcheck FAILED [HIGH] AMLAssemblerError4122: Test 1, Assembler -syntaxcheck error in line 1070 -syntaxcheck Line | AML source -syntaxcheck --------------------------------------------------------- -syntaxcheck 01067| 0x00000000, // Range Minimum -syntaxcheck 01068| 0xDFFFFFFF, // Range Maximum -syntaxcheck 01069| 0x00000000, // Translation Offset -syntaxcheck 01070| 0x00000000, // Length -syntaxcheck | ^ -syntaxcheck | error 4122: Invalid combination of Length and Min/Max fixed flags -syntaxcheck 01071| ,, _Y0D, AddressRangeMemory, TypeStatic) -syntaxcheck 01072| DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, -syntaxcheck 01073| 0x00000000, // Granularity -syntaxcheck ========================================================= -syntaxcheck -syntaxcheck ADVICE: (for error #4122): This occurs if the length is -syntaxcheck zero and just one of the resource MIF/MAF flags are set, -syntaxcheck or the length is non-zero and resource MIF/MAF flags are -syntaxcheck both set. These are illegal combinations and need to be -syntaxcheck fixed. See section 6.4.3.5 Address Space Resource -syntaxcheck Descriptors of version 4.0a of the ACPI specification for -syntaxcheck more details. -syntaxcheck -syntaxcheck FAILED [HIGH] AMLAssemblerError4122: Test 1, Assembler -syntaxcheck error in line 1084 -syntaxcheck Line | AML source -syntaxcheck --------------------------------------------------------- -syntaxcheck 01081| 0xFED40000, // Range Minimum -syntaxcheck 01082| 0xFED44FFF, // Range Maximum -syntaxcheck 01083| 0x00000000, // Translation Offset -syntaxcheck 01084| 0x00000000, // Length -syntaxcheck | ^ -syntaxcheck | error 4122: Invalid combination of Length and Min/Max fixed flags -syntaxcheck 01085| ,, , AddressRangeMemory, TypeStatic) -syntaxcheck 01086| }) -syntaxcheck 01087| Method (_CRS, 0, Serialized) -syntaxcheck ========================================================= -syntaxcheck -syntaxcheck ADVICE: (for error #4122): This occurs if the length is -syntaxcheck zero and just one of the resource MIF/MAF flags are set, -syntaxcheck or the length is non-zero and resource MIF/MAF flags are -syntaxcheck both set. These are illegal combinations and need to be -syntaxcheck fixed. See section 6.4.3.5 Address Space Resource -syntaxcheck Descriptors of version 4.0a of the ACPI specification for -syntaxcheck more details. -syntaxcheck -syntaxcheck Table DSDT (0) reassembly: Found 2 errors, 0 warnings. +syntaxcheck PASSED: Test 1, DSDT (0) reassembly, Found 0 errors, 0 +syntaxcheck warnings. syntaxcheck syntaxcheck Test 2 of 2: Disassemble and reassemble SSDT syntaxcheck PASSED: Test 2, SSDT (0) reassembly, Found 0 errors, 0 @@ -62,6 +17,6 @@ syntaxcheck PASSED: Test 2, SSDT (4) reassembly, Found 0 errors, 0 syntaxcheck warnings. syntaxcheck syntaxcheck ========================================================= -syntaxcheck 5 passed, 2 failed, 0 warnings, 0 aborted, 0 skipped, 0 +syntaxcheck 6 passed, 0 failed, 0 warnings, 0 aborted, 0 skipped, 0 syntaxcheck info only. syntaxcheck =========================================================