linux_dsm_epyc7002/drivers/acpi/acpica
Schmauss, Erik 5a8361f7ec 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 <kai.heng.feng@canonical.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2018-02-21 23:51:08 +01:00
..
acapps.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
accommon.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acconvert.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acdebug.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acdispat.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acevents.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acglobal.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
achware.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acinterp.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
aclocal.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acmacros.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acnamesp.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acobject.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acopcode.h ACPICA: Revert "Fix for implicit result conversion for the To____ functions" 2018-02-21 23:51:08 +01:00
acparser.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acpredef.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acresrc.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acstruct.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
actables.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
acutils.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
amlcode.h ACPICA: Revert "Fix for implicit result conversion for the To____ functions" 2018-02-21 23:51:08 +01:00
amlresrc.h ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbcmds.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbconvert.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbdisply.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbexec.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbfileio.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbhistry.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbinput.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbmethod.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbnames.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbobject.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbstats.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbtest.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbutils.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dbxface.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dsargs.c ACPICA: Update for some debug output. No functional change 2018-02-21 23:51:08 +01:00
dscontrol.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dsdebug.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dsfield.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dsinit.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dsmethod.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dsmthdat.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dsobject.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dsopcode.c ACPICA: Update for some debug output. No functional change 2018-02-21 23:51:08 +01:00
dspkginit.c ACPICA: Integrate package handling with module-level code 2018-02-21 23:51:08 +01:00
dsutils.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dswexec.c ACPICA: Integrate package handling with module-level code 2018-02-21 23:51:08 +01:00
dswload2.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dswload.c ACPICA: Update for some debug output. No functional change 2018-02-21 23:51:08 +01:00
dswscope.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
dswstate.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evevent.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evglock.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evgpe.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evgpeblk.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evgpeinit.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evgpeutil.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evhandler.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evmisc.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evregion.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evrgnini.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evsci.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evxface.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evxfevnt.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evxfgpe.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
evxfregn.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exconcat.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exconfig.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exconvrt.c ACPICA: Revert "Fix for implicit result conversion for the To____ functions" 2018-02-21 23:51:08 +01:00
excreate.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exdebug.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exdump.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exfield.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exfldio.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exmisc.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exmutex.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exnames.c ACPICA: Update for some debug output. No functional change 2018-02-21 23:51:08 +01:00
exoparg1.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exoparg2.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exoparg3.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exoparg6.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exprep.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exregion.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exresnte.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exresolv.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exresop.c ACPICA: Revert "Fix for implicit result conversion for the To____ functions" 2018-02-21 23:51:08 +01:00
exstore.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exstoren.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exstorob.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exsystem.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
extrace.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
exutils.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
hwacpi.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
hwesleep.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
hwgpe.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
hwpci.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
hwregs.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
hwsleep.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
hwtimer.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
hwvalid.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
hwxface.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
hwxfsleep.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
Makefile Merge branch 'acpica' 2017-11-13 01:36:58 +01:00
nsaccess.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsalloc.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsarguments.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsconvert.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsdump.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsdumpdv.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nseval.c ACPICA: Update error message, no functional change 2018-02-21 23:51:08 +01:00
nsinit.c ACPICA: Update for some debug output. No functional change 2018-02-21 23:51:08 +01:00
nsload.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsnames.c ACPICA: Update for some debug output. No functional change 2018-02-21 23:51:08 +01:00
nsobject.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsparse.c ACPICA: Integrate package handling with module-level code 2018-02-21 23:51:08 +01:00
nspredef.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsprepkg.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsrepair2.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsrepair.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nssearch.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsutils.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nswalk.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsxfeval.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsxfname.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
nsxfobj.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
psargs.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
psloop.c ACPICA: Update for some debug output. No functional change 2018-02-21 23:51:08 +01:00
psobject.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
psopcode.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
psopinfo.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
psparse.c ACPICA: Update for some debug output. No functional change 2018-02-21 23:51:08 +01:00
psscope.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
pstree.c ACPICA: Integrate package handling with module-level code 2018-02-21 23:51:08 +01:00
psutils.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
pswalk.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
psxface.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rsaddr.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rscalc.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rscreate.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rsdump.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rsdumpinfo.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rsinfo.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rsio.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rsirq.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rslist.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rsmemory.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rsmisc.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rsserial.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rsutils.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
rsxface.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
tbdata.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
tbfadt.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
tbfind.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
tbinstal.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
tbprint.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
tbutils.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
tbxface.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
tbxfload.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
tbxfroot.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utaddress.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utalloc.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utascii.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utbuffer.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utcache.c ACPICA: Update for some debug output. No functional change 2018-02-21 23:51:08 +01:00
utcopy.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utdebug.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utdecode.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utdelete.c ACPICA: Update for some debug output. No functional change 2018-02-21 23:51:08 +01:00
uterror.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
uteval.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utexcep.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utglobal.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
uthex.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utids.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utinit.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utlock.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utmath.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utmisc.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utmutex.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utnonansi.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utobject.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utosi.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utownerid.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utpredef.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utprint.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utresdecode.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utresrc.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utstate.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utstring.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utstrsuppt.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utstrtoul64.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
uttrack.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utuuid.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utxface.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utxferror.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utxfinit.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00
utxfmutex.c ACPICA: All acpica: Update copyrights to 2018 2018-02-06 10:31:20 +01:00