OpenCloudOS-Kernel/drivers/acpi/acpica
Lv Zheng 2e5321cb62 ACPICA: Debugger: Cleanup debugging outputs to dump name path without trailing underscores
ACPICA commit 51a49c2fb4a73f302a6df2b8ddc1350dd261684d

It is better to use unified ASL path name to interact with the developers.

There are following acpi_ns_build_normalized_pathname() users invoking it for
debugging purposes (acpiexec test results are attached):

 1. acpi_ut_display_init_pathname (acpi_ns_handle_to_pathname):
     ---------------------------------------------
      Initializing Region        \_SB.H_EC.ECF2
     ---------------------------------------------
 2. acpi_ns_print_node_pathname (acpi_ns_handle_to_pathname):
     ---------------------------------------------
     - ex \_SB.H_EC._STA
     Evaluating \_SB.H_EC._STA
     ---------------------------------------------
 3. acpi_ds_print_node_pathname (acpi_ns_handle_to_pathname):
     ---------------------------------------------
     - level 211b console
     - execute \M1
     ...
     **** Exception AE_AML_UNINITIALIZED_ARG during execution of method [\M1] (Node 009CB6B8)
     ---------------------------------------------
 4. acpi_ex_dump_reference_obj (acpi_ns_handle_to_pathname):
     ---------------------------------------------
     - dump \_TZ.FAN4._PR0
     ...
     [00] 00835E98 [Object Reference] Type [Named Object] 05 00828878 \_TZ.FN04
     ---------------------------------------------
 5. acpi_db_bus_walk (acpi_ns_handle_to_pathname):
     ---------------------------------------------
     - businfo
     \_SB.PCI0                        Type 6
     ...
     ---------------------------------------------
 6. acpi_db_walk_and_match_name (acpi_ns_handle_to_pathname):
     ---------------------------------------------
     - find _PR0
                       \_TZ.FAN4._PR0 Package      002D8DF8 01 Elements 01
     ---------------------------------------------
 7. acpi_db_walk_for_specific_objects (acpi_ns_handle_to_pathname):
     ---------------------------------------------
     - methods
     ...
                       \_SB.PCI0._PRT Method       0026D918 01 Args 0 Len 0005 Aml 0026B199
     ...
     ---------------------------------------------
 8. acpi_db_decode_and_dispaly_object (acpi_get_name):
     ---------------------------------------------
     - gpes
     Block 0 - Info 003AC7B0  device_node 003A0E08 [\_GPE] - FADT-defined GPE block
     ...
     ---------------------------------------------
 9. acpi_db_display_gpes (acpi_get_name):
     ---------------------------------------------
     - dump \_GPE
     Object (003A0E08) Pathname:  \_GPE
     ---------------------------------------------
 10.ae_miscellaneous_tests (acpi_get_name):
     No output available

This patch cleans up all of the above usages. ACPICA BZ 1178, Lv Zheng.

Linux kernel's ACPICA debugging messages may also be changed.

Link: https://github.com/acpica/acpica/commit/51a49c2f
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:33 +02:00
..
Makefile ACPICA: Cleanup use of all non-ANSI local C library functions 2015-07-23 23:09:08 +02:00
acapps.h
accommon.h
acdebug.h ACPICA: Disassembler: Cleanup acpi_gbl_db_opt_verbose acpiexec usage 2015-08-25 23:11:33 +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: Disassembler: Cleanup acpi_gbl_db_opt_verbose acpiexec usage 2015-08-25 23:11:33 +02:00
achware.h
acinterp.h ACPICA: Executer: Add OSL trace hook support 2015-07-23 23:09:07 +02:00
aclocal.h ACPICA: Debugger: Add option to display namespace summary/counts 2015-08-25 23:11:32 +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
acparser.h ACPICA: Dispatcher: Cleanup union acpi_operand_object's AML address assignments 2015-07-23 23:09:06 +02:00
acpredef.h
acresrc.h
acstruct.h
actables.h ACPICA: acpiexec/acpinames: Support very large number of ACPI tables 2015-08-25 23:11:31 +02:00
acutils.h ACPICA: acpinames: Add new options and wildcard support 2015-08-25 23:11:31 +02:00
amlcode.h
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 ACPICA: Make the max-number-of-loops runtime configurable 2015-08-25 23:11:32 +02:00
dsdebug.c ACPICA: Debugger: Cleanup debugging outputs to dump name path without trailing underscores 2015-08-25 23:11:33 +02:00
dsfield.c
dsinit.c ACPICA: Table handling: Cleanup and update debug output for tools 2015-08-25 23:11:32 +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
dsopcode.c ACPICA: Update parameter validation for data_table_region and load_table 2015-08-25 23:11:31 +02:00
dsutils.c
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
evgpeblk.c
evgpeinit.c
evgpeutil.c
evhandler.c
evmisc.c
evregion.c ACPICA: Add additional debug info/statements 2015-08-25 23:11:32 +02:00
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
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: Debugger: Cleanup debugging outputs to dump name path without trailing underscores 2015-08-25 23:11:33 +02:00
exfield.c
exfldio.c
exmisc.c
exmutex.c
exnames.c
exoparg1.c
exoparg2.c
exoparg3.c
exoparg6.c
exprep.c
exregion.c
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
exsystem.c
exutils.c
hwacpi.c
hwesleep.c
hwgpe.c
hwpci.c
hwregs.c
hwsleep.c
hwtimer.c
hwvalid.c
hwxface.c
hwxfsleep.c ACPICA: Tables: Cleanup to reduce FACS globals 2015-08-25 23:11:31 +02:00
nsaccess.c
nsalloc.c
nsarguments.c
nsconvert.c
nsdump.c
nsdumpdv.c
nseval.c ACPICA: Add additional debug info/statements 2015-08-25 23:11:32 +02:00
nsinit.c
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
nsrepair.c
nsrepair2.c
nssearch.c
nsutils.c ACPICA: Debugger: Cleanup debugging outputs to dump name path without trailing underscores 2015-08-25 23:11:33 +02:00
nswalk.c
nsxfeval.c
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: Add additional debug info/statements 2015-08-25 23:11:32 +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
psopinfo.c
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
rsdumpinfo.c
rsinfo.c
rsio.c
rsirq.c
rslist.c
rsmemory.c
rsmisc.c
rsserial.c
rsutils.c
rsxface.c
tbdata.c
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
tbutils.c ACPICA: Tables: Cleanup to reduce FACS globals 2015-08-25 23:11:31 +02:00
tbxface.c
tbxfload.c ACPICA: Table handling: Cleanup and update debug output for tools 2015-08-25 23:11:32 +02:00
tbxfroot.c
utaddress.c
utalloc.c
utbuffer.c
utcache.c
utcopy.c
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: acpiexec/acpinames: Support very large number of ACPI tables 2015-08-25 23:11:31 +02:00
utglobal.c
uthex.c
utids.c
utinit.c ACPICA: Make the max-number-of-loops runtime configurable 2015-08-25 23:11:32 +02:00
utlock.c
utmath.c
utmisc.c ACPICA: Debugger: Cleanup debugging outputs to dump name path without trailing underscores 2015-08-25 23:11:33 +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
utownerid.c
utpredef.c
utprint.c
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
utuuid.c
utxface.c ACPICA: Debugger: Split debugger initialization/termination APIs 2015-08-25 23:11:33 +02:00
utxferror.c
utxfinit.c ACPICA: Debugger: Split debugger initialization/termination APIs 2015-08-25 23:11:33 +02:00
utxfmutex.c