https://bugzilla.kernel.org/show_bug.cgi?id=199981

--- Comment #10 from step-ali ([email protected]) ---
5a8361f7ecceaed64b4064000d16cb703462be49 is the first bad commit
commit 5a8361f7ecceaed64b4064000d16cb703462be49
Author: Schmauss, Erik <[email protected]>
Date:   Thu Feb 15 13:09:30 2018 -0800

    ACPICA: Integrate package handling with module-level code

    ACPICA commit 8faf6fca445eb7219963d80543fb802302a7a8c7

    This change completes the integration of the recent changes to
    package object handling with the module-level code support.

    For acpi_exec, the -ep flag is removed.

    This change allows table load to behave as if it were a method
    invocation. Before this, the definition block definition below would
    have loaded all named objects at the root scope. After loading, it
    would execute the if statements at the root scope.

    DefinitionBlock (...)
    {
      Name(OBJ1, 0)

      if (1)
      {
        Device (DEV1)
        {
          Name (_HID,0x0)
        }
      }
      Scope (DEV1)
      {
        Name (OBJ2)
      }
    }

    The above code would load OBJ1 to the namespace, defer the execution
    of the if statement and attempt to add OBJ2 within the scope of DEV1.
    Since DEV1 is not in scope, this would incur an AE_NOT_FOUND error.
    After this error is emitted, the if block is invoked and DEV1 and its
    _HID is added to the namespace.

    This commit changes the behavior to execute the if block in place
    rather than deferring it until all tables are loaded. The new
    behavior is as follows: insert OBJ1 in the namespace, invoke the if
    statement and add DEV1 and its _HID to the namespace, add OBJ2 to the
    scope of DEV1.

    Bug report links:
    Link: https://bugs.acpica.org/show_bug.cgi?id=963
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=153541
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=196165
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=192621
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=197207
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=198051
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=198515

    ACPICA repo:
    Link: https://github.com/acpica/acpica/commit/8faf6fca

    Tested-by: Kai-Heng Feng <[email protected]>
    Signed-off-by: Bob Moore <[email protected]>
    Signed-off-by: Erik Schmauss <[email protected]>
    Signed-off-by: Rafael J. Wysocki <[email protected]>

:040000 040000 f219e9da26cbd8b2ef039583aad89d6e19a49d12
d1c678b85e4617b4cb2f10dbe27b73754e33831c M      drivers
:040000 040000 e19959d679e7bef5a4d6990ab3311735e0a2e6c1
660ed431fc1e61b9b764e676582e47a089429806 M      include

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to