alistair23-linux/drivers/acpi/acpica
Lv Zheng 8633db6b02 ACPICA: Dispatcher: Fix interpreter locking around acpi_ev_initialize_region()
In the code path of acpi_ev_initialize_region(), there is namespace
modification code unlocked. This patch tunes the code to make sure
such modification are always locked.

Fixes: 74f51b80a0 (ACPICA: Namespace: Fix dynamic table loading issues)
Tested-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-10-29 01:57:43 +02:00
..
acapps.h ACPICA: Applications: Fix a potential issue that help messages may be dumped to acpi_gbl_debug_file 2016-08-13 03:16:39 +02:00
accommon.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acdebug.h ACPICA: Debugger: Add subcommand for predefined name execution 2016-09-10 02:36:20 +02:00
acdispat.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acevents.h ACPICA: Events: Introduce acpi_mask_gpe() to implement GPE masking mechanism 2016-08-13 03:09:33 +02:00
acglobal.h ACPICA: OSL: Add correct acpi_gbl_debug_timeout export to allow acpiexec to link 2016-08-13 03:09:33 +02:00
achware.h ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
acinterp.h ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
aclocal.h ACPICA: Events: Introduce acpi_mask_gpe() to implement GPE masking mechanism 2016-08-13 03:09:33 +02:00
acmacros.h ACPICA: Executer: Introduce a set of macros to handle bit width mask generation 2016-05-05 15:22:27 +02:00
acnamesp.h ACPICA: Namespace: Add acpi_ns_get_node_unlocked() 2016-09-10 02:43:02 +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: Interpreter: Fix MLC issues by switching to new term_list grammar for table loading 2016-09-10 02:43:02 +02:00
acpredef.h ACPICA: ACPI 6.0: Update _BIX support for new package element 2016-05-05 15:22:26 +02:00
acresrc.h ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
acstruct.h ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
actables.h ACPICA: Tables: Tune table mutex to be a leaf lock 2016-09-10 02:43:03 +02:00
acutils.h ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +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: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
dbconvert.c ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +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: Debugger: Add subcommand for predefined name execution 2016-09-10 02:36:20 +02:00
dbfileio.c ACPICA: Debugger: Fix wrong inclusions in dbfileio.c 2016-08-13 03:09:33 +02:00
dbhistry.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dbinput.c ACPICA: Debugger: Add subcommand for predefined name execution 2016-09-10 02:36:20 +02:00
dbmethod.c ACPICA: Debugger: Add subcommand for predefined name execution 2016-09-10 02:36:20 +02:00
dbnames.c ACPICA: Move all ASCII utilities to a common file 2016-05-05 15:22:28 +02:00
dbobject.c ACPICA: Debugger: Extend some max line lengths 2016-08-13 03:09:32 +02: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: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
dsargs.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dscontrol.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02: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: Dispatcher: Fix interpreter locking around acpi_ev_initialize_region() 2016-10-29 01:57:43 +02:00
dsmethod.c ACPICA: Dispatcher: Fix interpreter locking around acpi_ev_initialize_region() 2016-10-29 01:57:43 +02: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: Interpreter: Remove temporary code for External() opcode 2016-08-13 03:09:31 +02:00
dswexec.c ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02:00
dswload.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
dswload2.c ACPICA: Dispatcher: Fix interpreter locking around acpi_ev_initialize_region() 2016-10-29 01:57:43 +02:00
dswscope.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
dswstate.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02: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: Events: Introduce acpi_mask_gpe() to implement GPE masking mechanism 2016-08-13 03:09:33 +02:00
evgpeblk.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
evgpeinit.c ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02:00
evgpeutil.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
evhandler.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
evmisc.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02: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: Dispatcher: Fix interpreter locking around acpi_ev_initialize_region() 2016-10-29 01:57:43 +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: Events: Introduce acpi_mask_gpe() to implement GPE masking mechanism 2016-08-13 03:09:33 +02:00
evxfregn.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exconcat.c ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02:00
exconfig.c ACPICA: Tables: Fix "UNLOAD" code path lock issues 2016-09-24 02:16:52 +02:00
exconvrt.c ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02:00
excreate.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02: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: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
exfldio.c ACPICA: Executer: Introduce a set of macros to handle bit width mask generation 2016-05-05 15:22:27 +02:00
exmisc.c ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02:00
exmutex.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exnames.c ACPICA: Move all ASCII utilities to a common file 2016-05-05 15:22:28 +02:00
exoparg1.c ACPICA: Namespace: Fix dynamic table loading issues 2016-09-10 02:43:02 +02:00
exoparg2.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exoparg3.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
exoparg6.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
exprep.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
exregion.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
exresnte.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
exresolv.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
exresop.c ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02: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: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
exsystem.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
extrace.c ACPICA: Namespace: Fix dynamic table loading issues 2016-09-10 02:43:02 +02:00
exutils.c ACPICA: Namespace: Fix dynamic table loading issues 2016-09-10 02:43:02 +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: Events: Introduce acpi_mask_gpe() to implement GPE masking mechanism 2016-08-13 03:09:33 +02:00
hwpci.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
hwregs.c Revert "ACPICA: ACPI 2.0, Hardware: Add access_width/bit_offset support for acpi_hw_write()" 2016-06-15 02:16:13 +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: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
hwxfsleep.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
Makefile ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02:00
nsaccess.c ACPICA: Fix deconstification warnings (-Wcast-qual) with acpi_ns_root_initialize(). 2016-08-13 03:09:31 +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: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02:00
nsdump.c ACPICA: Debugger: Extend some max line lengths 2016-08-13 03:09:32 +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: Dispatcher: Fix interpreter locking around acpi_ev_initialize_region() 2016-10-29 01:57:43 +02:00
nsnames.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
nsobject.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
nsparse.c ACPICA: Namespace: Fix dynamic table loading issues 2016-09-10 02:43:02 +02:00
nspredef.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsprepkg.c ACPICA: ACPI 6.0: Update _BIX support for new package element 2016-05-05 15:22:26 +02:00
nsrepair.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
nsrepair2.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
nssearch.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsutils.c ACPICA: Namespace: Add acpi_ns_get_node_unlocked() 2016-09-10 02:43:02 +02:00
nswalk.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
nsxfeval.c ACPICA: Refactor evaluate_object to reduce nesting 2016-05-05 15:22:25 +02:00
nsxfname.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
nsxfobj.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
psargs.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02: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: Dispatcher: Fix a mutex issue for method auto serialization 2016-09-10 02:43:02 +02: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: Renamed some #defined flag constants for clarity 2016-05-05 15:22:26 +02:00
pswalk.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
psxface.c ACPICA: Parser: Fix a regression in LoadTable support 2016-09-24 02:16:53 +02:00
rsaddr.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
rscalc.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
rscreate.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
rsdump.c ACPICA: All: const keyword changes across the ACPICA source 2016-04-05 03:53:33 +02:00
rsdumpinfo.c ACPICA: ACPI 6.0, tools/iasl: Add support for new resource descriptors 2016-05-05 15:22:26 +02: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: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
rsserial.c ACPICA: ACPI 6.0, tools/iasl: Add support for new resource descriptors 2016-05-05 15:22:26 +02:00
rsutils.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
rsxface.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
tbdata.c ACPICA: Tables: Fix "UNLOAD" code path lock issues 2016-09-24 02:16:52 +02:00
tbfadt.c ACPICA: Tables: Override all 64-bit GAS fields when acpi_gbl_use32_bit_fadt_addresses is TRUE 2016-09-10 02:43:01 +02:00
tbfind.c ACPICA: Tables: Fix a regression in acpi_tb_find_table() 2016-09-17 01:07:57 +02:00
tbinstal.c ACPICA: Tables: Add new table events indicating table installation/uninstallation 2016-09-10 02:43:01 +02:00
tbprint.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
tbutils.c ACPICA: Divergence: Port declarators back to ACPICA 2016-08-13 03:09:32 +02:00
tbxface.c ACPICA: Divergence: Port declarators back to ACPICA 2016-08-13 03:09:32 +02:00
tbxfload.c ACPICA: Tables: Fix "UNLOAD" code path lock issues 2016-09-24 02:16:52 +02:00
tbxfroot.c ACPICA: Divergence: Port declarators back to ACPICA 2016-08-13 03:09:32 +02:00
utaddress.c ACPICA: Namespace: Fix dynamic table loading issues 2016-09-10 02:43:02 +02:00
utalloc.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
utascii.c ACPICA: Move all ASCII utilities to a common file 2016-05-05 15:22:28 +02:00
utbuffer.c ACPICA: Clib: Add -nostdinc support for EFI layer 2016-08-13 03:09:35 +02:00
utcache.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
utcopy.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
utdebug.c ACPICA: Clib: Eliminate acpi_os_XXXFile()/acpi_log_error and link clibrary fxxx()/errno/perror() instead 2016-08-13 03:12:32 +02:00
utdecode.c ACPICA: Fix deconstification warnings (-Wcast-qual) with function traces. 2016-08-13 03:09: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: Add a couple of casts to uthex.c 2016-09-10 02:43:00 +02:00
utids.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
utinit.c ACPICA: Simplify configuration for "Max Loops" system parameter 2016-08-13 03:09:32 +02:00
utlock.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utmath.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02: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: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02:00
utobject.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
utosi.c ACPICA: Update return value for intenal _OSI method 2016-09-10 02:43:02 +02:00
utownerid.c ACPICA: Divergence: remove unwanted spaces for typedef 2016-05-05 15:14:35 +02:00
utpredef.c ACPICA: Clib/EFI: Fix wrong order of standard integer types/IO handles 2016-08-13 03:09:35 +02:00
utprint.c ACPICA: Clib: Eliminate acpi_os_XXXFile()/acpi_log_error and link clibrary fxxx()/errno/perror() instead 2016-08-13 03:12:32 +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: Move all ASCII utilities to a common file 2016-05-05 15:22:28 +02:00
utstrtoul64.c ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02:00
uttrack.c ACPICA: Use os_allocate_zeroed 2016-08-13 03:09:33 +02:00
utuuid.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00
utxface.c ACPICA: Divergence: Port declarators back to ACPICA 2016-08-13 03:09:32 +02:00
utxferror.c ACPICA: Remove unnecessary arguments to ACPI_INFO 2016-02-24 14:14:49 +01:00
utxfinit.c ACPICA: Interpreter: Fix MLC issues by switching to new term_list grammar for table loading 2016-09-10 02:43:02 +02:00
utxfmutex.c ACPICA: Additional 2016 copyright changes 2016-01-15 22:18:09 +01:00