linux/drivers/acpi/acpica
Lv Zheng 2d3349de80 ACPICA: Namespace: Reorder \_SB._INI to make sure it is evaluated before _REG evaluations
ACPICA commit f005ee6b90d152c1f499efcca6b771a93903cb55

This patch splits \_SB._INI evaluation from device initialization code, so
that it can be performed before PCI_Config _REG evaluations. This is
required for the device enumeration process. Some named objects are
initialized in \_SB._INI and PCI_Config _REG evaluations may use
uninitialized named objects because of the order issue.

This must be fixed before fixing ECDT order issue. There are existing
tables allowing ECDT EC to be used for the entire device enumeration
process, but the enabling of ECDT EC is done in \_SB._INI. Thus \_SB._INI
must be the first control method evaluated in the device enumeration
process. Normally, the order should be automatically ensured by the device
enumeration process itself (for example, PCI_Config _REGs are evaluated by
the PCI bus driver when the driver is probed by the enumeration process),
but since the process is split on Linux (partially done in Linux, partially
done in ACPICA), we need to ensure this with special logics in order to be
regression safe. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/f005ee6b
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-04-05 03:53:34 +02:00
..
acapps.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
accommon.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acdebug.h ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
acdispat.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acevents.h ACPICA: Events: Fix an issue that _REG association can happen before namespace is initialized 2016-04-05 03:53:34 +02:00
acglobal.h ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
achware.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acinterp.h ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
aclocal.h ACPICA: iASL/Disassembler: Improve handling of unresolved methods 2016-04-05 03:53:33 +02:00
acmacros.h Utilities: Fix missing parentheses in ACPI_GET_BITS()/ACPI_SET_BITS() 2016-04-05 03:53:33 +02:00
acnamesp.h ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
acobject.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acopcode.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acparser.h ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
acpredef.h ACPICA: ACPI 6.1: Add full support for this version of ACPI spec 2016-04-05 03:53:31 +02:00
acresrc.h ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
acstruct.h ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
actables.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acutils.h ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
amlcode.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
amlresrc.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dbcmds.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
dbconvert.c ACPICA: Utilities: Update for strtoul64 merger 2016-04-05 03:53:33 +02:00
dbdisply.c ACPICA: Silence a -Wbad-function-cast warning when acpi_uintptr_t is 'uintptr_t' 2016-01-15 22:22:05 +01:00
dbexec.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dbfileio.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dbhistry.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dbinput.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
dbmethod.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dbnames.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dbobject.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dbstats.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dbtest.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dbutils.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
dbxface.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dsargs.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dscontrol.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dsdebug.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dsfield.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dsinit.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dsmethod.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
dsmthdat.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dsobject.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
dsopcode.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dsutils.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dswexec.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dswload2.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dswload.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dswscope.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dswstate.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evevent.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evglock.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evgpe.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evgpeblk.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
evgpeinit.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
evgpeutil.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evhandler.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evmisc.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evregion.c ACPICA: Events: Fix an issue that _REG association can happen before namespace is initialized 2016-04-05 03:53:34 +02:00
evrgnini.c ACPICA: Events: Fix an issue that _REG association can happen before namespace is initialized 2016-04-05 03:53:34 +02:00
evsci.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evxface.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evxfevnt.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evxfgpe.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evxfregn.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exconcat.c ACPICA: Intepreter: Add object extensions to Concatenate operand 2016-04-05 03:53:31 +02:00
exconfig.c ACPICA: Tables: Fix wrong MLC condition for dynamic table loading 2016-04-05 03:53:34 +02:00
exconvrt.c ACPICA: Utilities: Update for strtoul64 merger 2016-04-05 03:53:33 +02:00
excreate.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exdebug.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exdump.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
exfield.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exfldio.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exmisc.c ACPICA: Intepreter: Add object extensions to Concatenate operand 2016-04-05 03:53:31 +02:00
exmutex.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exnames.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exoparg1.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exoparg2.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exoparg3.c ACPICA: ACPI 6.0/iASL: Add support for the External AML opcode 2016-02-24 14:14:49 +01:00
exoparg6.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exprep.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exregion.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exresnte.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exresolv.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exresop.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exstore.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exstoren.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exstorob.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exsystem.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
extrace.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exutils.c ACPICA: Interpreter: Update some function headers, no functional change 2016-04-05 03:53:32 +02:00
hwacpi.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
hwesleep.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
hwgpe.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
hwpci.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
hwregs.c ACPICA: Hardware: Enhance acpi_hw_validate_register() with access_width/bit_offset awareness 2016-04-05 03:53:33 +02:00
hwsleep.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
hwtimer.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
hwvalid.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
hwxface.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
hwxfsleep.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
Makefile ACPICA: Intepreter: Add object extensions to Concatenate operand 2016-04-05 03:53:31 +02:00
nsaccess.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
nsalloc.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsarguments.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsconvert.c ACPICA: Utilities: Update for strtoul64 merger 2016-04-05 03:53:33 +02:00
nsdump.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
nsdumpdv.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nseval.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
nsinit.c ACPICA: Namespace: Reorder \_SB._INI to make sure it is evaluated before _REG evaluations 2016-04-05 03:53:34 +02:00
nsload.c ACPICA: Linuxize: reduce divergences for 20160212 release 2016-04-04 17:16:07 +02:00
nsnames.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsobject.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsparse.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nspredef.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsprepkg.c ACPICA: Cleanup some invocation indentations, no functional change 2016-04-05 03:53:32 +02:00
nsrepair2.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsrepair.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nssearch.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsutils.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nswalk.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsxfeval.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsxfname.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsxfobj.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
psargs.c ACPICA: Revert "Parser: Fix for SuperName method invocation" 2016-03-08 22:58:38 +01:00
psloop.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
psobject.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
psopcode.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
psopinfo.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
psparse.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
psscope.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
pstree.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
psutils.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
pswalk.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
psxface.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rsaddr.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rscalc.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rscreate.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rsdump.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
rsdumpinfo.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rsinfo.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rsio.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rsirq.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rslist.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rsmemory.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rsmisc.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rsserial.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rsutils.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
rsxface.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
tbdata.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
tbfadt.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
tbfind.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
tbinstal.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
tbprint.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
tbutils.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
tbxface.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
tbxfload.c ACPICA: Interpreter: Fix wrong conditions for acpi_ev_install_region_handlers() invocation 2016-04-05 03:53:34 +02:00
tbxfroot.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utaddress.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utalloc.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utbuffer.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utcache.c ACPICA: Utilities: Update trace mechinism for acquire_object 2016-03-08 22:56:21 +01:00
utcopy.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utdebug.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
utdecode.c ACPICA: ACPI 6.1: Add full support for this version of ACPI spec 2016-04-05 03:53:31 +02:00
utdelete.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
uterror.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
uteval.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
utexcep.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utglobal.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
uthex.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utids.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utinit.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utlock.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utmath.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utmisc.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
utmutex.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utnonansi.c ACPICA: Utilities: Update for strtoul64 merger 2016-04-05 03:53:33 +02:00
utobject.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utosi.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utownerid.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utpredef.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utprint.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
utresrc.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utstate.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utstring.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
uttrack.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
utuuid.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utxface.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utxferror.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
utxfinit.c ACPICA / Interpreter: Fix a regression triggered because of wrong Linux ECDT support 2016-03-10 21:31:14 +01:00
utxfmutex.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00