kernel_optimize_test/drivers/acpi/acpica
Rafael J. Wysocki 1b87ce6a77 ACPICA: Avoid walking the ACPI Namespace if it is not there
[ Upstream commit 0c9992315e738e7d6e927ef36839a466b080dba6 ]

ACPICA commit b1c3656ef4950098e530be68d4b589584f06cddc

Prevent acpi_ns_walk_namespace() from crashing when called with
start_node equal to ACPI_ROOT_OBJECT if the Namespace has not been
instantiated yet and acpi_gbl_root_node is NULL.

For instance, this can happen if the kernel is run with "acpi=off"
in the command line.

Link: b1c3656ef4
Link: https://lore.kernel.org/linux-acpi/CAJZ5v0hJWW_vZ3wwajE7xT38aWjY7cZyvqMJpXHzUL98-SiCVQ@mail.gmail.com/
Reported-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:31 +02:00
..
acapps.h
accommon.h
acconvert.h
acdebug.h ACPICA: Debugger: Add a new command: "ALL <NameSeg>" 2020-10-08 18:03:55 +02:00
acdispat.h
acevents.h
acglobal.h ACPICA: Avoid evaluating methods too early during system resume 2021-11-18 14:03:56 +01:00
achware.h ACPICA: Introduce special struct type for GPE register addresses 2020-09-04 19:34:15 +02:00
acinterp.h
aclocal.h ACPICA: Introduce special struct type for GPE register addresses 2020-09-04 19:34:15 +02:00
acmacros.h
acnamesp.h
acobject.h ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling 2021-03-11 14:17:21 +01:00
acopcode.h
acparser.h
acpredef.h ACPICA: Add predefined names found in the SMBus sepcification 2020-10-08 18:03:55 +02:00
acresrc.h
acstruct.h
actables.h
acutils.h
amlcode.h
amlresrc.h
dbcmds.c
dbconvert.c
dbdisply.c ACPICA: iASL: add new OperationRegion subtype keyword PlatformRtMechanism 2020-06-05 13:34:23 +02:00
dbexec.c ACPICA: Debugger: Add a new command: "ALL <NameSeg>" 2020-10-08 18:03:55 +02:00
dbfileio.c
dbhistry.c ACPICA: Move acpi_gbl_next_cmd_num definition to acglobal.h 2020-05-09 10:55:53 +02:00
dbinput.c ACPICA: Debugger: Add a new command: "ALL <NameSeg>" 2020-10-08 18:03:55 +02:00
dbmethod.c ACPICA: Debugger: Add a new command: "ALL <NameSeg>" 2020-10-08 18:03:55 +02:00
dbnames.c
dbobject.c
dbstats.c
dbtest.c
dbutils.c
dbxface.c
dsargs.c
dscontrol.c
dsdebug.c
dsfield.c ACPICA: Dispatcher: add status checks 2020-05-09 10:55:54 +02:00
dsinit.c
dsmethod.c
dsmthdat.c
dsobject.c
dsopcode.c
dspkginit.c
dsutils.c
dswexec.c
dswload.c
dswload2.c
dswscope.c
dswstate.c
evevent.c
evglock.c
evgpe.c ACPICA: Introduce acpi_hw_gpe_read() and acpi_hw_gpe_write() 2020-09-04 19:34:15 +02:00
evgpeblk.c ACPICA: Introduce special struct type for GPE register addresses 2020-09-04 19:34:15 +02:00
evgpeinit.c ACPICA: Add support for using logical addresses of GPE blocks 2020-09-11 16:44:45 +02:00
evgpeutil.c
evhandler.c ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling 2021-03-11 14:17:21 +01:00
evmisc.c
evregion.c ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling 2021-03-11 14:17:21 +01:00
evrgnini.c ACPICA: Preserve memory opregion mappings 2020-07-27 12:29:02 +02:00
evsci.c
evxface.c
evxfevnt.c
evxfgpe.c
evxfregn.c ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling 2021-03-11 14:17:21 +01:00
exconcat.c
exconfig.c
exconvrt.c
excreate.c
exdebug.c
exdump.c
exfield.c ACPICA: Fix wrong interpretation of PCC address 2022-01-27 10:54:19 +01:00
exfldio.c
exmisc.c
exmutex.c
exnames.c
exoparg1.c ACPICA: Executer: Fix the REFCLASS_REFOF case in acpi_ex_opcode_1A_0T_1R() 2022-01-27 10:54:19 +01:00
exoparg2.c
exoparg3.c
exoparg6.c
exprep.c ACPICA: Do not increment operation_region reference counts for field units 2020-07-27 14:55:42 +02:00
exregion.c ACPICA: Preserve memory opregion mappings 2020-07-27 12:29:02 +02:00
exresnte.c
exresolv.c
exresop.c
exserial.c
exstore.c
exstoren.c
exstorob.c
exsystem.c
extrace.c
exutils.c
hwacpi.c
hwesleep.c ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5 2022-01-27 10:54:19 +01:00
hwgpe.c ACPICA: Add missing type casts in GPE register access code 2020-10-19 14:46:39 +02:00
hwpci.c
hwregs.c
hwsleep.c ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5 2022-01-27 10:54:19 +01:00
hwtimer.c
hwvalid.c ACPICA: Validate GPE blocks at init time 2020-09-04 19:33:54 +02:00
hwxface.c
hwxfsleep.c ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5 2022-01-27 10:54:19 +01:00
Makefile
nsaccess.c ACPICA: Always create namespace nodes using acpi_ns_create_node() 2021-03-30 14:31:54 +02:00
nsalloc.c ACPICA: Remove unnecessary semicolon 2020-10-08 18:03:56 +02:00
nsarguments.c ACPICA: Add predefined names found in the SMBus sepcification 2020-10-08 18:03:55 +02:00
nsconvert.c
nsdump.c
nsdumpdv.c
nseval.c
nsinit.c
nsload.c
nsnames.c
nsobject.c
nsparse.c
nspredef.c
nsprepkg.c
nsrepair.c
nsrepair2.c Revert "ACPICA: Fix memory leak caused by _CID repair function" 2021-08-12 13:22:01 +02:00
nssearch.c
nsutils.c
nswalk.c ACPICA: Avoid walking the ACPI Namespace if it is not there 2022-04-08 14:40:31 +02:00
nsxfeval.c
nsxfname.c
nsxfobj.c ACPICA: Tree-wide: fix various typos and spelling mistakes 2020-10-08 18:03:55 +02:00
psargs.c
psloop.c
psobject.c
psopcode.c
psopinfo.c
psparse.c ACPICA: Add predefined names found in the SMBus sepcification 2020-10-08 18:03:55 +02:00
psscope.c
pstree.c
psutils.c
pswalk.c
psxface.c
rsaddr.c
rscalc.c
rscreate.c
rsdump.c
rsdumpinfo.c
rsinfo.c
rsio.c
rsirq.c
rslist.c
rsmemory.c
rsmisc.c
rsserial.c
rsutils.c
rsxface.c
tbdata.c
tbfadt.c
tbfind.c
tbinstal.c
tbprint.c
tbutils.c
tbxface.c
tbxfload.c
tbxfroot.c
utaddress.c
utalloc.c
utascii.c
utbuffer.c
utcache.c
utcopy.c
utdebug.c
utdecode.c ACPICA: iASL: add new OperationRegion subtype keyword PlatformRtMechanism 2020-06-05 13:34:23 +02:00
utdelete.c ACPICA: Utilities: Avoid deleting the same object twice in a row 2022-01-27 10:54:18 +01:00
uterror.c
uteval.c
utexcep.c
utglobal.c
uthex.c
utids.c ACPICA: Replace one-element array with flexible-array 2020-07-27 14:55:42 +02:00
utinit.c
utlock.c
utmath.c
utmisc.c
utmutex.c
utnonansi.c
utobject.c
utosi.c
utownerid.c
utpredef.c ACPICA: Add predefined names found in the SMBus sepcification 2020-10-08 18:03:55 +02:00
utprint.c
utresdecode.c
utresrc.c
utstate.c
utstring.c
utstrsuppt.c ACPICA: iASL: Return exceptions for string-to-integer conversions 2020-10-08 18:03:55 +02:00
utstrtoul64.c
uttrack.c
utuuid.c
utxface.c
utxferror.c
utxfinit.c
utxfmutex.c