kernel_samsung_a53x/drivers/acpi/acpica
Daniil Tatianin 758c9ce987 ACPICA: events/evxfregn: don't release the ContextMutex that was never acquired
[ Upstream commit c53d96a4481f42a1635b96d2c1acbb0a126bfd54 ]

This bug was first introduced in c27f3d011b08, where the author of the
patch probably meant to do DeleteMutex instead of ReleaseMutex. The
mutex leak was noticed later on and fixed in e4dfe108371, but the bogus
MutexRelease line was never removed, so do it now.

Link: https://github.com/acpica/acpica/pull/982
Fixes: c27f3d011b08 ("ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling")
Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru>
Link: https://patch.msgid.link/20241122082954.658356-1-d-tatianin@yandex-team.ru
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-02 17:01:17 +01:00
..
acapps.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
accommon.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acconvert.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acdebug.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acdispat.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acevents.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acglobal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
achware.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acinterp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
aclocal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acmacros.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acnamesp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acobject.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acopcode.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acparser.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acpredef.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acresrc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acstruct.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
actables.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
acutils.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amlcode.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amlresrc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbcmds.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbconvert.c Revert "ACPICA: check null return of ACPI_ALLOCATE_ZEROED() in acpi_db_convert_to_package()" 2024-11-24 00:23:09 +01:00
dbdisply.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbexec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbfileio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbhistry.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbinput.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbmethod.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbnames.c ACPICA: debugger: check status of acpi_evaluate_object() in acpi_db_walk_for_fields() 2024-11-19 09:22:44 +01:00
dbobject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbstats.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbtest.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbutils.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dbxface.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsargs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dscontrol.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsdebug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsfield.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsinit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsmethod.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsmthdat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsobject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsopcode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dspkginit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dsutils.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dswexec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dswload.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dswload2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dswscope.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dswstate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evevent.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evglock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evgpe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evgpeblk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evgpeinit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evgpeutil.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evhandler.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evmisc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evregion.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evrgnini.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evsci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evxface.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evxfevnt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evxfgpe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
evxfregn.c ACPICA: events/evxfregn: don't release the ContextMutex that was never acquired 2025-01-02 17:01:17 +01:00
exconcat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exconfig.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exconvrt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
excreate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exdebug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exdump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exfield.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exfldio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exmisc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exmutex.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exnames.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exoparg1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exoparg2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exoparg3.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exoparg6.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exprep.c Revert "ACPICA: iasl: handle empty connection_node" 2024-11-24 00:23:07 +01:00
exregion.c ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine." 2024-11-19 14:19:09 +01:00
exresnte.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exresolv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exresop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exserial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exstore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exstoren.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exstorob.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exsystem.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
extrace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
exutils.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwacpi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwesleep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwgpe.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwpci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwregs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwsleep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwtimer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwvalid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwxface.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hwxfsleep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile ACPI: disable -Wstringop-truncation 2024-11-19 12:26:54 +01:00
nsaccess.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsalloc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsarguments.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsconvert.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsdump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsdumpdv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nseval.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsinit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsload.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsnames.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsobject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsparse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nspredef.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsprepkg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsrepair.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsrepair2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nssearch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsutils.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nswalk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsxfeval.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsxfname.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nsxfobj.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psargs.c Revert "ACPICA: Fix memory leak if acpi_ps_get_next_namepath() fails" 2024-11-24 00:23:10 +01:00
psloop.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psobject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psopcode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psopinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psparse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psscope.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pstree.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psutils.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pswalk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psxface.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rsaddr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rscalc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rscreate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rsdump.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rsdumpinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rsinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rsio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rsirq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rslist.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rsmemory.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rsmisc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rsserial.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rsutils.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rsxface.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tbdata.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tbfadt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tbfind.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tbinstal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tbprint.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tbutils.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tbxface.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tbxfload.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tbxfroot.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utaddress.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utalloc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utascii.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utbuffer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utcache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utcopy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utdebug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utdecode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utdelete.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uterror.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uteval.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utexcep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utglobal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uthex.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utids.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utinit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utlock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utmath.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utmisc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utmutex.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utnonansi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utobject.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utosi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utownerid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utpredef.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utprint.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utresdecode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utresrc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utstate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utstring.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utstrsuppt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utstrtoul64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uttrack.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utuuid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utxface.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utxferror.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utxfinit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
utxfmutex.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00