kernel_optimize_test/drivers/acpi/acpica
Lv Zheng 8ec3f45907 ACPICA: Tables: Fix global table list issues by removing fixed table indexes
ACPICA commit c0b38b4c3982c2336ee92a2a14716107248bd941

The fixed table indexes leave holes in the global table list:
 1. One hole can be seen when there is only 1 FACS provided by the BIOS.
 2. Tow holes can be seen when it is a reduced hardware platform.
The holes do not break OSPMs but have broken ACPI debugger "tables"
command.

Also the "fixed table indexes" mechanism may make the descriptors of the
standard tables installed earlier than DSDT to be overwritten by the
descriptors of the fixed tables. For example, FACP disappears from the
global table list after DSDT is installed.

This patch fixes all above issues by removing the "fixed table indexes"
mechanism which is too complicated to be maintained in a regression safe
manner. After removal, the table loader will determine the indexes of the
fixed tables. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/c0b38b4c
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>
2015-08-25 23:11:31 +02:00
..
acapps.h
accommon.h ACPICA: Split C library prototypes to new header 2015-07-01 23:17:56 +02:00
acdebug.h ACPICA: Debugger: Move debugger specific APIs to debugger component 2015-07-23 23:09:08 +02:00
acdispat.h ACPICA: Dispatcher: Move stack traversal code to dispatcher 2015-07-23 23:09:06 +02:00
acevents.h
acglobal.h ACPICA: Tables: Fix global table list issues by removing fixed table indexes 2015-08-25 23:11:31 +02:00
achware.h
acinterp.h ACPICA: Executer: Add OSL trace hook support 2015-07-23 23:09:07 +02:00
aclocal.h ACPICA: Tables: Fix global table list issues by removing fixed table indexes 2015-08-25 23:11:31 +02:00
acmacros.h ACPICA: Cleanup use of NEGATIVE and POSITIVE defines 2015-07-23 23:09:08 +02:00
acnamesp.h ACPICA: Namespace: Add function to directly return normalized full path 2015-07-23 23:09:06 +02:00
acobject.h ACPICA: Executer: Add back pointing reference of method operand 2015-07-23 23:09:06 +02:00
acopcode.h ACPICA: Add infrastructure for External() opcode. 2015-04-14 14:51:54 +02:00
acparser.h ACPICA: Dispatcher: Cleanup union acpi_operand_object's AML address assignments 2015-07-23 23:09:06 +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 global table list issues by removing fixed table indexes 2015-08-25 23:11:31 +02:00
acutils.h ACPICA: Cleanup use of all non-ANSI local C library functions 2015-07-23 23:09:08 +02:00
amlcode.h ACPICA: Remove unused internal AML opcode. 2015-04-14 14:51:55 +02:00
amlresrc.h
dsargs.c ACPICA: Dispatcher: Cleanup union acpi_operand_object's AML address assignments 2015-07-23 23:09:06 +02:00
dscontrol.c
dsdebug.c ACPICA: Executer: Add interpreter tracing mode for method tracing facility 2015-07-23 23:09:07 +02:00
dsfield.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
dsinit.c ACPICA: Update info messages during ACPICA init 2015-08-25 23:11:31 +02:00
dsmethod.c ACPICA: Debugger: Move debugger specific APIs to debugger component 2015-07-23 23:09:08 +02:00
dsmthdat.c
dsobject.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
dsopcode.c ACPICA: Update parameter validation for data_table_region and load_table 2015-08-25 23:11:31 +02:00
dsutils.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
dswexec.c
dswload.c ACPICA: Dispatcher: Cleanup union acpi_operand_object's AML address assignments 2015-07-23 23:09:06 +02:00
dswload2.c ACPICA: Dispatcher: Cleanup union acpi_operand_object's AML address assignments 2015-07-23 23:09:06 +02:00
dswscope.c
dswstate.c
evevent.c
evglock.c
evgpe.c ACPICA: Store GPE register enable masks upfront 2015-04-15 04:00:27 +02:00
evgpeblk.c
evgpeinit.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
evgpeutil.c
evhandler.c
evmisc.c
evregion.c
evrgnini.c
evsci.c
evxface.c
evxfevnt.c
evxfgpe.c
evxfregn.c
exconfig.c ACPICA: Update parameter validation for data_table_region and load_table 2015-08-25 23:11:31 +02:00
exconvrt.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
excreate.c ACPICA: Executer: Add back pointing reference of method operand 2015-07-23 23:09:06 +02:00
exdebug.c ACPICA: Executer: Add option to bypass opcode tracing 2015-07-23 23:09:07 +02:00
exdump.c ACPICA: Namespace: Add function to directly return normalized full path 2015-07-23 23:09:06 +02:00
exfield.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
exfldio.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
exmisc.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
exmutex.c
exnames.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
exoparg1.c
exoparg2.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
exoparg3.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
exoparg6.c
exprep.c
exregion.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
exresnte.c ACPICA: Correctly cleanup after a ACPI table load failure 2015-08-25 23:11:30 +02:00
exresolv.c ACPICA: Correctly cleanup after a ACPI table load failure 2015-08-25 23:11:30 +02:00
exresop.c
exstore.c
exstoren.c
exstorob.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
exsystem.c
exutils.c ACPICA: Utilities: Add _CLS processing 2015-07-01 23:17:53 +02:00
hwacpi.c
hwesleep.c
hwgpe.c ACPICA: Store GPE register enable masks upfront 2015-04-15 04:00:27 +02: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
hwsleep.c
hwtimer.c
hwvalid.c
hwxface.c
hwxfsleep.c ACPICA: Hardware: Enable firmware waking vector for both 32-bit and 64-bit FACS 2015-07-01 23:17:52 +02:00
Makefile ACPICA: Cleanup use of all non-ANSI local C library functions 2015-07-23 23:09:08 +02:00
nsaccess.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
nsalloc.c
nsarguments.c
nsconvert.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
nsdump.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
nsdumpdv.c
nseval.c ACPICA: Correctly cleanup after a ACPI table load failure 2015-08-25 23:11:30 +02:00
nsinit.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
nsload.c ACPICA: Correctly cleanup after a ACPI table load failure 2015-08-25 23:11:30 +02:00
nsnames.c ACPICA: Namespace: Add function to directly return normalized full path 2015-07-23 23:09:06 +02:00
nsobject.c
nsparse.c ACPICA: Dispatcher: Cleanup union acpi_operand_object's AML address assignments 2015-07-23 23:09:06 +02:00
nspredef.c
nsprepkg.c ACPICA: ACPI 6.0: Add support for new predefined names. 2015-05-22 03:22:19 +02:00
nsrepair.c ACPICA: ACPI 6.0: Add support for new predefined names. 2015-05-22 03:22:19 +02:00
nsrepair2.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
nssearch.c ACPICA: Namespace: Change namespace override to avoid node deletion 2015-07-01 23:17:54 +02:00
nsutils.c ACPICA: Namespace: Add function to directly return normalized full path 2015-07-23 23:09:06 +02:00
nswalk.c
nsxfeval.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
nsxfname.c ACPICA: Namespace: Add function to directly return normalized full path 2015-07-23 23:09:06 +02:00
nsxfobj.c
psargs.c ACPICA: Dispatcher: Cleanup union acpi_operand_object's AML address assignments 2015-07-23 23:09:06 +02:00
psloop.c ACPICA: Parser: Remove redundant opcode execution debugging output 2015-07-23 23:09:07 +02: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: Add infrastructure for External() opcode. 2015-04-14 14:51:54 +02:00
psopinfo.c ACPICA: Parser: Move a couple externals to the proper header. 2015-05-22 03:22:19 +02:00
psparse.c ACPICA: Executer: Add interpreter tracing mode for method tracing facility 2015-07-23 23:09:07 +02:00
psscope.c
pstree.c
psutils.c ACPICA: Dispatcher: Cleanup union acpi_operand_object's AML address assignments 2015-07-23 23:09:06 +02:00
pswalk.c
psxface.c ACPICA: Executer: Add interpreter tracing mode for method tracing facility 2015-07-23 23:09:07 +02:00
rsaddr.c
rscalc.c
rscreate.c ACPICA: Namespace: Add function to directly return normalized full path 2015-07-23 23:09:06 +02:00
rsdump.c ACPICA: Update Resource descriptor dump module. 2015-04-14 14:51:53 +02:00
rsdumpinfo.c
rsinfo.c
rsio.c
rsirq.c
rslist.c
rsmemory.c
rsmisc.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
rsserial.c
rsutils.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
rsxface.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
tbdata.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
tbfadt.c ACPICA: Tables: Fix global table list issues by removing fixed table indexes 2015-08-25 23:11:31 +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: Tables: Fix global table list issues by removing fixed table indexes 2015-08-25 23:11:31 +02:00
tbprint.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
tbutils.c ACPICA: Tables: Fix global table list issues by removing fixed table indexes 2015-08-25 23:11:31 +02:00
tbxface.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
tbxfload.c ACPICA: Tables: Fix global table list issues by removing fixed table indexes 2015-08-25 23:11:31 +02:00
tbxfroot.c
utaddress.c
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: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
utdebug.c ACPICA: Executer: Add OSL trace hook support 2015-07-23 23:09:07 +02:00
utdecode.c
utdelete.c ACPICA: Executer: Add back pointing reference of method operand 2015-07-23 23:09:06 +02:00
uterror.c
uteval.c
utexcep.c
utfileio.c ACPICA: iASL/disassembler - fix possible fault for -e option. 2015-05-22 03:22:21 +02:00
utglobal.c Revert 'Revert "ACPICA: Permanently set _REV to the value '2'."' 2015-07-03 01:06:04 +02:00
uthex.c ACPICA: ACPI 6.0: Add support for NFIT table. 2015-05-22 03:22:21 +02:00
utids.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
utinit.c ACPICA: Executer: Add interpreter tracing mode for method tracing facility 2015-07-23 23:09:07 +02:00
utlock.c
utmath.c
utmisc.c ACPICA: Namespace: Add function to directly return normalized full path 2015-07-23 23:09:06 +02:00
utmutex.c
utnonansi.c ACPICA: Cleanup use of all non-ANSI local C library functions 2015-07-23 23:09:08 +02:00
utobject.c
utosi.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
utownerid.c
utpredef.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
utprint.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
utresrc.c
utstate.c
utstring.c ACPICA: Cleanup use of all non-ANSI local C library functions 2015-07-23 23:09:08 +02:00
uttrack.c ACPICA: De-macroize calls to standard C library functions 2015-07-01 23:17:55 +02:00
utuuid.c ACPICA: Utilities: Correct conditional compilation definitions. 2015-04-14 14:51:52 +02:00
utxface.c ACPICA: Disassembler: Remove duplicate code in _PLD processing. 2015-08-25 23:11:30 +02:00
utxferror.c ACPICA: iASL/disassembler - fix possible fault for -e option. 2015-05-22 03:22:21 +02:00
utxfinit.c ACPICA: Tables: Fix an issue that FACS initialization is performed twice 2015-07-01 23:17:52 +02:00
utxfmutex.c