ASL issues on HP machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I can address a couple of these immediately.


ASL_MSG_NOT_REFERENCED
This is seen on the HP machine.

FAILED [LOW] AMLAsm
ASL_MSG_NOT_REFERENCED: Test 1, Assembler remark in 
line 1141
Line | AML source
--------------------------------------------------------------------------------
01138|             Store (Buffer (0x18) {}, Local7)
01139|             CreateDWordField (Local7, 0x00, A119)
01140|             CreateDWordField (Local7, 0x04, A120)
01141|             CreateDWordField (Local7, 0x08, A121)
      |                                               ^
      | Remark 2089: Object is not referenced    (Name [A121] is within a 
method [A037])


Here is the actual disassembled A037 method, found in SSDT3:

        Method (A037, 1, NotSerialized)
        {

            ... /* Some other stuff here */

            CreateDWordField (Local7, 0x00, A119)
            CreateDWordField (Local7, 0x04, A120)
            CreateDWordField (Local7, 0x08, A121)
            CreateDWordField (Local7, 0x0C, A122)
            CreateDWordField (Local7, 0x10, A123)
            CreateDWordField (Local7, 0x14, A124)
            A119 = Local4
            A125 (0x3A, Local7)
        }

Not only is the symbol A121 created and not referenced, all of the fields A120 through A124 are not referenced.

These are essentially "unused variables", so they have no effect on operation of the method other than consuming a tiny bit more memory during the execution of the method.




AE_AML_BUFFER_LIMIT:
This is seen on the HP machine.

> [   12.291867] ACPI Error: Field [D128] at 1152 exceeds Buffer [NULL]
> size 160 (bits) (20150930/dsopcode-236)
> [   12.291875] ACPI Error: Method parse/execution failed [\HWMC] (Node
> ffff880197cb5b30), AE_AML_BUFFER_LIMIT (20150930/psparse-542)

All of these messages are caused by either whatever driver is calling the HWMC method, or the HWMC method itself. The exact ASL statement showing the problem is this:


        CreateField (Arg1, 0x80, 0x0400, D128)


The input buffer (Arg1) is 160 bits, but this CreateField statement is attempting to create a field starting at bit offset 0x80 (bit 128) for length 0x400 (1024). This in fact goes way beyond the size of the input buffer (out to bit 0x480, which is decimal 1152). Of course, the ACPICA interpreter detects this and appropriately aborts the method.

I cannot speak any further to this problem because it is either a firmware or a driver problem. In either case, the vendor should be notified.


--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux