linux/drivers/acpi/acpica
Lv Zheng ee387409ca ACPICA: Namespace: Add String -> ObjectReference conversion support
ACPICA commit 80e60d72959bb51c5d08c8500d978607a42ed81d

BIOS developers may accidently put the quotes around the name strings,
which converts the object references in the packages indicated by the name
strings into the data objects (strings). Such kind of error has been seen
in _DEP control methods on some platforms. This patch implements a
workaround to correct it. Reported by Bastien Nocera. Fixed by Lv Zheng.

Link: https://github.com/acpica/acpica/commit/80e60d72
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=106231
Reported-and-tested-by: Bastien Nocera <bugzilla@hadess.net>
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-01-01 03:47:36 +01:00
..
acapps.h ACPICA: acpiexec/acpinames: Update for error checking macros 2016-01-01 03:47:35 +01:00
accommon.h ACPICA: Split C library prototypes to new header 2015-07-01 23:17:56 +02:00
acdebug.h ACPICA: Disassembler/tools: Support for multiple ACPI tables in one file 2016-01-01 03:47:34 +01:00
acdispat.h ACPICA: Dispatcher: Move stack traversal code to dispatcher 2015-07-23 23:09:06 +02:00
acevents.h ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
acglobal.h ACPICA: Debugger: Convert some mechanisms to OSPM specific 2015-12-15 00:17:43 +01:00
achware.h ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
acinterp.h ACPI: Enable build of AML interpreter debugger 2015-10-22 02:05:05 +02:00
aclocal.h ACPICA: Namespace: Add scope information to the simple object repair mechanism 2016-01-01 03:47:36 +01:00
acmacros.h ACPICA: Debugger: Fix runtime stub issues of ACPI_DEBUGGER_EXEC using different stub mechanism 2015-12-15 00:17:44 +01:00
acnamesp.h ACPICA: Namespace: Add String -> ObjectReference conversion support 2016-01-01 03:47:36 +01:00
acobject.h ACPICA: Executer: Add back pointing reference of method operand 2015-07-23 23:09:06 +02:00
acopcode.h ACPICA: Concatenate operator: Add extensions to support all ACPI objects 2016-01-01 03:47:35 +01:00
acparser.h ACPI: Enable build of AML interpreter debugger 2015-10-22 02:05:05 +02:00
acpredef.h ACPICA: ACPI 6.0: Add support for new predefined names. 2015-05-22 03:22:19 +02:00
acresrc.h ACPICA: Update Resource descriptor dump module. 2015-04-14 14:51:53 +02:00
acstruct.h ACPICA: Parser: Cleanup aml_offset in struct acpi_walk_state 2015-07-23 23:09:06 +02:00
actables.h ACPICA: Tables: Fix FADT dependency regression 2015-10-14 22:48:13 +02:00
acutils.h ACPICA: Revert "acpi_get_object_info: Add support for ACPI 5.0 _SUB method." 2016-01-01 03:47:35 +01:00
amlcode.h ACPICA: Improve typechecking, both compile-time and runtime 2015-10-22 02:01:12 +02:00
amlresrc.h ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
dbcmds.c ACPICA: Debugger: Remove some unecessary NULL checks 2016-01-01 03:47:35 +01:00
dbconvert.c ACPICA: Linuxize: Export debugger files to Linux 2015-10-22 02:04:28 +02:00
dbdisply.c ACPICA: Revert "acpi_get_object_info: Add support for ACPI 5.0 _SUB method." 2016-01-01 03:47:35 +01:00
dbexec.c ACPICA: Debugger: Fix dead lock issue ocurred in single stepping mode 2015-10-22 02:05:06 +02:00
dbfileio.c ACPICA: Disassembler/tools: Support for multiple ACPI tables in one file 2016-01-01 03:47:34 +01:00
dbhistry.c ACPICA: Linuxize: Export debugger files to Linux 2015-10-22 02:04:28 +02:00
dbinput.c ACPICA: Debugger: Remove some unecessary NULL checks 2016-01-01 03:47:35 +01:00
dbmethod.c ACPICA: Linuxize: Export debugger files to Linux 2015-10-22 02:04:28 +02:00
dbnames.c ACPICA: Debugger: reduce old external path format 2016-01-01 03:26:45 +01:00
dbobject.c ACPICA: Linuxize: Export debugger files to Linux 2015-10-22 02:04:28 +02:00
dbstats.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dbtest.c ACPICA: Debugger: reduce old external path format 2016-01-01 03:26:45 +01:00
dbutils.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dbxface.c ACPICA: Debugger: Fix runtime stub issues of ACPI_DEBUGGER_EXEC using different stub mechanism 2015-12-15 00:17:44 +01:00
dsargs.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dscontrol.c ACPICA: Debugger: Fix runtime stub issues of ACPI_DEBUGGER_EXEC using different stub mechanism 2015-12-15 00:17:44 +01:00
dsdebug.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dsfield.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dsinit.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dsmethod.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dsmthdat.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dsobject.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dsopcode.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dsutils.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dswexec.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dswload2.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dswload.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dswscope.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
dswstate.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
evevent.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
evglock.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
evgpe.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
evgpeblk.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
evgpeinit.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
evgpeutil.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
evhandler.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
evmisc.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
evregion.c ACPICA: Add additional debug info/statements 2015-08-25 23:11:32 +02:00
evrgnini.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
evsci.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
evxface.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
evxfevnt.c ACPICA: Tables: Fix FADT dependency regression 2015-10-14 22:48:13 +02:00
evxfgpe.c ACPICA: Events: Enable APIs to allow interrupt/polling adaptive request based GPE handling model 2015-02-05 15:34:51 +01:00
evxfregn.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exconfig.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exconvrt.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
excreate.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exdebug.c ACPICA: Update for output of the Debug Object 2016-01-01 03:47:36 +01:00
exdump.c ACPICA: Debugger: Cleanup debugging outputs to dump name path without trailing underscores 2015-08-25 23:11:33 +02:00
exfield.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exfldio.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exmisc.c ACPICA: Concatenate operator: Add extensions to support all ACPI objects 2016-01-01 03:47:35 +01:00
exmutex.c ACPICA: exmutex: General cleanup, restructured some code 2016-01-01 03:26:45 +01:00
exnames.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exoparg1.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exoparg2.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exoparg3.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exoparg6.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exprep.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exregion.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exresnte.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exresolv.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exresop.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exstore.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exstoren.c ACPICA: Improve typechecking, both compile-time and runtime 2015-10-22 02:01:12 +02:00
exstorob.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
exsystem.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
extrace.c ACPICA: Split interpreter tracing functions to a new file 2016-01-01 03:47:34 +01:00
exutils.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
hwacpi.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
hwesleep.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
hwgpe.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
hwpci.c ACPICA: Hardware: Fix a resource leak issue in acpi_hw_build_pci_list(). 2015-05-22 03:22:20 +02:00
hwregs.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
hwsleep.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
hwtimer.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
hwvalid.c ACPICA: Utilities: Cleanup to convert physical address printing formats. 2015-04-14 14:51:51 +02:00
hwxface.c ACPICA: acpi_get_sleep_type_data: Reduce warnings 2016-01-01 03:26:44 +01:00
hwxfsleep.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +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: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
nsalloc.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
nsarguments.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
nsconvert.c ACPICA: Namespace: Add String -> ObjectReference conversion support 2016-01-01 03:47:36 +01:00
nsdump.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
nsdumpdv.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
nseval.c ACPICA: Debugger: reduce old external path format 2016-01-01 03:26:45 +01:00
nsinit.c ACPICA: Debugger: reduce old external path format 2016-01-01 03:26:45 +01:00
nsload.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
nsnames.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
nsobject.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
nsparse.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
nspredef.c ACPICA: Improve typechecking, both compile-time and runtime 2015-10-22 02:01:12 +02:00
nsprepkg.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
nsrepair2.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
nsrepair.c ACPICA: Namespace: Add String -> ObjectReference conversion support 2016-01-01 03:47:36 +01:00
nssearch.c ACPICA: Debugger: reduce old external path format 2016-01-01 03:26:45 +01:00
nsutils.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
nswalk.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
nsxfeval.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
nsxfname.c ACPICA: Add comment explaining _SUB removal 2016-01-01 03:47:35 +01:00
nsxfobj.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
psargs.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
psloop.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
psobject.c ACPICA: Dispatcher: Cleanup union acpi_operand_object's AML address assignments 2015-07-23 23:09:06 +02:00
psopcode.c ACPICA: Linuxize: reduce divergences for 20151218 release 2016-01-01 03:26:44 +01:00
psopinfo.c ACPICA: Parser: Move a couple externals to the proper header. 2015-05-22 03:22:19 +02:00
psparse.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
psscope.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
pstree.c ACPI: Enable build of AML interpreter debugger 2015-10-22 02:05:05 +02:00
psutils.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
pswalk.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
psxface.c ACPICA: Executer: Add interpreter tracing mode for method tracing facility 2015-07-23 23:09:07 +02:00
rsaddr.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
rscalc.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
rscreate.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
rsdump.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
rsdumpinfo.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
rsinfo.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
rsio.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
rsirq.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
rslist.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
rsmemory.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
rsmisc.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
rsserial.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
rsutils.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
rsxface.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
tbdata.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
tbfadt.c ACPICA: Tables: Fix FADT dependency regression 2015-10-14 22:48:13 +02:00
tbfind.c ACPICA: Update parameter validation for data_table_region and load_table 2015-08-25 23:11:31 +02:00
tbinstal.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
tbprint.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
tbutils.c ACPICA: iasl/acpiexec: Update input file handling and verification 2016-01-01 03:47:34 +01:00
tbxface.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
tbxfload.c ACPICA: Disassembler/tools: Support for multiple ACPI tables in one file 2016-01-01 03:47:34 +01:00
tbxfroot.c ACPICA: Tables: Change acpi_find_root_pointer() to use acpi_physical_address. 2015-04-14 14:51:50 +02:00
utaddress.c ACPICA: Debugger: reduce old external path format 2016-01-01 03:26:45 +01:00
utalloc.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
utbuffer.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
utcache.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
utcopy.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utdebug.c ACPICA: Executer: Add OSL trace hook support 2015-07-23 23:09:07 +02:00
utdecode.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utdelete.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
uterror.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
uteval.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
utexcep.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
utglobal.c Revert 'Revert "ACPICA: Permanently set _REV to the value '2'."' 2015-07-03 01:06:04 +02:00
uthex.c ACPICA: Add "const" to some functions that return fixed strings 2016-01-01 03:26:45 +01:00
utids.c ACPICA: Revert "acpi_get_object_info: Add support for ACPI 5.0 _SUB method." 2016-01-01 03:47:35 +01:00
utinit.c ACPICA: Debugger: Fix "terminate" command by cleaning up subsystem shutdown logic 2015-10-22 02:05:05 +02:00
utlock.c ACPICA: Update Copyright headers to 2015 2015-02-05 15:31:43 +01:00
utmath.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utmisc.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utmutex.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utnonansi.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utobject.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utosi.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utownerid.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utpredef.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utprint.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utresrc.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utstate.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utstring.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
uttrack.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utuuid.c ACPICA: Utilities: Correct conditional compilation definitions. 2015-04-14 14:51:52 +02:00
utxface.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utxferror.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00
utxfinit.c ACPICA: Debugger: Split debugger initialization/termination APIs 2015-08-25 23:11:33 +02:00
utxfmutex.c ACPICA: Core: Major update for code formatting, no functional changes 2016-01-01 03:36:53 +01:00