2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 19:53:59 +08:00
linux-next/drivers/acpi/acpica
Lv Zheng cc82f18e8c ACPICA: Tables: make default region accessible during the table load
ACPICA commit 016b2a0917cca9cf0d40c38a1541017d9cf569dd

It is proven that the default regions should be accessible during the
table loading in order to execute module level AML code.
This patch moves default region handler installation code earlier in
order to make this happen.
Note that by putting the code here, we actually allow OSPMs to override
default region handlers between acpi_initialize_subsystem() and
acpi_load_tables(), without the need to introduce region handler override
mechanism in acpi_install_address_space_handler(). OSPMs are also couraged
to check acpi_install_address_space_handler() return value to determine if
acpi_remove_address_space_handler() should be invoked before installing new
address space handler. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/016b2a09
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-02-24 14:14:49 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acdispat.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acevents.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acglobal.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
achware.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acinterp.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
aclocal.h ACPICA: aclocal: Put parens around some definitions. 2016-02-24 14:14:46 +01:00
acmacros.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acnamesp.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acpredef.h ACPICA: Remove incorrect "static" from a global structure 2016-02-24 14:14:47 +01:00
acresrc.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acstruct.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
actables.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acutils.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: debugger: dbconvert: free pld_info on error return path 2016-02-24 14:14:48 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
evrgnini.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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
exconfig.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
exconvrt.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
hwxfsleep.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
Makefile ACPICA: Disassembler/tools: Support for multiple ACPI tables in one file 2016-01-01 03:47:34 +01:00
nsaccess.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsdump.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsload.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Tables: make default region accessible during the table load 2016-02-24 14:14:49 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utcopy.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utdebug.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utdecode.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utexcep.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utglobal.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utmutex.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utnonansi.c ACPICA: iASL: Update to use internal acpi_ut_strtoul64 function 2016-02-24 14:14:47 +01: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: Additional 2016 copyright changes 2016-01-15 22:18:09 +01: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: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01: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: Tables: make default region accessible during the table load 2016-02-24 14:14:49 +01:00
utxfmutex.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00