ACK: [PATCH][FWTS-TEST] syntaxcheck-0001: update test to be in sync with latest ACPICA changes

IvanHu ivan.hu at canonical.com
Fri Jan 17 05:54:30 UTC 2014


On 01/15/2014 01:21 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> fwts a427ae4112a80ecd0484294874f3491f9f3a8f9e updated ACPICA
> to version 20131218 which added more intellegent remarks in the
> assembler output, so we need to update the tests to be in sync
> with these improvement.s
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>   syntaxcheck-0001/syntaxcheck-0001.log | 230 +++++++++++++++++++++++++++++++++-
>   1 file changed, 227 insertions(+), 3 deletions(-)
>
> diff --git a/syntaxcheck-0001/syntaxcheck-0001.log b/syntaxcheck-0001/syntaxcheck-0001.log
> index 7090367..7f99aaf 100644
> --- a/syntaxcheck-0001/syntaxcheck-0001.log
> +++ b/syntaxcheck-0001/syntaxcheck-0001.log
> @@ -158,6 +158,62 @@ syntaxcheck     thread enters the method and blocks and then a second
>   syntaxcheck     thread also executes the method, ending up in two attempts
>   syntaxcheck     to create the object and causing a failure.
>   syntaxcheck
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 1,
> +syntaxcheck     Assembler remark in line 6046
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     06043|                             And (ICR5, 0x02, ICR5)
> +syntaxcheck     06044|                             CreateWordField (Arg1, 0x62, W490)
> +syntaxcheck     06045|                             CreateWordField (Arg1, 0x6A, W530)
> +syntaxcheck     06046|                             CreateWordField (Arg1, 0x7E, W630)
> +syntaxcheck          |                                                            ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_STM])
> +syntaxcheck     06047|                             CreateWordField (Arg1, 0x80, W640)
> +syntaxcheck     06048|                             CreateWordField (Arg1, 0xB0, W880)
> +syntaxcheck     06049|                             CreateWordField (Arg1, 0xBA, W930)
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 1,
> +syntaxcheck     Assembler remark in line 6048
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     06045|                             CreateWordField (Arg1, 0x6A, W530)
> +syntaxcheck     06046|                             CreateWordField (Arg1, 0x7E, W630)
> +syntaxcheck     06047|                             CreateWordField (Arg1, 0x80, W640)
> +syntaxcheck     06048|                             CreateWordField (Arg1, 0xB0, W880)
> +syntaxcheck          |                                                            ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_STM])
> +syntaxcheck     06049|                             CreateWordField (Arg1, 0xBA, W930)
> +syntaxcheck     06050|                             Or (PRIT, 0x8004, PRIT)
> +syntaxcheck     06051|                             If (LAnd (And (FLAG, 0x02), And (W490, 0x0800)))
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 1,
> +syntaxcheck     Assembler remark in line 6090
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     06087|                             And (ICR5, One, ICR5)
> +syntaxcheck     06088|                             CreateWordField (Arg2, 0x62, W491)
> +syntaxcheck     06089|                             CreateWordField (Arg2, 0x6A, W531)
> +syntaxcheck     06090|                             CreateWordField (Arg2, 0x7E, W631)
> +syntaxcheck          |                                                            ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_STM])
> +syntaxcheck     06091|                             CreateWordField (Arg2, 0x80, W641)
> +syntaxcheck     06092|                             CreateWordField (Arg2, 0xB0, W881)
> +syntaxcheck     06093|                             CreateWordField (Arg2, 0xBA, W931)
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 1,
> +syntaxcheck     Assembler remark in line 6092
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     06089|                             CreateWordField (Arg2, 0x6A, W531)
> +syntaxcheck     06090|                             CreateWordField (Arg2, 0x7E, W631)
> +syntaxcheck     06091|                             CreateWordField (Arg2, 0x80, W641)
> +syntaxcheck     06092|                             CreateWordField (Arg2, 0xB0, W881)
> +syntaxcheck          |                                                            ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_STM])
> +syntaxcheck     06093|                             CreateWordField (Arg2, 0xBA, W931)
> +syntaxcheck     06094|                             Or (PRIT, 0x8040, PRIT)
> +syntaxcheck     06095|                             If (LAnd (And (FLAG, 0x08), And (W491, 0x0800)))
> +syntaxcheck     ==========================================================
>   syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 1,
>   syntaxcheck     Assembler remark in line 6139
>   syntaxcheck     Line | AML source
> @@ -202,7 +258,7 @@ syntaxcheck     thread enters the method and blocks and then a second
>   syntaxcheck     thread also executes the method, ending up in two attempts
>   syntaxcheck     to create the object and causing a failure.
>   syntaxcheck
> -syntaxcheck     Table DSDT (0) reassembly: Found 3 errors, 0 warnings, 6
> +syntaxcheck     Table DSDT (0) reassembly: Found 3 errors, 0 warnings, 10
>   syntaxcheck     remarks.
>   syntaxcheck
>   syntaxcheck
> @@ -232,6 +288,62 @@ syntaxcheck     thread enters the method and blocks and then a second
>   syntaxcheck     thread also executes the method, ending up in two attempts
>   syntaxcheck     to create the object and causing a failure.
>   syntaxcheck
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 40
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00037|                 })
> +syntaxcheck     00038|                 CreateByteField (GBU0, 0x00, GB00)
> +syntaxcheck     00039|                 CreateByteField (GBU0, 0x01, GB01)
> +syntaxcheck     00040|                 CreateByteField (GBU0, 0x02, GB02)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00041|                 CreateByteField (GBU0, 0x03, GB03)
> +syntaxcheck     00042|                 CreateByteField (GBU0, 0x04, GB04)
> +syntaxcheck     00043|                 CreateByteField (GBU0, 0x05, GB05)
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 41
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00038|                 CreateByteField (GBU0, 0x00, GB00)
> +syntaxcheck     00039|                 CreateByteField (GBU0, 0x01, GB01)
> +syntaxcheck     00040|                 CreateByteField (GBU0, 0x02, GB02)
> +syntaxcheck     00041|                 CreateByteField (GBU0, 0x03, GB03)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00042|                 CreateByteField (GBU0, 0x04, GB04)
> +syntaxcheck     00043|                 CreateByteField (GBU0, 0x05, GB05)
> +syntaxcheck     00044|                 CreateByteField (GBU0, 0x06, GB06)
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 42
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00039|                 CreateByteField (GBU0, 0x01, GB01)
> +syntaxcheck     00040|                 CreateByteField (GBU0, 0x02, GB02)
> +syntaxcheck     00041|                 CreateByteField (GBU0, 0x03, GB03)
> +syntaxcheck     00042|                 CreateByteField (GBU0, 0x04, GB04)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00043|                 CreateByteField (GBU0, 0x05, GB05)
> +syntaxcheck     00044|                 CreateByteField (GBU0, 0x06, GB06)
> +syntaxcheck     00045|                 If (LEqual (SizeOf (Arg0), 0x0200))
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 43
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00040|                 CreateByteField (GBU0, 0x02, GB02)
> +syntaxcheck     00041|                 CreateByteField (GBU0, 0x03, GB03)
> +syntaxcheck     00042|                 CreateByteField (GBU0, 0x04, GB04)
> +syntaxcheck     00043|                 CreateByteField (GBU0, 0x05, GB05)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00044|                 CreateByteField (GBU0, 0x06, GB06)
> +syntaxcheck     00045|                 If (LEqual (SizeOf (Arg0), 0x0200))
> +syntaxcheck     00046|                 {
> +syntaxcheck     ==========================================================
>   syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 2,
>   syntaxcheck     Assembler remark in line 74
>   syntaxcheck     Line | AML source
> @@ -254,6 +366,62 @@ syntaxcheck     thread enters the method and blocks and then a second
>   syntaxcheck     thread also executes the method, ending up in two attempts
>   syntaxcheck     to create the object and causing a failure.
>   syntaxcheck
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 82
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00079|                 })
> +syntaxcheck     00080|                 CreateByteField (GBU1, 0x00, GB10)
> +syntaxcheck     00081|                 CreateByteField (GBU1, 0x01, GB11)
> +syntaxcheck     00082|                 CreateByteField (GBU1, 0x02, GB12)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00083|                 CreateByteField (GBU1, 0x03, GB13)
> +syntaxcheck     00084|                 CreateByteField (GBU1, 0x04, GB14)
> +syntaxcheck     00085|                 CreateByteField (GBU1, 0x05, GB15)
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 83
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00080|                 CreateByteField (GBU1, 0x00, GB10)
> +syntaxcheck     00081|                 CreateByteField (GBU1, 0x01, GB11)
> +syntaxcheck     00082|                 CreateByteField (GBU1, 0x02, GB12)
> +syntaxcheck     00083|                 CreateByteField (GBU1, 0x03, GB13)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00084|                 CreateByteField (GBU1, 0x04, GB14)
> +syntaxcheck     00085|                 CreateByteField (GBU1, 0x05, GB15)
> +syntaxcheck     00086|                 CreateByteField (GBU1, 0x06, GB16)
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 84
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00081|                 CreateByteField (GBU1, 0x01, GB11)
> +syntaxcheck     00082|                 CreateByteField (GBU1, 0x02, GB12)
> +syntaxcheck     00083|                 CreateByteField (GBU1, 0x03, GB13)
> +syntaxcheck     00084|                 CreateByteField (GBU1, 0x04, GB14)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00085|                 CreateByteField (GBU1, 0x05, GB15)
> +syntaxcheck     00086|                 CreateByteField (GBU1, 0x06, GB16)
> +syntaxcheck     00087|                 If (LEqual (SizeOf (Arg0), 0x0200))
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 85
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00082|                 CreateByteField (GBU1, 0x02, GB12)
> +syntaxcheck     00083|                 CreateByteField (GBU1, 0x03, GB13)
> +syntaxcheck     00084|                 CreateByteField (GBU1, 0x04, GB14)
> +syntaxcheck     00085|                 CreateByteField (GBU1, 0x05, GB15)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00086|                 CreateByteField (GBU1, 0x06, GB16)
> +syntaxcheck     00087|                 If (LEqual (SizeOf (Arg0), 0x0200))
> +syntaxcheck     00088|                 {
> +syntaxcheck     ==========================================================
>   syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_SERIALIZED_REQUIRED: Test 2,
>   syntaxcheck     Assembler remark in line 116
>   syntaxcheck     Line | AML source
> @@ -276,7 +444,63 @@ syntaxcheck     thread enters the method and blocks and then a second
>   syntaxcheck     thread also executes the method, ending up in two attempts
>   syntaxcheck     to create the object and causing a failure.
>   syntaxcheck
> -syntaxcheck     Table SSDT (0) reassembly: Found 0 errors, 0 warnings, 3
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 124
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00121|                 })
> +syntaxcheck     00122|                 CreateByteField (GBU2, 0x00, GB20)
> +syntaxcheck     00123|                 CreateByteField (GBU2, 0x01, GB21)
> +syntaxcheck     00124|                 CreateByteField (GBU2, 0x02, GB22)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00125|                 CreateByteField (GBU2, 0x03, GB23)
> +syntaxcheck     00126|                 CreateByteField (GBU2, 0x04, GB24)
> +syntaxcheck     00127|                 CreateByteField (GBU2, 0x05, GB25)
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 125
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00122|                 CreateByteField (GBU2, 0x00, GB20)
> +syntaxcheck     00123|                 CreateByteField (GBU2, 0x01, GB21)
> +syntaxcheck     00124|                 CreateByteField (GBU2, 0x02, GB22)
> +syntaxcheck     00125|                 CreateByteField (GBU2, 0x03, GB23)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00126|                 CreateByteField (GBU2, 0x04, GB24)
> +syntaxcheck     00127|                 CreateByteField (GBU2, 0x05, GB25)
> +syntaxcheck     00128|                 CreateByteField (GBU2, 0x06, GB26)
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 126
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00123|                 CreateByteField (GBU2, 0x01, GB21)
> +syntaxcheck     00124|                 CreateByteField (GBU2, 0x02, GB22)
> +syntaxcheck     00125|                 CreateByteField (GBU2, 0x03, GB23)
> +syntaxcheck     00126|                 CreateByteField (GBU2, 0x04, GB24)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00127|                 CreateByteField (GBU2, 0x05, GB25)
> +syntaxcheck     00128|                 CreateByteField (GBU2, 0x06, GB26)
> +syntaxcheck     00129|                 If (LEqual (SizeOf (Arg0), 0x0200))
> +syntaxcheck     ==========================================================
> +syntaxcheck     FAILED [LOW] AMLAsmASL_MSG_NOT_REFERENCED: Test 2,
> +syntaxcheck     Assembler remark in line 127
> +syntaxcheck     Line | AML source
> +syntaxcheck     ----------------------------------------------------------
> +syntaxcheck     00124|                 CreateByteField (GBU2, 0x02, GB22)
> +syntaxcheck     00125|                 CreateByteField (GBU2, 0x03, GB23)
> +syntaxcheck     00126|                 CreateByteField (GBU2, 0x04, GB24)
> +syntaxcheck     00127|                 CreateByteField (GBU2, 0x05, GB25)
> +syntaxcheck          |                                                ^
> +syntaxcheck          | Remark 2089: Object is not referenced    (Name is within method [_SDD])
> +syntaxcheck     00128|                 CreateByteField (GBU2, 0x06, GB26)
> +syntaxcheck     00129|                 If (LEqual (SizeOf (Arg0), 0x0200))
> +syntaxcheck     00130|                 {
> +syntaxcheck     ==========================================================
> +syntaxcheck     Table SSDT (0) reassembly: Found 0 errors, 0 warnings, 15
>   syntaxcheck     remarks.
>   syntaxcheck
>   syntaxcheck
> @@ -393,6 +617,6 @@ syntaxcheck     remarks.
>   syntaxcheck
>   syntaxcheck
>   syntaxcheck     ==========================================================
> -syntaxcheck     3 passed, 16 failed, 0 warning, 0 aborted, 0 skipped, 0
> +syntaxcheck     3 passed, 32 failed, 0 warning, 0 aborted, 0 skipped, 0
>   syntaxcheck     info only.
>   syntaxcheck     ==========================================================
>

Acked-by: Ivan Hu <ivan.hu at canonical.com>



More information about the fwts-devel mailing list