linux/drivers/acpi/acpica
Lv Zheng 7dd8821956 ACPICA: Events: Always modify GPE registers under the GPE lock
It is reported that there are pieces of code invoking acpi_ev_finish_gpe()
without holding acpi_gbl_gpe_lock. Since this function will modify GPE
register values, there could be races breaking the register modification
process.

This patch fixes this issue. Lv Zheng.

Reported-by: Joe Liu <joe.liu@apple.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-12-03 00:29:59 +01:00
..
acapps.h ACPICA: Common: Enhance cm_get_file_size() to improve portability 2014-07-08 14:22:26 +02:00
accommon.h
acdebug.h ACPICA: Utilities: Add support to read table from files 2014-07-08 14:22:25 +02:00
acdispat.h
acevents.h ACPICA: Events: Update GPE handling and initialization code. 2014-05-07 00:55:02 +02:00
acglobal.h ACPICA: Disassembler: Add support for C-style operators and expressions. 2014-11-28 00:00:52 +01:00
achware.h ACPICA: Events: Reduce indent divergences of events files. 2014-10-21 00:39:39 +02:00
acinterp.h
aclocal.h ACPICA: Save current masks of enabled GPEs after enable register writes 2014-12-01 23:50:16 +01:00
acmacros.h
acnamesp.h
acobject.h ACPICA: Update to GPIO region handler interface. 2014-09-24 22:53:46 +02:00
acopcode.h
acparser.h
acpredef.h ACPICA: ACPI 5.1: Support for the _CCA predifined name. 2014-07-31 00:50:24 +02:00
acresrc.h
acstruct.h
actables.h ACPICA: acpidump: Add ACPI 1.0 RSDP support. 2014-10-21 00:39:39 +02:00
acutils.h ACPICA: acpihelp: Add UUID support, restructure some existing files. 2014-07-31 00:50:23 +02:00
amlcode.h
amlresrc.h ACPICA: iASL/Disassembler: Add support for hardware summary mapfiles. 2014-10-21 00:39:40 +02:00
dsargs.c
dscontrol.c
dsfield.c ACPICA: Update to GPIO region handler interface. 2014-09-24 22:53:46 +02:00
dsinit.c
dsmethod.c
dsmthdat.c
dsobject.c
dsopcode.c
dsutils.c
dswexec.c
dswload2.c
dswload.c
dswscope.c
dswstate.c
evevent.c
evglock.c
evgpe.c ACPICA: Events: Always modify GPE registers under the GPE lock 2014-12-03 00:29:59 +01:00
evgpeblk.c ACPICA: Events: Update GPE handling and initialization code. 2014-05-07 00:55:02 +02:00
evgpeinit.c ACPICA: Events: Reduce indent divergences of events files. 2014-10-21 00:39:39 +02:00
evgpeutil.c
evhandler.c
evmisc.c
evregion.c ACPICA: Update to GPIO region handler interface. 2014-09-24 22:53:46 +02:00
evrgnini.c
evsci.c
evxface.c ACPICA: Events: Update GPE handler removal, match behavior of handler install. 2014-10-21 00:39:40 +02:00
evxfevnt.c ACPICA: Events: Reduce source code difference for the ACPI_EVENT_FLAG_HANDLE renaming. 2014-10-21 00:39:40 +02:00
evxfgpe.c ACPICA: Events: Reduce source code difference for the ACPI_EVENT_FLAG_HANDLE support. 2014-10-21 00:39:40 +02:00
evxfregn.c
exconfig.c
exconvrt.c
excreate.c
exdebug.c ACPICA: Debug object: Add current value of Timer() to debug line prefix. 2014-07-31 00:50:23 +02:00
exdump.c ACPICA: Remove some extraneous printf arguments. 2014-07-31 00:50:23 +02:00
exfield.c ACPICA: Update to GPIO region handler interface. 2014-09-24 22:53:46 +02:00
exfldio.c
exmisc.c
exmutex.c
exnames.c
exoparg1.c
exoparg2.c
exoparg3.c
exoparg6.c
exprep.c ACPICA: Update to GPIO region handler interface. 2014-09-24 22:53:46 +02:00
exregion.c
exresnte.c
exresolv.c
exresop.c
exstore.c
exstoren.c
exstorob.c
exsystem.c
exutils.c
hwacpi.c
hwesleep.c
hwgpe.c ACPICA: Save current masks of enabled GPEs after enable register writes 2014-12-01 23:50:16 +01:00
hwpci.c ACPICA: Update handling of PCI ID lists. 2014-05-07 00:55:00 +02:00
hwregs.c ACPICA: Hardware: back port of a recursive locking fix 2014-07-08 14:22:27 +02:00
hwsleep.c
hwtimer.c
hwvalid.c
hwxface.c
hwxfsleep.c
Makefile Merge branch 'acpica' 2014-08-05 22:50:12 +02:00
nsaccess.c
nsalloc.c
nsarguments.c
nsconvert.c
nsdump.c
nsdumpdv.c
nseval.c
nsinit.c
nsload.c
nsnames.c
nsobject.c ACPICA: Fix a regression for deletion of Alias() objects. 2014-07-09 17:55:49 +02:00
nsparse.c
nspredef.c
nsprepkg.c ACPICA: ACPI 5.1: Add support for runtime validation of _DSD package. 2014-09-02 01:48:00 +02:00
nsrepair2.c
nsrepair.c
nssearch.c
nsutils.c
nswalk.c
nsxfeval.c
nsxfname.c
nsxfobj.c
psargs.c
psloop.c
psobject.c
psopcode.c
psopinfo.c
psparse.c
psscope.c
pstree.c
psutils.c
pswalk.c
psxface.c
rsaddr.c
rscalc.c
rscreate.c ACPICA: Update acpi_buffer_to_resource interface. 2014-05-07 00:55:00 +02:00
rsdump.c
rsdumpinfo.c
rsinfo.c
rsio.c
rsirq.c
rslist.c
rsmemory.c
rsmisc.c
rsserial.c
rsutils.c
rsxface.c
tbdata.c ACPICA: Tables: Add mechanism to control early table checksum verification. 2014-06-01 00:18:52 +02:00
tbfadt.c ACPICA: Remove extraneous error message for large number of GPEs. 2014-05-07 00:55:02 +02:00
tbfind.c
tbinstal.c ACPICA: Tables: Add mechanism to control early table checksum verification. 2014-06-01 00:18:52 +02:00
tbprint.c
tbutils.c ACPICA: Tables: Add mechanism to control early table checksum verification. 2014-06-01 00:18:52 +02:00
tbxface.c
tbxfload.c
tbxfroot.c ACPICA: acpidump: Add ACPI 1.0 RSDP support. 2014-10-21 00:39:39 +02:00
utaddress.c
utalloc.c
utbuffer.c ACPICA: acpidump: Reduce freopen() invocations to improve portability 2014-07-08 14:22:27 +02:00
utcache.c
utcopy.c ACPICA: Utilities: Fix memory leak in acpi_ut_copy_iobject_to_iobject 2014-07-08 14:22:24 +02:00
utdebug.c ACPICA: Utilities: Introduce acpi_log_error() to improve portability 2014-07-08 14:22:26 +02:00
utdecode.c ACPICA: ACPI 5.1: New notify value for System Affinity Update. 2014-07-31 00:50:24 +02:00
utdelete.c
uterror.c
uteval.c
utexcep.c
utfileio.c ACPICA: Remove some extraneous printf arguments. 2014-07-31 00:50:23 +02:00
utglobal.c ACPICA: Utilities: Cleanup DEFINE_ACPI_GLOBALS by moving acpi_ut_init_global() from utglobal.c to utinit.c 2014-07-08 14:22:25 +02:00
uthex.c ACPICA: acpihelp: Add UUID support, restructure some existing files. 2014-07-31 00:50:23 +02:00
utids.c
utinit.c ACPICA: OSL: Clean up acpi_os_printf()/acpi_os_vprintf() stubs 2014-07-08 14:22:25 +02:00
utlock.c
utmath.c
utmisc.c
utmutex.c
utobject.c
utosi.c
utownerid.c
utpredef.c
utprint.c ACPICA: Utilities: Fix local printf issue. 2014-07-31 00:50:23 +02:00
utresrc.c ACPICA: Disassembler: Emit correct string for 0 stop bits. 2014-11-28 00:00:53 +01:00
utstate.c
utstring.c
uttrack.c
utuuid.c ACPICA: acpihelp: Add UUID support, restructure some existing files. 2014-07-31 00:50:23 +02:00
utxface.c ACPICA: iASL: Add support for to_PLD macro. 2014-11-28 00:00:52 +01:00
utxferror.c ACPICA: OSL: Add configurability for error message functions. 2014-05-07 00:55:01 +02:00
utxfinit.c ACPICA: acpiexec: Add option to specify an object initialization file. 2014-11-28 00:00:52 +01:00
utxfmutex.c