History

Merge branch 'acpica'

Merge ACPICA material for 5.19-rc1: - Add support for the Windows 11 _OSI string (Mario Limonciello) - Add the CFMWS subtable to the CEDT table (Lawrence Hileman). - iASL: NHLT: Treat Terminator as specific_config (Piotr Maziarz). - iASL: NHLT: Fix parsing undocumented bytes at the end of Endpoint Descriptor (Piotr Maziarz). - iASL: NHLT: Rename linux specific strucures to device_info (Piotr Maziarz). - Add new ACPI 6.4 semantics to Load() and LoadTable() (Bob Moore). - Clean up double word in comment (Tom Rix). - Update copyright notices to the year 2022 (Bob Moore). - Remove some tabs and // comments - automated cleanup (Bob Moore). - Replace zero-length array with flexible-array member (Gustavo A. R. Silva). - Interpreter: Add units to time variable names (Paul Menzel). - Add support for ARM Performance Monitoring Unit Table (Besar Wicaksono). - Inform users about ACPI spec violation related to sleep length (Paul Menzel). - iASL/MADT: Add OEM-defined subtable (Bob Moore). - Interpreter: Fix some typo mistakes (Selvarasu Ganesan). - Updates for revision E.d of IORT (Shameer Kolothum). - Use ACPI_FORMAT_UINT64 for 64-bit output (Bob Moore). - Update version to 20220331 (Bob Moore). * acpica: (21 commits) Revert "ACPICA: executer/exsystem: Warn about sleeps greater than 10 ms" ACPICA: Update version to 20220331 ACPICA: exsystem.c: Use ACPI_FORMAT_UINT64 for 64-bit output ACPICA: IORT: Updates for revision E.d ACPICA: executer/exsystem: Fix some typo mistakes ACPICA: iASL/MADT: Add OEM-defined subtable ACPICA: executer/exsystem: Warn about sleeps greater than 10 ms ACPICA: executer/exsystem: Inform users about ACPI spec violation ACPICA: Add support for ARM Performance Monitoring Unit Table. ACPICA: executer/exsystem: Add units to time variable names ACPICA: Headers: Replace zero-length array with flexible-array member ACPICA: Removed some tabs and // comments ACPICA: Update copyright notices to the year 2022 ACPICA: Clean up double word in comment ACPICA: Add new ACPI 6.4 semantics for LoadTable() operator ACPICA: Add new ACPI 6.4 semantics to the Load() operator ACPICA: iASL: NHLT: Rename linux specific strucures to device_info ACPICA: iASL: NHLT: Fix parsing undocumented bytes at the end of Endpoint Descriptor ACPICA: iASL: NHLT: Treat Terminator as specific_config ACPICA: Add the subtable CFMWS to the CEDT table ...

Rafael J. Wysocki committed 4 years ago

Commit ec1ff612 parents 06eb8dc c244dc1175 files · +411 −265Browse files

Unified · Split

175 files
  1. drivers/acpi/acpica/acapps.h +2 −2
  2. drivers/acpi/acpica/accommon.h +1 −1
  3. drivers/acpi/acpica/acconvert.h +1 −1
  4. drivers/acpi/acpica/acdebug.h +1 −1
  5. drivers/acpi/acpica/acdispat.h +1 −1
  6. drivers/acpi/acpica/acevents.h +1 −1
  7. drivers/acpi/acpica/acglobal.h +1 −1
  8. drivers/acpi/acpica/achware.h +1 −1
  9. drivers/acpi/acpica/acinterp.h +1 −1
  10. drivers/acpi/acpica/aclocal.h +1 −1
  11. drivers/acpi/acpica/acmacros.h +1 −1
  12. drivers/acpi/acpica/acnamesp.h +1 −1
  13. drivers/acpi/acpica/acobject.h +1 −1
  14. drivers/acpi/acpica/acopcode.h +1 −1
  15. drivers/acpi/acpica/acparser.h +1 −1
  16. drivers/acpi/acpica/acpredef.h +1 −1
  17. drivers/acpi/acpica/acresrc.h +1 −1
  18. drivers/acpi/acpica/acstruct.h +1 −1
  19. drivers/acpi/acpica/actables.h +1 −1
  20. drivers/acpi/acpica/acutils.h +1 −1
  21. drivers/acpi/acpica/amlcode.h +1 −1
  22. drivers/acpi/acpica/amlresrc.h +1 −1
  23. drivers/acpi/acpica/dbhistry.c +1 −1
  24. drivers/acpi/acpica/dsargs.c +1 −1
  25. drivers/acpi/acpica/dscontrol.c +1 −1
  26. drivers/acpi/acpica/dsdebug.c +1 −1
  27. drivers/acpi/acpica/dsfield.c +1 −1
  28. drivers/acpi/acpica/dsinit.c +1 −1
  29. drivers/acpi/acpica/dsmethod.c +1 −1
  30. drivers/acpi/acpica/dsobject.c +1 −1
  31. drivers/acpi/acpica/dsopcode.c +1 −1
  32. drivers/acpi/acpica/dspkginit.c +1 −1
  33. drivers/acpi/acpica/dswexec.c +2 −2
  34. drivers/acpi/acpica/dswload.c +1 −1
  35. drivers/acpi/acpica/dswload2.c +1 −1
  36. drivers/acpi/acpica/dswscope.c +1 −1
  37. drivers/acpi/acpica/dswstate.c +1 −1
  38. drivers/acpi/acpica/evevent.c +1 −1
  39. drivers/acpi/acpica/evglock.c +1 −1
  40. drivers/acpi/acpica/evgpe.c +1 −1
  41. drivers/acpi/acpica/evgpeblk.c +1 −1
  42. drivers/acpi/acpica/evgpeinit.c +1 −1
  43. drivers/acpi/acpica/evgpeutil.c +1 −1
  44. drivers/acpi/acpica/evhandler.c +1 −1
  45. drivers/acpi/acpica/evmisc.c +1 −1
  46. drivers/acpi/acpica/evregion.c +1 −1
  47. drivers/acpi/acpica/evrgnini.c +1 −1
  48. drivers/acpi/acpica/evxface.c +1 −1
  49. drivers/acpi/acpica/evxfevnt.c +1 −1
  50. drivers/acpi/acpica/evxfgpe.c +1 −1
  51. drivers/acpi/acpica/evxfregn.c +1 −1
  52. drivers/acpi/acpica/exconcat.c +1 −1
  53. drivers/acpi/acpica/exconfig.c +37 −24
  54. drivers/acpi/acpica/exconvrt.c +1 −1
  55. drivers/acpi/acpica/excreate.c +1 −1
  56. drivers/acpi/acpica/exdebug.c +1 −1
  57. drivers/acpi/acpica/exdump.c +1 −1
  58. drivers/acpi/acpica/exfield.c +1 −1
  59. drivers/acpi/acpica/exfldio.c +2 −2
  60. drivers/acpi/acpica/exmisc.c +1 −1
  61. drivers/acpi/acpica/exmutex.c +1 −1
  62. drivers/acpi/acpica/exnames.c +1 −1
  63. drivers/acpi/acpica/exoparg1.c +22 −1
  64. drivers/acpi/acpica/exoparg2.c +1 −1
  65. drivers/acpi/acpica/exoparg3.c +1 −1
  66. drivers/acpi/acpica/exoparg6.c +1 −1
  67. drivers/acpi/acpica/exprep.c +1 −1
  68. drivers/acpi/acpica/exregion.c +1 −1
  69. drivers/acpi/acpica/exresnte.c +1 −1
  70. drivers/acpi/acpica/exresolv.c +1 −1
  71. drivers/acpi/acpica/exresop.c +1 −1
  72. drivers/acpi/acpica/exserial.c +1 −1
  73. drivers/acpi/acpica/exstore.c +1 −1
  74. drivers/acpi/acpica/exstoren.c +1 −1
  75. drivers/acpi/acpica/exstorob.c +1 −1
  76. drivers/acpi/acpica/exsystem.c +17 −12
  77. drivers/acpi/acpica/extrace.c +1 −1
  78. drivers/acpi/acpica/exutils.c +1 −1
  79. drivers/acpi/acpica/hwacpi.c +1 −1
  80. drivers/acpi/acpica/hwesleep.c +1 −1
  81. drivers/acpi/acpica/hwgpe.c +1 −1
  82. drivers/acpi/acpica/hwregs.c +1 −1
  83. drivers/acpi/acpica/hwsleep.c +1 −1
  84. drivers/acpi/acpica/hwtimer.c +1 −1
  85. drivers/acpi/acpica/hwvalid.c +1 −1
  86. drivers/acpi/acpica/hwxface.c +1 −1
  87. drivers/acpi/acpica/hwxfsleep.c +1 −1
  88. drivers/acpi/acpica/nsarguments.c +1 −1
  89. drivers/acpi/acpica/nsconvert.c +1 −1
  90. drivers/acpi/acpica/nsdump.c +1 −1
  91. drivers/acpi/acpica/nsdumpdv.c +1 −1
  92. drivers/acpi/acpica/nsinit.c +1 −1
  93. drivers/acpi/acpica/nsload.c +1 −1
  94. drivers/acpi/acpica/nsparse.c +1 −1
  95. drivers/acpi/acpica/nspredef.c +1 −1
  96. drivers/acpi/acpica/nsprepkg.c +1 −1
  97. drivers/acpi/acpica/nsrepair.c +1 −1
  98. drivers/acpi/acpica/nsrepair2.c +1 −1
  99. drivers/acpi/acpica/nsutils.c +1 −1
  100. drivers/acpi/acpica/nswalk.c +1 −1
  101. drivers/acpi/acpica/nsxfname.c +1 −1
  102. drivers/acpi/acpica/psargs.c +1 −1
  103. drivers/acpi/acpica/psloop.c +1 −1
  104. drivers/acpi/acpica/psobject.c +1 −1
  105. drivers/acpi/acpica/psopcode.c +3 −3
  106. drivers/acpi/acpica/psopinfo.c +1 −1
  107. drivers/acpi/acpica/psparse.c +1 −1
  108. drivers/acpi/acpica/psscope.c +1 −1
  109. drivers/acpi/acpica/pstree.c +1 −1
  110. drivers/acpi/acpica/psutils.c +1 −1
  111. drivers/acpi/acpica/pswalk.c +1 −1
  112. drivers/acpi/acpica/psxface.c +1 −1
  113. drivers/acpi/acpica/tbdata.c +1 −1
  114. drivers/acpi/acpica/tbfadt.c +1 −1
  115. drivers/acpi/acpica/tbfind.c +1 −1
  116. drivers/acpi/acpica/tbinstal.c +1 −1
  117. drivers/acpi/acpica/tbprint.c +1 −1
  118. drivers/acpi/acpica/tbutils.c +1 −1
  119. drivers/acpi/acpica/tbxface.c +1 −1
  120. drivers/acpi/acpica/tbxfload.c +1 −1
  121. drivers/acpi/acpica/tbxfroot.c +1 −1
  122. drivers/acpi/acpica/utaddress.c +1 −1
  123. drivers/acpi/acpica/utalloc.c +1 −1
  124. drivers/acpi/acpica/utascii.c +1 −1
  125. drivers/acpi/acpica/utbuffer.c +1 −1
  126. drivers/acpi/acpica/utcache.c +1 −1
  127. drivers/acpi/acpica/utcopy.c +1 −1
  128. drivers/acpi/acpica/utdebug.c +1 −1
  129. drivers/acpi/acpica/utdecode.c +1 −1
  130. drivers/acpi/acpica/uteval.c +1 −1
  131. drivers/acpi/acpica/utglobal.c +1 −1
  132. drivers/acpi/acpica/uthex.c +1 −1
  133. drivers/acpi/acpica/utids.c +1 −1
  134. drivers/acpi/acpica/utinit.c +1 −1
  135. drivers/acpi/acpica/utlock.c +1 −1
  136. drivers/acpi/acpica/utobject.c +1 −1
  137. drivers/acpi/acpica/utosi.c +2 −1
  138. drivers/acpi/acpica/utpredef.c +1 −1
  139. drivers/acpi/acpica/utprint.c +1 −1
  140. drivers/acpi/acpica/uttrack.c +1 −1
  141. drivers/acpi/acpica/utuuid.c +1 −1
  142. drivers/acpi/acpica/utxface.c +1 −1
  143. drivers/acpi/acpica/utxfinit.c +1 −1
  144. include/acpi/acbuffer.h +1 −1
  145. include/acpi/acconfig.h +1 −1
  146. include/acpi/acexcep.h +1 −1
  147. include/acpi/acnames.h +1 −1
  148. include/acpi/acoutput.h +1 −1
  149. include/acpi/acpi.h +1 −1
  150. include/acpi/acpiosxf.h +1 −1
  151. include/acpi/acpixf.h +2 −2
  152. include/acpi/acrestyp.h +1 −1
  153. include/acpi/actbl.h +1 −1
  154. include/acpi/actbl1.h +11 −7
  155. include/acpi/actbl2.h +138 −37
  156. include/acpi/actbl3.h +1 −1
  157. include/acpi/actypes.h +10 −9
  158. include/acpi/acuuid.h +1 −1
  159. include/acpi/platform/acenv.h +1 −1
  160. include/acpi/platform/acenvex.h +1 −1
  161. include/acpi/platform/acgcc.h +1 −1
  162. include/acpi/platform/acgccex.h +1 −1
  163. include/acpi/platform/acintel.h +1 −1
  164. include/acpi/platform/aclinux.h +1 −1
  165. include/acpi/platform/aclinuxex.h +1 −1
  166. tools/power/acpi/common/cmfsize.c +1 −1
  167. tools/power/acpi/common/getopt.c +1 −1
  168. tools/power/acpi/os_specific/service_layers/oslinuxtbl.c +1 −1
  169. tools/power/acpi/os_specific/service_layers/osunixdir.c +1 −1
  170. tools/power/acpi/os_specific/service_layers/osunixmap.c +1 −1
  171. tools/power/acpi/os_specific/service_layers/osunixxf.c +1 −1
  172. tools/power/acpi/tools/acpidump/acpidump.h +1 −1
  173. tools/power/acpi/tools/acpidump/apdump.c +1 −1
  174. tools/power/acpi/tools/acpidump/apfiles.c +1 −1
  175. tools/power/acpi/tools/acpidump/apmain.c +1 −1
drivers/acpi/acpica/acapps.h+2−2
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: acapps - common include for ACPI applications/tools4 * Module Name: acapps - common include for ACPI applications/tools
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
@@ -17,7 +17,7 @@ · 7 unmodified lines
17/* Common info for tool signons */17/* Common info for tool signons */
18 18
19#define ACPICA_NAME "Intel ACPI Component Architecture"19#define ACPICA_NAME "Intel ACPI Component Architecture"
20#define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2021 Intel Corporation"20#define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2022 Intel Corporation"
21 21
22#if ACPI_MACHINE_WIDTH == 6422#if ACPI_MACHINE_WIDTH == 64
23#define ACPI_WIDTH " (64-bit version)"23#define ACPI_WIDTH " (64-bit version)"
drivers/acpi/acpica/accommon.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: accommon.h - Common include files for generation of ACPICA source4 * Name: accommon.h - Common include files for generation of ACPICA source
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acconvert.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: acapps - common include for ACPI applications/tools4 * Module Name: acapps - common include for ACPI applications/tools
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acdebug.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acdebug.h - ACPI/AML debugger4 * Name: acdebug.h - ACPI/AML debugger
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acdispat.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acdispat.h - dispatcher (parser to interpreter interface)4 * Name: acdispat.h - dispatcher (parser to interpreter interface)
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acevents.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acevents.h - Event subcomponent prototypes and defines4 * Name: acevents.h - Event subcomponent prototypes and defines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acglobal.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acglobal.h - Declarations for global variables4 * Name: acglobal.h - Declarations for global variables
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/achware.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: achware.h -- hardware specific interfaces4 * Name: achware.h -- hardware specific interfaces
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acinterp.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acinterp.h - Interpreter subcomponent prototypes and defines4 * Name: acinterp.h - Interpreter subcomponent prototypes and defines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/aclocal.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: aclocal.h - Internal data types used across the ACPI subsystem4 * Name: aclocal.h - Internal data types used across the ACPI subsystem
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acmacros.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acmacros.h - C macros for the entire subsystem.4 * Name: acmacros.h - C macros for the entire subsystem.
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acnamesp.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acnamesp.h - Namespace subcomponent prototypes and defines4 * Name: acnamesp.h - Namespace subcomponent prototypes and defines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acobject.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acobject.h - Definition of union acpi_operand_object (Internal object only)4 * Name: acobject.h - Definition of union acpi_operand_object (Internal object only)
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acopcode.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acopcode.h - AML opcode information for the AML parser and interpreter4 * Name: acopcode.h - AML opcode information for the AML parser and interpreter
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acparser.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: acparser.h - AML Parser subcomponent prototypes and defines4 * Module Name: acparser.h - AML Parser subcomponent prototypes and defines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acpredef.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acpredef - Information table for ACPI predefined methods and objects4 * Name: acpredef - Information table for ACPI predefined methods and objects
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acresrc.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acresrc.h - Resource Manager function prototypes4 * Name: acresrc.h - Resource Manager function prototypes
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acstruct.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acstruct.h - Internal structs4 * Name: acstruct.h - Internal structs
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/actables.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: actables.h - ACPI table management4 * Name: actables.h - ACPI table management
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/acutils.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acutils.h -- prototypes for the common (subsystem-wide) procedures4 * Name: acutils.h -- prototypes for the common (subsystem-wide) procedures
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/amlcode.h+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
5 * Declarations and definitions contained herein are derived5 * Declarations and definitions contained herein are derived
6 * directly from the ACPI specification.6 * directly from the ACPI specification.
7 *7 *
8 * Copyright (C) 2000 - 2021, Intel Corp.8 * Copyright (C) 2000 - 2022, Intel Corp.
9 *9 *
10 *****************************************************************************/10 *****************************************************************************/
11 11
drivers/acpi/acpica/amlresrc.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: amlresrc.h - AML resource descriptors4 * Module Name: amlresrc.h - AML resource descriptors
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dbhistry.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dbhistry - debugger HISTORY command4 * Module Name: dbhistry - debugger HISTORY command
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dsargs.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Module Name: dsargs - Support for execution of dynamic arguments for static4 * Module Name: dsargs - Support for execution of dynamic arguments for static
5 * objects (regions, fields, buffer fields, etc.)5 * objects (regions, fields, buffer fields, etc.)
6 *6 *
7 * Copyright (C) 2000 - 2021, Intel Corp.7 * Copyright (C) 2000 - 2022, Intel Corp.
8 *8 *
9 *****************************************************************************/9 *****************************************************************************/
10 10
drivers/acpi/acpica/dscontrol.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Module Name: dscontrol - Support for execution control opcodes -4 * Module Name: dscontrol - Support for execution control opcodes -
5 * if/else/while/return5 * if/else/while/return
6 *6 *
7 * Copyright (C) 2000 - 2021, Intel Corp.7 * Copyright (C) 2000 - 2022, Intel Corp.
8 *8 *
9 *****************************************************************************/9 *****************************************************************************/
10 10
drivers/acpi/acpica/dsdebug.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dsdebug - Parser/Interpreter interface - debugging4 * Module Name: dsdebug - Parser/Interpreter interface - debugging
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dsfield.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dsfield - Dispatcher field routines4 * Module Name: dsfield - Dispatcher field routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dsinit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dsinit - Object initialization namespace walk4 * Module Name: dsinit - Object initialization namespace walk
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dsmethod.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dsmethod - Parser/Interpreter interface - control method parsing4 * Module Name: dsmethod - Parser/Interpreter interface - control method parsing
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dsobject.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dsobject - Dispatcher object management routines4 * Module Name: dsobject - Dispatcher object management routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dsopcode.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dsopcode - Dispatcher support for regions and fields4 * Module Name: dsopcode - Dispatcher support for regions and fields
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dspkginit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dspkginit - Completion of deferred package initialization4 * Module Name: dspkginit - Completion of deferred package initialization
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dswexec.c+2−2
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Module Name: dswexec - Dispatcher method execution callbacks;4 * Module Name: dswexec - Dispatcher method execution callbacks;
5 * dispatch to interpreter.5 * dispatch to interpreter.
6 *6 *
7 * Copyright (C) 2000 - 2021, Intel Corp.7 * Copyright (C) 2000 - 2022, Intel Corp.
8 *8 *
9 *****************************************************************************/9 *****************************************************************************/
10 10
@@ -30,7 +30,7 @@ static acpi_execute_op acpi_gbl_op_type_dispatch[] = { · 19 unmodified lines
30 acpi_ex_opcode_0A_0T_1R,30 acpi_ex_opcode_0A_0T_1R,
31 acpi_ex_opcode_1A_0T_0R,31 acpi_ex_opcode_1A_0T_0R,
32 acpi_ex_opcode_1A_0T_1R,32 acpi_ex_opcode_1A_0T_1R,
33 acpi_ex_opcode_1A_1T_0R,33 NULL, /* Was: acpi_ex_opcode_1A_0T_0R (Was for Load operator) */
34 acpi_ex_opcode_1A_1T_1R,34 acpi_ex_opcode_1A_1T_1R,
35 acpi_ex_opcode_2A_0T_0R,35 acpi_ex_opcode_2A_0T_0R,
36 acpi_ex_opcode_2A_0T_1R,36 acpi_ex_opcode_2A_0T_1R,
drivers/acpi/acpica/dswload.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dswload - Dispatcher first pass namespace load callbacks4 * Module Name: dswload - Dispatcher first pass namespace load callbacks
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dswload2.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dswload2 - Dispatcher second pass namespace load callbacks4 * Module Name: dswload2 - Dispatcher second pass namespace load callbacks
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dswscope.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dswscope - Scope stack manipulation4 * Module Name: dswscope - Scope stack manipulation
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/dswstate.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: dswstate - Dispatcher parse tree walk management routines4 * Module Name: dswstate - Dispatcher parse tree walk management routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evevent.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evevent - Fixed Event handling and dispatch4 * Module Name: evevent - Fixed Event handling and dispatch
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evglock.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evglock - Global Lock support4 * Module Name: evglock - Global Lock support
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evgpe.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evgpe - General Purpose Event handling and dispatch4 * Module Name: evgpe - General Purpose Event handling and dispatch
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evgpeblk.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evgpeblk - GPE block creation and initialization.4 * Module Name: evgpeblk - GPE block creation and initialization.
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evgpeinit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evgpeinit - System GPE initialization and update4 * Module Name: evgpeinit - System GPE initialization and update
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evgpeutil.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evgpeutil - GPE utilities4 * Module Name: evgpeutil - GPE utilities
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evhandler.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evhandler - Support for Address Space handlers4 * Module Name: evhandler - Support for Address Space handlers
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evmisc.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evmisc - Miscellaneous event manager support functions4 * Module Name: evmisc - Miscellaneous event manager support functions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evregion.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evregion - Operation Region support4 * Module Name: evregion - Operation Region support
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evrgnini.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evrgnini- ACPI address_space (op_region) init4 * Module Name: evrgnini- ACPI address_space (op_region) init
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evxface.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evxface - External interfaces for ACPI events4 * Module Name: evxface - External interfaces for ACPI events
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evxfevnt.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evxfevnt - External Interfaces, ACPI event disable/enable4 * Module Name: evxfevnt - External Interfaces, ACPI event disable/enable
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evxfgpe.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: evxfgpe - External Interfaces for General Purpose Events (GPEs)4 * Module Name: evxfgpe - External Interfaces for General Purpose Events (GPEs)
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/evxfregn.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Module Name: evxfregn - External Interfaces, ACPI Operation Regions and4 * Module Name: evxfregn - External Interfaces, ACPI Operation Regions and
5 * Address Spaces.5 * Address Spaces.
6 *6 *
7 * Copyright (C) 2000 - 2021, Intel Corp.7 * Copyright (C) 2000 - 2022, Intel Corp.
8 *8 *
9 *****************************************************************************/9 *****************************************************************************/
10 10
drivers/acpi/acpica/exconcat.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exconcat - Concatenate-type AML operators4 * Module Name: exconcat - Concatenate-type AML operators
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exconfig.c+37−24
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exconfig - Namespace reconfiguration (Load/Unload opcodes)4 * Module Name: exconfig - Namespace reconfiguration (Load/Unload opcodes)
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
@@ -87,11 +87,21 @@ acpi_ex_load_table_op(struct acpi_walk_state *walk_state, · 77 unmodified lines
87 struct acpi_namespace_node *parent_node;87 struct acpi_namespace_node *parent_node;
88 struct acpi_namespace_node *start_node;88 struct acpi_namespace_node *start_node;
89 struct acpi_namespace_node *parameter_node = NULL;89 struct acpi_namespace_node *parameter_node = NULL;
90 union acpi_operand_object *return_obj;
90 union acpi_operand_object *ddb_handle;91 union acpi_operand_object *ddb_handle;
91 u32 table_index;92 u32 table_index;
92 93
93 ACPI_FUNCTION_TRACE(ex_load_table_op);94 ACPI_FUNCTION_TRACE(ex_load_table_op);
94 95
96 /* Create the return object */
97
98 return_obj = acpi_ut_create_integer_object((u64)0);
99 if (!return_obj) {
100 return_ACPI_STATUS(AE_NO_MEMORY);
101 }
102
103 *return_desc = return_obj;
104
95 /* Find the ACPI table in the RSDT/XSDT */105 /* Find the ACPI table in the RSDT/XSDT */
96 106
97 acpi_ex_exit_interpreter();107 acpi_ex_exit_interpreter();
@@ -106,12 +116,6 @@ acpi_ex_load_table_op(struct acpi_walk_state *walk_state, · 8 unmodified lines
106 116
107 /* Table not found, return an Integer=0 and AE_OK */117 /* Table not found, return an Integer=0 and AE_OK */
108 118
109 ddb_handle = acpi_ut_create_integer_object((u64) 0);
110 if (!ddb_handle) {
111 return_ACPI_STATUS(AE_NO_MEMORY);
112 }
113
114 *return_desc = ddb_handle;
115 return_ACPI_STATUS(AE_OK);119 return_ACPI_STATUS(AE_OK);
116 }120 }
117 121
@@ -198,7 +202,13 @@ acpi_ex_load_table_op(struct acpi_walk_state *walk_state, · 80 unmodified lines
198 }202 }
199 }203 }
200 204
201 *return_desc = ddb_handle;205 /* Remove the reference to ddb_handle created by acpi_ex_add_table above */
206
207 acpi_ut_remove_reference(ddb_handle);
208
209 /* Return -1 (non-zero) indicates success */
210
211 return_obj->integer.value = 0xFFFFFFFFFFFFFFFF;
202 return_ACPI_STATUS(status);212 return_ACPI_STATUS(status);
203}213}
204 214
@@ -249,7 +259,7 @@ acpi_ex_region_read(union acpi_operand_object *obj_desc, u32 length, u8 *buffer) · 44 unmodified lines
249 *259 *
250 * PARAMETERS: obj_desc - Region or Buffer/Field where the table will be260 * PARAMETERS: obj_desc - Region or Buffer/Field where the table will be
251 * obtained261 * obtained
252 * target - Where a handle to the table will be stored262 * target - Where the status of the load will be stored
253 * walk_state - Current state263 * walk_state - Current state
254 *264 *
255 * RETURN: Status265 * RETURN: Status
@@ -278,6 +288,20 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, · 22 unmodified lines
278 288
279 ACPI_FUNCTION_TRACE(ex_load_op);289 ACPI_FUNCTION_TRACE(ex_load_op);
280 290
291 if (target->common.descriptor_type == ACPI_DESC_TYPE_NAMED) {
292 target =
293 acpi_ns_get_attached_object(ACPI_CAST_PTR
294 (struct acpi_namespace_node,
295 target));
296 }
297 if (target->common.type != ACPI_TYPE_INTEGER) {
298 ACPI_EXCEPTION((AE_INFO, AE_TYPE,
299 "Type not integer: %X\n", target->common.type));
300 return_ACPI_STATUS(AE_AML_OPERAND_TYPE);
301 }
302
303 target->integer.value = 0;
304
281 /* Source Object can be either an op_region or a Buffer/Field */305 /* Source Object can be either an op_region or a Buffer/Field */
282 306
283 switch (obj_desc->common.type) {307 switch (obj_desc->common.type) {
@@ -430,9 +454,6 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, · 146 unmodified lines
430 */454 */
431 status = acpi_ex_add_table(table_index, &ddb_handle);455 status = acpi_ex_add_table(table_index, &ddb_handle);
432 if (ACPI_FAILURE(status)) {456 if (ACPI_FAILURE(status)) {
433
434 /* On error, table_ptr was deallocated above */
435
436 return_ACPI_STATUS(status);457 return_ACPI_STATUS(status);
437 }458 }
438 459
@@ -442,21 +463,13 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, · 3 unmodified lines
442 acpi_ns_initialize_objects();463 acpi_ns_initialize_objects();
443 acpi_ex_enter_interpreter();464 acpi_ex_enter_interpreter();
444 465
445 /* Store the ddb_handle into the Target operand */466 /* Remove the reference to ddb_handle created by acpi_ex_add_table above */
446 467
447 status = acpi_ex_store(ddb_handle, target, walk_state);468 acpi_ut_remove_reference(ddb_handle);
448 if (ACPI_FAILURE(status)) {
449 (void)acpi_ex_unload_table(ddb_handle);
450
451 /* table_ptr was deallocated above */
452
453 acpi_ut_remove_reference(ddb_handle);
454 return_ACPI_STATUS(status);
455 }
456 469
457 /* Remove the reference by added by acpi_ex_store above */470 /* Return -1 (non-zero) indicates success */
458 471
459 acpi_ut_remove_reference(ddb_handle);472 target->integer.value = 0xFFFFFFFFFFFFFFFF;
460 return_ACPI_STATUS(status);473 return_ACPI_STATUS(status);
461}474}
462 475
drivers/acpi/acpica/exconvrt.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exconvrt - Object conversion routines4 * Module Name: exconvrt - Object conversion routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/excreate.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: excreate - Named object creation4 * Module Name: excreate - Named object creation
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exdebug.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exdebug - Support for stores to the AML Debug Object4 * Module Name: exdebug - Support for stores to the AML Debug Object
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exdump.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exdump - Interpreter debug output routines4 * Module Name: exdump - Interpreter debug output routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exfield.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exfield - AML execution - field_unit read/write4 * Module Name: exfield - AML execution - field_unit read/write
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exfldio.c+2−2
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exfldio - Aml Field I/O4 * Module Name: exfldio - Aml Field I/O
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
@@ -104,7 +104,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc, · 94 unmodified lines
104#ifdef ACPI_UNDER_DEVELOPMENT104#ifdef ACPI_UNDER_DEVELOPMENT
105 /*105 /*
106 * If the Field access is any_acc, we can now compute the optimal106 * If the Field access is any_acc, we can now compute the optimal
107 * access (because we know know the length of the parent region)107 * access (because we know the length of the parent region)
108 */108 */
109 if (!(obj_desc->common.flags & AOPOBJ_DATA_VALID)) {109 if (!(obj_desc->common.flags & AOPOBJ_DATA_VALID)) {
110 if (ACPI_FAILURE(status)) {110 if (ACPI_FAILURE(status)) {
drivers/acpi/acpica/exmisc.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exmisc - ACPI AML (p-code) execution - specific opcodes4 * Module Name: exmisc - ACPI AML (p-code) execution - specific opcodes
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exmutex.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exmutex - ASL Mutex Acquire/Release functions4 * Module Name: exmutex - ASL Mutex Acquire/Release functions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exnames.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exnames - interpreter/scanner name load/execute4 * Module Name: exnames - interpreter/scanner name load/execute
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exoparg1.c+22−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exoparg1 - AML execution - opcodes with 1 argument4 * Module Name: exoparg1 - AML execution - opcodes with 1 argument
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
@@ -163,6 +163,7 @@ acpi_status acpi_ex_opcode_1A_0T_0R(struct acpi_walk_state *walk_state) · 153 unmodified lines
163 return_ACPI_STATUS(status);163 return_ACPI_STATUS(status);
164}164}
165 165
166#ifdef _OBSOLETE_CODE /* Was originally used for Load() operator */
166/*******************************************************************************167/*******************************************************************************
167 *168 *
168 * FUNCTION: acpi_ex_opcode_1A_1T_0R169 * FUNCTION: acpi_ex_opcode_1A_1T_0R
@@ -187,10 +188,12 @@ acpi_status acpi_ex_opcode_1A_1T_0R(struct acpi_walk_state *walk_state) · 18 unmodified lines
187 /* Examine the AML opcode */188 /* Examine the AML opcode */
188 189
189 switch (walk_state->opcode) {190 switch (walk_state->opcode) {
191#ifdef _OBSOLETE_CODE
190 case AML_LOAD_OP:192 case AML_LOAD_OP:
191 193
192 status = acpi_ex_load_op(operand[0], operand[1], walk_state);194 status = acpi_ex_load_op(operand[0], operand[1], walk_state);
193 break;195 break;
196#endif
194 197
195 default: /* Unknown opcode */198 default: /* Unknown opcode */
196 199
@@ -204,6 +207,7 @@ cleanup: · 7 unmodified lines
204 207
205 return_ACPI_STATUS(status);208 return_ACPI_STATUS(status);
206}209}
210#endif
207 211
208/*******************************************************************************212/*******************************************************************************
209 *213 *
@@ -215,6 +219,8 @@ cleanup: · 5 unmodified lines
215 *219 *
216 * DESCRIPTION: Execute opcode with one argument, one target, and a220 * DESCRIPTION: Execute opcode with one argument, one target, and a
217 * return value.221 * return value.
222 * January 2022: Added Load operator, with new ACPI 6.4
223 * semantics.
218 *224 *
219 ******************************************************************************/225 ******************************************************************************/
220 226
@@ -239,6 +245,7 @@ acpi_status acpi_ex_opcode_1A_1T_1R(struct acpi_walk_state *walk_state) · 18 unmodified lines
239 case AML_FIND_SET_LEFT_BIT_OP:245 case AML_FIND_SET_LEFT_BIT_OP:
240 case AML_FIND_SET_RIGHT_BIT_OP:246 case AML_FIND_SET_RIGHT_BIT_OP:
241 case AML_FROM_BCD_OP:247 case AML_FROM_BCD_OP:
248 case AML_LOAD_OP:
242 case AML_TO_BCD_OP:249 case AML_TO_BCD_OP:
243 case AML_CONDITIONAL_REF_OF_OP:250 case AML_CONDITIONAL_REF_OF_OP:
244 251
@@ -338,6 +345,20 @@ acpi_status acpi_ex_opcode_1A_1T_1R(struct acpi_walk_state *walk_state) · 93 unmodified lines
338 }345 }
339 break;346 break;
340 347
348 case AML_LOAD_OP: /* Result1 = Load (Operand[0], Result1) */
349
350 return_desc->integer.value = 0;
351 status =
352 acpi_ex_load_op(operand[0], return_desc,
353 walk_state);
354 if (ACPI_SUCCESS(status)) {
355
356 /* Return -1 (non-zero) indicates success */
357
358 return_desc->integer.value = 0xFFFFFFFFFFFFFFFF;
359 }
360 break;
361
341 case AML_TO_BCD_OP: /* to_bcd (Operand, Result) */362 case AML_TO_BCD_OP: /* to_bcd (Operand, Result) */
342 363
343 return_desc->integer.value = 0;364 return_desc->integer.value = 0;
drivers/acpi/acpica/exoparg2.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exoparg2 - AML execution - opcodes with 2 arguments4 * Module Name: exoparg2 - AML execution - opcodes with 2 arguments
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exoparg3.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exoparg3 - AML execution - opcodes with 3 arguments4 * Module Name: exoparg3 - AML execution - opcodes with 3 arguments
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exoparg6.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exoparg6 - AML execution - opcodes with 6 arguments4 * Module Name: exoparg6 - AML execution - opcodes with 6 arguments
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exprep.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exprep - ACPI AML field prep utilities4 * Module Name: exprep - ACPI AML field prep utilities
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exregion.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exregion - ACPI default op_region (address space) handlers4 * Module Name: exregion - ACPI default op_region (address space) handlers
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exresnte.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exresnte - AML Interpreter object resolution4 * Module Name: exresnte - AML Interpreter object resolution
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exresolv.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exresolv - AML Interpreter object resolution4 * Module Name: exresolv - AML Interpreter object resolution
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exresop.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exresop - AML Interpreter operand/object resolution4 * Module Name: exresop - AML Interpreter operand/object resolution
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exserial.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exserial - field_unit support for serial address spaces4 * Module Name: exserial - field_unit support for serial address spaces
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exstore.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exstore - AML Interpreter object store support4 * Module Name: exstore - AML Interpreter object store support
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exstoren.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Module Name: exstoren - AML Interpreter object store support,4 * Module Name: exstoren - AML Interpreter object store support,
5 * Store to Node (namespace object)5 * Store to Node (namespace object)
6 *6 *
7 * Copyright (C) 2000 - 2021, Intel Corp.7 * Copyright (C) 2000 - 2022, Intel Corp.
8 *8 *
9 *****************************************************************************/9 *****************************************************************************/
10 10
drivers/acpi/acpica/exstorob.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exstorob - AML object store support, store to object4 * Module Name: exstorob - AML object store support, store to object
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exsystem.c+17−12
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exsystem - Interface to OS services4 * Module Name: exsystem - Interface to OS services
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
@@ -107,7 +107,7 @@ acpi_status acpi_ex_system_wait_mutex(acpi_mutex mutex, u16 timeout) · 97 unmodified lines
107 *107 *
108 * FUNCTION: acpi_ex_system_do_stall108 * FUNCTION: acpi_ex_system_do_stall
109 *109 *
110 * PARAMETERS: how_long - The amount of time to stall,110 * PARAMETERS: how_long_us - The amount of time to stall,
111 * in microseconds111 * in microseconds
112 *112 *
113 * RETURN: Status113 * RETURN: Status
@@ -120,24 +120,29 @@ acpi_status acpi_ex_system_wait_mutex(acpi_mutex mutex, u16 timeout) · 6 unmodified lines
120 *120 *
121 ******************************************************************************/121 ******************************************************************************/
122 122
123acpi_status acpi_ex_system_do_stall(u32 how_long)123acpi_status acpi_ex_system_do_stall(u32 how_long_us)
124{124{
125 acpi_status status = AE_OK;125 acpi_status status = AE_OK;
126 126
127 ACPI_FUNCTION_ENTRY();127 ACPI_FUNCTION_ENTRY();
128 128
129 if (how_long > 255) { /* 255 microseconds */129 if (how_long_us > 255) {
130 /*130 /*
131 * Longer than 255 usec, this is an error131 * Longer than 255 microseconds, this is an error
132 *132 *
133 * (ACPI specifies 100 usec as max, but this gives some slack in133 * (ACPI specifies 100 usec as max, but this gives some slack in
134 * order to support existing BIOSs)134 * order to support existing BIOSs)
135 */135 */
136 ACPI_ERROR((AE_INFO,136 ACPI_ERROR((AE_INFO,
137 "Time parameter is too large (%u)", how_long));137 "Time parameter is too large (%u)", how_long_us));
138 status = AE_AML_OPERAND_VALUE;138 status = AE_AML_OPERAND_VALUE;
139 } else {139 } else {
140 acpi_os_stall(how_long);140 if (how_long_us > 100) {
141 ACPI_WARNING((AE_INFO,
142 "Time parameter %u us > 100 us violating ACPI spec, please fix the firmware.",
143 how_long_us));
144 }
145 acpi_os_stall(how_long_us);
141 }146 }
142 147
143 return (status);148 return (status);
@@ -147,7 +152,7 @@ acpi_status acpi_ex_system_do_stall(u32 how_long) · 3 unmodified lines
147 *152 *
148 * FUNCTION: acpi_ex_system_do_sleep153 * FUNCTION: acpi_ex_system_do_sleep
149 *154 *
150 * PARAMETERS: how_long - The amount of time to sleep,155 * PARAMETERS: how_long_ms - The amount of time to sleep,
151 * in milliseconds156 * in milliseconds
152 *157 *
153 * RETURN: None158 * RETURN: None
@@ -156,7 +161,7 @@ acpi_status acpi_ex_system_do_stall(u32 how_long) · 2 unmodified lines
156 *161 *
157 ******************************************************************************/162 ******************************************************************************/
158 163
159acpi_status acpi_ex_system_do_sleep(u64 how_long)164acpi_status acpi_ex_system_do_sleep(u64 how_long_ms)
160{165{
161 ACPI_FUNCTION_ENTRY();166 ACPI_FUNCTION_ENTRY();
162 167
@@ -168,11 +173,11 @@ acpi_status acpi_ex_system_do_sleep(u64 how_long) · 5 unmodified lines
168 * For compatibility with other ACPI implementations and to prevent173 * For compatibility with other ACPI implementations and to prevent
169 * accidental deep sleeps, limit the sleep time to something reasonable.174 * accidental deep sleeps, limit the sleep time to something reasonable.
170 */175 */
171 if (how_long > ACPI_MAX_SLEEP) {176 if (how_long_ms > ACPI_MAX_SLEEP) {
172 how_long = ACPI_MAX_SLEEP;177 how_long_ms = ACPI_MAX_SLEEP;
173 }178 }
174 179
175 acpi_os_sleep(how_long);180 acpi_os_sleep(how_long_ms);
176 181
177 /* And now we must get the interpreter again */182 /* And now we must get the interpreter again */
178 183
drivers/acpi/acpica/extrace.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: extrace - Support for interpreter execution tracing4 * Module Name: extrace - Support for interpreter execution tracing
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/exutils.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: exutils - interpreter/scanner utilities4 * Module Name: exutils - interpreter/scanner utilities
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/hwacpi.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: hwacpi - ACPI Hardware Initialization/Mode Interface4 * Module Name: hwacpi - ACPI Hardware Initialization/Mode Interface
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/hwesleep.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Name: hwesleep.c - ACPI Hardware Sleep/Wake Support functions for the4 * Name: hwesleep.c - ACPI Hardware Sleep/Wake Support functions for the
5 * extended FADT-V5 sleep registers.5 * extended FADT-V5 sleep registers.
6 *6 *
7 * Copyright (C) 2000 - 2021, Intel Corp.7 * Copyright (C) 2000 - 2022, Intel Corp.
8 *8 *
9 *****************************************************************************/9 *****************************************************************************/
10 10
drivers/acpi/acpica/hwgpe.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: hwgpe - Low level GPE enable/disable/clear functions4 * Module Name: hwgpe - Low level GPE enable/disable/clear functions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/hwregs.c+1−1
@@ -446,7 +446,7 @@ struct acpi_bit_register_info *acpi_hw_get_bit_register_info(u32 register_id) · 445 unmodified lines
446 * RETURN: Status446 * RETURN: Status
447 *447 *
448 * DESCRIPTION: Write the PM1 A/B control registers. These registers are448 * DESCRIPTION: Write the PM1 A/B control registers. These registers are
449 * different than than the PM1 A/B status and enable registers449 * different than the PM1 A/B status and enable registers
450 * in that different values can be written to the A/B registers.450 * in that different values can be written to the A/B registers.
451 * Most notably, the SLP_TYP bits can be different, as per the451 * Most notably, the SLP_TYP bits can be different, as per the
452 * values returned from the _Sx predefined methods.452 * values returned from the _Sx predefined methods.
drivers/acpi/acpica/hwsleep.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Name: hwsleep.c - ACPI Hardware Sleep/Wake Support functions for the4 * Name: hwsleep.c - ACPI Hardware Sleep/Wake Support functions for the
5 * original/legacy sleep/PM registers.5 * original/legacy sleep/PM registers.
6 *6 *
7 * Copyright (C) 2000 - 2021, Intel Corp.7 * Copyright (C) 2000 - 2022, Intel Corp.
8 *8 *
9 *****************************************************************************/9 *****************************************************************************/
10 10
drivers/acpi/acpica/hwtimer.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: hwtimer.c - ACPI Power Management Timer Interface4 * Name: hwtimer.c - ACPI Power Management Timer Interface
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/hwvalid.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: hwvalid - I/O request validation4 * Module Name: hwvalid - I/O request validation
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/hwxface.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: hwxface - Public ACPICA hardware interfaces4 * Module Name: hwxface - Public ACPICA hardware interfaces
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/hwxfsleep.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: hwxfsleep.c - ACPI Hardware Sleep/Wake External Interfaces4 * Name: hwxfsleep.c - ACPI Hardware Sleep/Wake External Interfaces
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/nsarguments.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: nsarguments - Validation of args for ACPI predefined methods4 * Module Name: nsarguments - Validation of args for ACPI predefined methods
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/nsconvert.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Module Name: nsconvert - Object conversions for objects returned by4 * Module Name: nsconvert - Object conversions for objects returned by
5 * predefined methods5 * predefined methods
6 *6 *
7 * Copyright (C) 2000 - 2021, Intel Corp.7 * Copyright (C) 2000 - 2022, Intel Corp.
8 *8 *
9 *****************************************************************************/9 *****************************************************************************/
10 10
drivers/acpi/acpica/nsdump.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: nsdump - table dumping routines for debug4 * Module Name: nsdump - table dumping routines for debug
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/nsdumpdv.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: nsdump - table dumping routines for debug4 * Module Name: nsdump - table dumping routines for debug
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/nsinit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: nsinit - namespace initialization4 * Module Name: nsinit - namespace initialization
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/nsload.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: nsload - namespace loading/expanding/contracting procedures4 * Module Name: nsload - namespace loading/expanding/contracting procedures
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/nsparse.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: nsparse - namespace interface to AML parser4 * Module Name: nsparse - namespace interface to AML parser
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/nspredef.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: nspredef - Validation of ACPI predefined methods and objects4 * Module Name: nspredef - Validation of ACPI predefined methods and objects
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/nsprepkg.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: nsprepkg - Validation of package objects for predefined names4 * Module Name: nsprepkg - Validation of package objects for predefined names
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/nsrepair.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: nsrepair - Repair for objects returned by predefined methods4 * Module Name: nsrepair - Repair for objects returned by predefined methods
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/nsrepair2.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Module Name: nsrepair2 - Repair for objects returned by specific4 * Module Name: nsrepair2 - Repair for objects returned by specific
5 * predefined methods5 * predefined methods
6 *6 *
7 * Copyright (C) 2000 - 2021, Intel Corp.7 * Copyright (C) 2000 - 2022, Intel Corp.
8 *8 *
9 *****************************************************************************/9 *****************************************************************************/
10 10
drivers/acpi/acpica/nsutils.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Module Name: nsutils - Utilities for accessing ACPI namespace, accessing4 * Module Name: nsutils - Utilities for accessing ACPI namespace, accessing
5 * parents and siblings and Scope manipulation5 * parents and siblings and Scope manipulation
6 *6 *
7 * Copyright (C) 2000 - 2021, Intel Corp.7 * Copyright (C) 2000 - 2022, Intel Corp.
8 *8 *
9 *****************************************************************************/9 *****************************************************************************/
10 10
drivers/acpi/acpica/nswalk.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: nswalk - Functions for walking the ACPI namespace4 * Module Name: nswalk - Functions for walking the ACPI namespace
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/nsxfname.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
4 * Module Name: nsxfname - Public interfaces to the ACPI subsystem4 * Module Name: nsxfname - Public interfaces to the ACPI subsystem
5 * ACPI Namespace oriented interfaces5 * ACPI Namespace oriented interfaces
6 *6 *
7 * Copyright (C) 2000 - 2021, Intel Corp.7 * Copyright (C) 2000 - 2022, Intel Corp.
8 *8 *
9 *****************************************************************************/9 *****************************************************************************/
10 10
drivers/acpi/acpica/psargs.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: psargs - Parse AML opcode arguments4 * Module Name: psargs - Parse AML opcode arguments
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/psloop.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: psloop - Main AML parse loop4 * Module Name: psloop - Main AML parse loop
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/psobject.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: psobject - Support for parse objects4 * Module Name: psobject - Support for parse objects
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/psopcode.c+3−3
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: psopcode - Parser/Interpreter opcode information table4 * Module Name: psopcode - Parser/Interpreter opcode information table
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
@@ -408,8 +408,8 @@ const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES] = { · 398 unmodified lines
408 AML_HAS_ARGS | AML_NSOBJECT | AML_NSNODE |408 AML_HAS_ARGS | AML_NSOBJECT | AML_NSNODE |
409 AML_DEFER | AML_FIELD | AML_CREATE),409 AML_DEFER | AML_FIELD | AML_CREATE),
410/* 4A */ ACPI_OP("Load", ARGP_LOAD_OP, ARGI_LOAD_OP, ACPI_TYPE_ANY,410/* 4A */ ACPI_OP("Load", ARGP_LOAD_OP, ARGI_LOAD_OP, ACPI_TYPE_ANY,
411 AML_CLASS_EXECUTE, AML_TYPE_EXEC_1A_1T_0R,411 AML_CLASS_EXECUTE, AML_TYPE_EXEC_1A_1T_1R,
412 AML_FLAGS_EXEC_1A_1T_0R),412 AML_FLAGS_EXEC_1A_1T_1R),
413/* 4B */ ACPI_OP("Stall", ARGP_STALL_OP, ARGI_STALL_OP, ACPI_TYPE_ANY,413/* 4B */ ACPI_OP("Stall", ARGP_STALL_OP, ARGI_STALL_OP, ACPI_TYPE_ANY,
414 AML_CLASS_EXECUTE, AML_TYPE_EXEC_1A_0T_0R,414 AML_CLASS_EXECUTE, AML_TYPE_EXEC_1A_0T_0R,
415 AML_FLAGS_EXEC_1A_0T_0R),415 AML_FLAGS_EXEC_1A_0T_0R),
drivers/acpi/acpica/psopinfo.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: psopinfo - AML opcode information functions and dispatch tables4 * Module Name: psopinfo - AML opcode information functions and dispatch tables
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/psparse.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: psparse - Parser top level AML parse routines4 * Module Name: psparse - Parser top level AML parse routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/psscope.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: psscope - Parser scope stack management routines4 * Module Name: psscope - Parser scope stack management routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/pstree.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: pstree - Parser op tree manipulation/traversal/search4 * Module Name: pstree - Parser op tree manipulation/traversal/search
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/psutils.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: psutils - Parser miscellaneous utilities (Parser only)4 * Module Name: psutils - Parser miscellaneous utilities (Parser only)
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/pswalk.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: pswalk - Parser routines to walk parsed op tree(s)4 * Module Name: pswalk - Parser routines to walk parsed op tree(s)
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/psxface.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: psxface - Parser external interfaces4 * Module Name: psxface - Parser external interfaces
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/tbdata.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: tbdata - Table manager data structure functions4 * Module Name: tbdata - Table manager data structure functions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/tbfadt.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: tbfadt - FADT table utilities4 * Module Name: tbfadt - FADT table utilities
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/tbfind.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: tbfind - find table4 * Module Name: tbfind - find table
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/tbinstal.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: tbinstal - ACPI table installation and removal4 * Module Name: tbinstal - ACPI table installation and removal
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/tbprint.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: tbprint - Table output utilities4 * Module Name: tbprint - Table output utilities
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/tbutils.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: tbutils - ACPI Table utilities4 * Module Name: tbutils - ACPI Table utilities
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/tbxface.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: tbxface - ACPI table-oriented external interfaces4 * Module Name: tbxface - ACPI table-oriented external interfaces
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/tbxfload.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: tbxfload - Table load/unload external interfaces4 * Module Name: tbxfload - Table load/unload external interfaces
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/tbxfroot.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: tbxfroot - Find the root ACPI table (RSDT)4 * Module Name: tbxfroot - Find the root ACPI table (RSDT)
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utaddress.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utaddress - op_region address range check4 * Module Name: utaddress - op_region address range check
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utalloc.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utalloc - local memory allocation routines4 * Module Name: utalloc - local memory allocation routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utascii.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utascii - Utility ascii functions4 * Module Name: utascii - Utility ascii functions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utbuffer.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utbuffer - Buffer dump routines4 * Module Name: utbuffer - Buffer dump routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utcache.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utcache - local cache allocation routines4 * Module Name: utcache - local cache allocation routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utcopy.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utcopy - Internal to external object translation utilities4 * Module Name: utcopy - Internal to external object translation utilities
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utdebug.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utdebug - Debug print/trace routines4 * Module Name: utdebug - Debug print/trace routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utdecode.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utdecode - Utility decoding routines (value-to-string)4 * Module Name: utdecode - Utility decoding routines (value-to-string)
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/uteval.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: uteval - Object evaluation4 * Module Name: uteval - Object evaluation
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utglobal.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utglobal - Global variables for the ACPI subsystem4 * Module Name: utglobal - Global variables for the ACPI subsystem
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/uthex.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: uthex -- Hex/ASCII support functions4 * Module Name: uthex -- Hex/ASCII support functions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utids.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utids - support for device Ids - HID, UID, CID, SUB, CLS4 * Module Name: utids - support for device Ids - HID, UID, CID, SUB, CLS
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utinit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utinit - Common ACPI subsystem initialization4 * Module Name: utinit - Common ACPI subsystem initialization
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utlock.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utlock - Reader/Writer lock interfaces4 * Module Name: utlock - Reader/Writer lock interfaces
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utobject.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utobject - ACPI object create/delete/size/cache routines4 * Module Name: utobject - ACPI object create/delete/size/cache routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utosi.c+2−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utosi - Support for the _OSI predefined control method4 * Module Name: utosi - Support for the _OSI predefined control method
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
@@ -74,6 +74,7 @@ static struct acpi_interface_info acpi_default_supported_interfaces[] = { · 64 unmodified lines
74 {"Windows 2018.2", NULL, 0, ACPI_OSI_WIN_10_RS5}, /* Windows 10 version 1809 - Added 11/2018 */74 {"Windows 2018.2", NULL, 0, ACPI_OSI_WIN_10_RS5}, /* Windows 10 version 1809 - Added 11/2018 */
75 {"Windows 2019", NULL, 0, ACPI_OSI_WIN_10_19H1}, /* Windows 10 version 1903 - Added 08/2019 */75 {"Windows 2019", NULL, 0, ACPI_OSI_WIN_10_19H1}, /* Windows 10 version 1903 - Added 08/2019 */
76 {"Windows 2020", NULL, 0, ACPI_OSI_WIN_10_20H1}, /* Windows 10 version 2004 - Added 08/2021 */76 {"Windows 2020", NULL, 0, ACPI_OSI_WIN_10_20H1}, /* Windows 10 version 2004 - Added 08/2021 */
77 {"Windows 2021", NULL, 0, ACPI_OSI_WIN_11}, /* Windows 11 - Added 01/2022 */
77 78
78 /* Feature Group Strings */79 /* Feature Group Strings */
79 80
drivers/acpi/acpica/utpredef.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utpredef - support functions for predefined names4 * Module Name: utpredef - support functions for predefined names
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utprint.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utprint - Formatted printing routines4 * Module Name: utprint - Formatted printing routines
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/uttrack.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: uttrack - Memory allocation tracking routines (debug only)4 * Module Name: uttrack - Memory allocation tracking routines (debug only)
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utuuid.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utuuid -- UUID support functions4 * Module Name: utuuid -- UUID support functions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utxface.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utxface - External interfaces, miscellaneous utility functions4 * Module Name: utxface - External interfaces, miscellaneous utility functions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
drivers/acpi/acpica/utxfinit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: utxfinit - External interfaces for ACPICA initialization4 * Module Name: utxfinit - External interfaces for ACPICA initialization
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/acbuffer.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acbuffer.h - Support for buffers returned by ACPI predefined names4 * Name: acbuffer.h - Support for buffers returned by ACPI predefined names
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/acconfig.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acconfig.h - Global configuration constants4 * Name: acconfig.h - Global configuration constants
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/acexcep.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acexcep.h - Exception codes returned by the ACPI subsystem4 * Name: acexcep.h - Exception codes returned by the ACPI subsystem
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/acnames.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acnames.h - Global names and strings4 * Name: acnames.h - Global names and strings
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/acoutput.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acoutput.h -- debug output4 * Name: acoutput.h -- debug output
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/acpi.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acpi.h - Master public include file used to interface to ACPICA4 * Name: acpi.h - Master public include file used to interface to ACPICA
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/acpiosxf.h+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
5 * interfaces must be implemented by OSL to interface the5 * interfaces must be implemented by OSL to interface the
6 * ACPI components to the host operating system.6 * ACPI components to the host operating system.
7 *7 *
8 * Copyright (C) 2000 - 2021, Intel Corp.8 * Copyright (C) 2000 - 2022, Intel Corp.
9 *9 *
10 *****************************************************************************/10 *****************************************************************************/
11 11
include/acpi/acpixf.h+2−2
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acpixf.h - External interfaces to the ACPI subsystem4 * Name: acpixf.h - External interfaces to the ACPI subsystem
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
@@ -12,7 +12,7 @@ · 2 unmodified lines
12 12
13/* Current ACPICA subsystem version in YYYYMMDD format */13/* Current ACPICA subsystem version in YYYYMMDD format */
14 14
15#define ACPI_CA_VERSION 0x2021121715#define ACPI_CA_VERSION 0x20220331
16 16
17#include <acpi/acconfig.h>17#include <acpi/acconfig.h>
18#include <acpi/actypes.h>18#include <acpi/actypes.h>
include/acpi/acrestyp.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acrestyp.h - Defines, types, and structures for resource descriptors4 * Name: acrestyp.h - Defines, types, and structures for resource descriptors
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/actbl.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: actbl.h - Basic ACPI Table Definitions4 * Name: actbl.h - Basic ACPI Table Definitions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/actbl1.h+11−7
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: actbl1.h - Additional ACPI table definitions4 * Name: actbl1.h - Additional ACPI table definitions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
@@ -373,17 +373,21 @@ struct acpi_cedt_cfmws { · 363 unmodified lines
373 u32 interleave_targets[];373 u32 interleave_targets[];
374};374};
375 375
376struct acpi_cedt_cfmws_target_element {
377 u32 interleave_target;
378};
379
376/* Values for Interleave Arithmetic field above */380/* Values for Interleave Arithmetic field above */
377 381
378#define ACPI_CEDT_CFMWS_ARITHMETIC_MODULO (0)382#define ACPI_CEDT_CFMWS_ARITHMETIC_MODULO (0)
379 383
380/* Values for Restrictions field above */384/* Values for Restrictions field above */
381 385
382#define ACPI_CEDT_CFMWS_RESTRICT_TYPE2 (1)386#define ACPI_CEDT_CFMWS_RESTRICT_TYPE2 (1)
383#define ACPI_CEDT_CFMWS_RESTRICT_TYPE3 (1<<1)387#define ACPI_CEDT_CFMWS_RESTRICT_TYPE3 (1<<1)
384#define ACPI_CEDT_CFMWS_RESTRICT_VOLATILE (1<<2)388#define ACPI_CEDT_CFMWS_RESTRICT_VOLATILE (1<<2)
385#define ACPI_CEDT_CFMWS_RESTRICT_PMEM (1<<3)389#define ACPI_CEDT_CFMWS_RESTRICT_PMEM (1<<3)
386#define ACPI_CEDT_CFMWS_RESTRICT_FIXED (1<<4)390#define ACPI_CEDT_CFMWS_RESTRICT_FIXED (1<<4)
387 391
388/*******************************************************************************392/*******************************************************************************
389 *393 *
include/acpi/actbl2.h+138−37
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: actbl2.h - ACPI Table Definitions (tables not in ACPI spec)4 * Name: actbl2.h - ACPI Table Definitions (tables not in ACPI spec)
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
@@ -25,6 +25,7 @@ · 15 unmodified lines
25 * the wrong signature.25 * the wrong signature.
26 */26 */
27#define ACPI_SIG_AGDI "AGDI" /* Arm Generic Diagnostic Dump and Reset Device Interface */27#define ACPI_SIG_AGDI "AGDI" /* Arm Generic Diagnostic Dump and Reset Device Interface */
28#define ACPI_SIG_APMT "APMT" /* Arm Performance Monitoring Unit table */
28#define ACPI_SIG_BDAT "BDAT" /* BIOS Data ACPI Table */29#define ACPI_SIG_BDAT "BDAT" /* BIOS Data ACPI Table */
29#define ACPI_SIG_IORT "IORT" /* IO Remapping Table */30#define ACPI_SIG_IORT "IORT" /* IO Remapping Table */
30#define ACPI_SIG_IVRS "IVRS" /* I/O Virtualization Reporting Structure */31#define ACPI_SIG_IVRS "IVRS" /* I/O Virtualization Reporting Structure */
@@ -258,6 +259,85 @@ struct acpi_table_agdi { · 227 unmodified lines
258 259
259#define ACPI_AGDI_SIGNALING_MODE (1)260#define ACPI_AGDI_SIGNALING_MODE (1)
260 261
262/*******************************************************************************
263 *
264 * APMT - ARM Performance Monitoring Unit Table
265 *
266 * Conforms to:
267 * ARM Performance Monitoring Unit Architecture 1.0 Platform Design Document
268 * ARM DEN0117 v1.0 November 25, 2021
269 *
270 ******************************************************************************/
271
272struct acpi_table_apmt {
273 struct acpi_table_header header; /* Common ACPI table header */
274};
275
276#define ACPI_APMT_NODE_ID_LENGTH 4
277
278/*
279 * APMT subtables
280 */
281struct acpi_apmt_node {
282 u16 length;
283 u8 flags;
284 u8 type;
285 u32 id;
286 u64 inst_primary;
287 u32 inst_secondary;
288 u64 base_address0;
289 u64 base_address1;
290 u32 ovflw_irq;
291 u32 reserved;
292 u32 ovflw_irq_flags;
293 u32 proc_affinity;
294 u32 impl_id;
295};
296
297/* Masks for Flags field above */
298
299#define ACPI_APMT_FLAGS_DUAL_PAGE (1<<0)
300#define ACPI_APMT_FLAGS_AFFINITY (1<<1)
301#define ACPI_APMT_FLAGS_ATOMIC (1<<2)
302
303/* Values for Flags dual page field above */
304
305#define ACPI_APMT_FLAGS_DUAL_PAGE_NSUPP (0<<0)
306#define ACPI_APMT_FLAGS_DUAL_PAGE_SUPP (1<<0)
307
308/* Values for Flags processor affinity field above */
309#define ACPI_APMT_FLAGS_AFFINITY_PROC (0<<1)
310#define ACPI_APMT_FLAGS_AFFINITY_PROC_CONTAINER (1<<1)
311
312/* Values for Flags 64-bit atomic field above */
313#define ACPI_APMT_FLAGS_ATOMIC_NSUPP (0<<2)
314#define ACPI_APMT_FLAGS_ATOMIC_SUPP (1<<2)
315
316/* Values for Type field above */
317
318enum acpi_apmt_node_type {
319 ACPI_APMT_NODE_TYPE_MC = 0x00,
320 ACPI_APMT_NODE_TYPE_SMMU = 0x01,
321 ACPI_APMT_NODE_TYPE_PCIE_ROOT = 0x02,
322 ACPI_APMT_NODE_TYPE_ACPI = 0x03,
323 ACPI_APMT_NODE_TYPE_CACHE = 0x04,
324 ACPI_APMT_NODE_TYPE_COUNT
325};
326
327/* Masks for ovflw_irq_flags field above */
328
329#define ACPI_APMT_OVFLW_IRQ_FLAGS_MODE (1<<0)
330#define ACPI_APMT_OVFLW_IRQ_FLAGS_TYPE (1<<1)
331
332/* Values for ovflw_irq_flags mode field above */
333
334#define ACPI_APMT_OVFLW_IRQ_FLAGS_MODE_LEVEL (0<<0)
335#define ACPI_APMT_OVFLW_IRQ_FLAGS_MODE_EDGE (1<<0)
336
337/* Values for ovflw_irq_flags type field above */
338
339#define ACPI_APMT_OVFLW_IRQ_FLAGS_TYPE_WIRED (0<<1)
340
261/*******************************************************************************341/*******************************************************************************
262 *342 *
263 * BDAT - BIOS Data ACPI Table343 * BDAT - BIOS Data ACPI Table
@@ -277,7 +357,7 @@ struct acpi_table_bdat { · 13 unmodified lines
277 * IORT - IO Remapping Table357 * IORT - IO Remapping Table
278 *358 *
279 * Conforms to "IO Remapping Table System Software on ARM Platforms",359 * Conforms to "IO Remapping Table System Software on ARM Platforms",
280 * Document number: ARM DEN 0049E.b, Feb 2021360 * Document number: ARM DEN 0049E.d, Feb 2022
281 *361 *
282 ******************************************************************************/362 ******************************************************************************/
283 363
@@ -374,7 +454,8 @@ struct acpi_iort_root_complex { · 90 unmodified lines
374 u32 ats_attribute;454 u32 ats_attribute;
375 u32 pci_segment_number;455 u32 pci_segment_number;
376 u8 memory_address_limit; /* Memory address size limit */456 u8 memory_address_limit; /* Memory address size limit */
377 u8 reserved[3]; /* Reserved, must be zero */457 u16 pasid_capabilities; /* PASID Capabilities */
458 u8 reserved[1]; /* Reserved, must be zero */
378};459};
379 460
380/* Masks for ats_attribute field above */461/* Masks for ats_attribute field above */
@@ -383,6 +464,9 @@ struct acpi_iort_root_complex { · 2 unmodified lines
383#define ACPI_IORT_PRI_SUPPORTED (1<<1) /* The root complex PRI support */464#define ACPI_IORT_PRI_SUPPORTED (1<<1) /* The root complex PRI support */
384#define ACPI_IORT_PASID_FWD_SUPPORTED (1<<2) /* The root complex PASID forward support */465#define ACPI_IORT_PASID_FWD_SUPPORTED (1<<2) /* The root complex PASID forward support */
385 466
467/* Masks for pasid_capabilities field above */
468#define ACPI_IORT_PASID_MAX_WIDTH (0x1F) /* Bits 0-4 */
469
386struct acpi_iort_smmu {470struct acpi_iort_smmu {
387 u64 base_address; /* SMMU base address */471 u64 base_address; /* SMMU base address */
388 u64 span; /* Length of memory range */472 u64 span; /* Length of memory range */
@@ -458,6 +542,25 @@ struct acpi_iort_rmr { · 69 unmodified lines
458 u32 rmr_offset;542 u32 rmr_offset;
459};543};
460 544
545/* Masks for Flags field above */
546#define ACPI_IORT_RMR_REMAP_PERMITTED (1)
547#define ACPI_IORT_RMR_ACCESS_PRIVILEGE (1<<1)
548
549/*
550 * Macro to access the Access Attributes in flags field above:
551 * Access Attributes is encoded in bits 9:2
552 */
553#define ACPI_IORT_RMR_ACCESS_ATTRIBUTES(flags) (((flags) >> 2) & 0xFF)
554
555/* Values for above Access Attributes */
556
557#define ACPI_IORT_RMR_ATTR_DEVICE_NGNRNE 0x00
558#define ACPI_IORT_RMR_ATTR_DEVICE_NGNRE 0x01
559#define ACPI_IORT_RMR_ATTR_DEVICE_NGRE 0x02
560#define ACPI_IORT_RMR_ATTR_DEVICE_GRE 0x03
561#define ACPI_IORT_RMR_ATTR_NORMAL_NC 0x04
562#define ACPI_IORT_RMR_ATTR_NORMAL_IWB_OWB 0x05
563
461struct acpi_iort_rmr_desc {564struct acpi_iort_rmr_desc {
462 u64 base_address;565 u64 base_address;
463 u64 length;566 u64 length;
@@ -762,7 +865,8 @@ enum acpi_madt_type { · 298 unmodified lines
762 ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR = 14,865 ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR = 14,
763 ACPI_MADT_TYPE_GENERIC_TRANSLATOR = 15,866 ACPI_MADT_TYPE_GENERIC_TRANSLATOR = 15,
764 ACPI_MADT_TYPE_MULTIPROC_WAKEUP = 16,867 ACPI_MADT_TYPE_MULTIPROC_WAKEUP = 16,
765 ACPI_MADT_TYPE_RESERVED = 17 /* 17 and greater are reserved */868 ACPI_MADT_TYPE_RESERVED = 17, /* 17 to 0x7F are reserved */
869 ACPI_MADT_TYPE_OEM_RESERVED = 0x80 /* 0x80 to 0xFF are reserved for OEM use */
766};870};
767 871
768/*872/*
@@ -978,8 +1082,8 @@ struct acpi_madt_multiproc_wakeup { · 209 unmodified lines
978 u64 base_address;1082 u64 base_address;
979};1083};
980 1084
981#define ACPI_MULTIPROC_WAKEUP_MB_OS_SIZE 20321085#define ACPI_MULTIPROC_WAKEUP_MB_OS_SIZE 2032
982#define ACPI_MULTIPROC_WAKEUP_MB_FIRMWARE_SIZE 20481086#define ACPI_MULTIPROC_WAKEUP_MB_FIRMWARE_SIZE 2048
983 1087
984struct acpi_madt_multiproc_wakeup_mailbox {1088struct acpi_madt_multiproc_wakeup_mailbox {
985 u16 command;1089 u16 command;
@@ -992,6 +1096,12 @@ struct acpi_madt_multiproc_wakeup_mailbox { · 6 unmodified lines
992 1096
993#define ACPI_MP_WAKE_COMMAND_WAKEUP 11097#define ACPI_MP_WAKE_COMMAND_WAKEUP 1
994 1098
1099/* 17: OEM data */
1100
1101struct acpi_madt_oem_data {
1102 u8 oem_data[0];
1103};
1104
995/*1105/*
996 * Common flags fields for MADT subtables1106 * Common flags fields for MADT subtables
997 */1107 */
@@ -1597,7 +1707,7 @@ struct acpi_nhlt_mic_device_specific_config { · 599 unmodified lines
1597 1707
1598/* Values for array_type_ext above */1708/* Values for array_type_ext above */
1599 1709
1600#define ACPI_NHLT_ARRAY_TYPE_RESERVED 0x09 // 9 and below are reserved1710#define ACPI_NHLT_ARRAY_TYPE_RESERVED 0x09 /* 9 and below are reserved */
1601#define ACPI_NHLT_SMALL_LINEAR_2ELEMENT 0x0A1711#define ACPI_NHLT_SMALL_LINEAR_2ELEMENT 0x0A
1602#define ACPI_NHLT_BIG_LINEAR_2ELEMENT 0x0B1712#define ACPI_NHLT_BIG_LINEAR_2ELEMENT 0x0B
1603#define ACPI_NHLT_FIRST_GEOMETRY_LINEAR_4ELEMENT 0x0C1713#define ACPI_NHLT_FIRST_GEOMETRY_LINEAR_4ELEMENT 0x0C
@@ -1617,17 +1727,17 @@ struct acpi_nhlt_vendor_mic_count { · 13 unmodified lines
1617struct acpi_nhlt_vendor_mic_config {1727struct acpi_nhlt_vendor_mic_config {
1618 u8 type;1728 u8 type;
1619 u8 panel;1729 u8 panel;
1620 u16 speaker_position_distance; // mm1730 u16 speaker_position_distance; /* mm */
1621 u16 horizontal_offset; // mm1731 u16 horizontal_offset; /* mm */
1622 u16 vertical_offset; // mm1732 u16 vertical_offset; /* mm */
1623 u8 frequency_low_band; // 5*hz1733 u8 frequency_low_band; /* 5*Hz */
1624 u8 frequency_high_band; // 500*hz1734 u8 frequency_high_band; /* 500*Hz */
1625 u16 direction_angle; // -180 - + 1801735 u16 direction_angle; /* -180 - + 180 */
1626 u16 elevation_angle; // -180 - + 1801736 u16 elevation_angle; /* -180 - + 180 */
1627 u16 work_vertical_angle_begin; // -180 - + 180 with 2 deg step1737 u16 work_vertical_angle_begin; /* -180 - + 180 with 2 deg step */
1628 u16 work_vertical_angle_end; // -180 - + 180 with 2 deg step1738 u16 work_vertical_angle_end; /* -180 - + 180 with 2 deg step */
1629 u16 work_horizontal_angle_begin; // -180 - + 180 with 2 deg step1739 u16 work_horizontal_angle_begin; /* -180 - + 180 with 2 deg step */
1630 u16 work_horizontal_angle_end; // -180 - + 180 with 2 deg step1740 u16 work_horizontal_angle_end; /* -180 - + 180 with 2 deg step */
1631};1741};
1632 1742
1633/* Values for Type field above */1743/* Values for Type field above */
@@ -1638,9 +1748,9 @@ struct acpi_nhlt_vendor_mic_config { · 4 unmodified lines
1638#define ACPI_NHLT_MIC_SUPER_CARDIOID 31748#define ACPI_NHLT_MIC_SUPER_CARDIOID 3
1639#define ACPI_NHLT_MIC_HYPER_CARDIOID 41749#define ACPI_NHLT_MIC_HYPER_CARDIOID 4
1640#define ACPI_NHLT_MIC_8_SHAPED 51750#define ACPI_NHLT_MIC_8_SHAPED 5
1641#define ACPI_NHLT_MIC_RESERVED6 6 // 6 is reserved1751#define ACPI_NHLT_MIC_RESERVED6 6 /* 6 is reserved */
1642#define ACPI_NHLT_MIC_VENDOR_DEFINED 71752#define ACPI_NHLT_MIC_VENDOR_DEFINED 7
1643#define ACPI_NHLT_MIC_RESERVED 8 // 8 and above are reserved1753#define ACPI_NHLT_MIC_RESERVED 8 /* 8 and above are reserved */
1644 1754
1645/* Values for Panel field above */1755/* Values for Panel field above */
1646 1756
@@ -1650,12 +1760,12 @@ struct acpi_nhlt_vendor_mic_config { · 3 unmodified lines
1650#define ACPI_NHLT_MIC_POSITION_RIGHT 31760#define ACPI_NHLT_MIC_POSITION_RIGHT 3
1651#define ACPI_NHLT_MIC_POSITION_FRONT 41761#define ACPI_NHLT_MIC_POSITION_FRONT 4
1652#define ACPI_NHLT_MIC_POSITION_BACK 51762#define ACPI_NHLT_MIC_POSITION_BACK 5
1653#define ACPI_NHLT_MIC_POSITION_RESERVED 6 // 6 and above are reserved1763#define ACPI_NHLT_MIC_POSITION_RESERVED 6 /* 6 and above are reserved */
1654 1764
1655struct acpi_nhlt_vendor_mic_device_specific_config {1765struct acpi_nhlt_vendor_mic_device_specific_config {
1656 struct acpi_nhlt_mic_device_specific_config mic_array_device_config;1766 struct acpi_nhlt_mic_device_specific_config mic_array_device_config;
1657 u8 number_of_microphones;1767 u8 number_of_microphones;
1658 struct acpi_nhlt_vendor_mic_config mic_config[]; // indexed by number_of_microphones1768 struct acpi_nhlt_vendor_mic_config mic_config[]; /* Indexed by number_of_microphones */
1659};1769};
1660 1770
1661/* Microphone SNR and Sensitivity extension */1771/* Microphone SNR and Sensitivity extension */
@@ -1668,32 +1778,23 @@ struct acpi_nhlt_mic_snr_sensitivity_extension { · 6 unmodified lines
1668/* Render device with feedback */1778/* Render device with feedback */
1669 1779
1670struct acpi_nhlt_render_feedback_device_specific_config {1780struct acpi_nhlt_render_feedback_device_specific_config {
1671 u8 feedback_virtual_slot; // render slot in case of capture1781 u8 feedback_virtual_slot; /* Render slot in case of capture */
1672 u16 feedback_channels; // informative only1782 u16 feedback_channels; /* Informative only */
1673 u16 feedback_valid_bits_per_sample;1783 u16 feedback_valid_bits_per_sample;
1674};1784};
1675 1785
1676/* Linux-specific structures */1786/* Non documented structures */
1677 1787
1678struct acpi_nhlt_linux_specific_count {1788struct acpi_nhlt_device_info_count {
1679 u8 structure_count;1789 u8 structure_count;
1680};1790};
1681 1791
1682struct acpi_nhlt_linux_specific_data {1792struct acpi_nhlt_device_info {
1683 u8 device_id[16];1793 u8 device_id[16];
1684 u8 device_instance_id;1794 u8 device_instance_id;
1685 u8 device_port_id;1795 u8 device_port_id;
1686};1796};
1687 1797
1688struct acpi_nhlt_linux_specific_data_b {
1689 u8 specific_data[18];
1690};
1691
1692struct acpi_nhlt_table_terminator {
1693 u32 terminator_value;
1694 u32 terminator_signature;
1695};
1696
1697/*******************************************************************************1798/*******************************************************************************
1698 *1799 *
1699 * PCCT - Platform Communications Channel Table (ACPI 5.0)1800 * PCCT - Platform Communications Channel Table (ACPI 5.0)
@@ -2319,7 +2420,7 @@ struct acpi_table_rgrt { · 619 unmodified lines
2319 u16 version;2420 u16 version;
2320 u8 image_type;2421 u8 image_type;
2321 u8 reserved;2422 u8 reserved;
2322 u8 image[0];2423 u8 image[];
2323};2424};
2324 2425
2325/* image_type values */2426/* image_type values */
include/acpi/actbl3.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: actbl3.h - ACPI Table Definitions4 * Name: actbl3.h - ACPI Table Definitions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/actypes.h+10−9
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: actypes.h - Common data types for the entire ACPI subsystem4 * Name: actypes.h - Common data types for the entire ACPI subsystem
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
@@ -539,14 +539,14 @@ typedef u64 acpi_integer; · 529 unmodified lines
539 * Can be used with access_width of struct acpi_generic_address and access_size of539 * Can be used with access_width of struct acpi_generic_address and access_size of
540 * struct acpi_resource_generic_register.540 * struct acpi_resource_generic_register.
541 */541 */
542#define ACPI_ACCESS_BIT_SHIFT 2542#define ACPI_ACCESS_BIT_SHIFT 2
543#define ACPI_ACCESS_BYTE_SHIFT -1543#define ACPI_ACCESS_BYTE_SHIFT -1
544#define ACPI_ACCESS_BIT_MAX (31 - ACPI_ACCESS_BIT_SHIFT)544#define ACPI_ACCESS_BIT_MAX (31 - ACPI_ACCESS_BIT_SHIFT)
545#define ACPI_ACCESS_BYTE_MAX (31 - ACPI_ACCESS_BYTE_SHIFT)545#define ACPI_ACCESS_BYTE_MAX (31 - ACPI_ACCESS_BYTE_SHIFT)
546#define ACPI_ACCESS_BIT_DEFAULT (8 - ACPI_ACCESS_BIT_SHIFT)546#define ACPI_ACCESS_BIT_DEFAULT (8 - ACPI_ACCESS_BIT_SHIFT)
547#define ACPI_ACCESS_BYTE_DEFAULT (8 - ACPI_ACCESS_BYTE_SHIFT)547#define ACPI_ACCESS_BYTE_DEFAULT (8 - ACPI_ACCESS_BYTE_SHIFT)
548#define ACPI_ACCESS_BIT_WIDTH(size) (1 << ((size) + ACPI_ACCESS_BIT_SHIFT))548#define ACPI_ACCESS_BIT_WIDTH(size) (1 << ((size) + ACPI_ACCESS_BIT_SHIFT))
549#define ACPI_ACCESS_BYTE_WIDTH(size) (1 << ((size) + ACPI_ACCESS_BYTE_SHIFT))549#define ACPI_ACCESS_BYTE_WIDTH(size) (1 << ((size) + ACPI_ACCESS_BYTE_SHIFT))
550 550
551/*******************************************************************************551/*******************************************************************************
552 *552 *
@@ -1303,6 +1303,7 @@ typedef enum { · 750 unmodified lines
1303#define ACPI_OSI_WIN_10_RS5 0x131303#define ACPI_OSI_WIN_10_RS5 0x13
1304#define ACPI_OSI_WIN_10_19H1 0x141304#define ACPI_OSI_WIN_10_19H1 0x14
1305#define ACPI_OSI_WIN_10_20H1 0x151305#define ACPI_OSI_WIN_10_20H1 0x15
1306#define ACPI_OSI_WIN_11 0x16
1306 1307
1307/* Definitions of getopt */1308/* Definitions of getopt */
1308 1309
include/acpi/acuuid.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acuuid.h - ACPI-related UUID/GUID definitions4 * Name: acuuid.h - ACPI-related UUID/GUID definitions
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/platform/acenv.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acenv.h - Host and compiler configuration4 * Name: acenv.h - Host and compiler configuration
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/platform/acenvex.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acenvex.h - Extra host and compiler configuration4 * Name: acenvex.h - Extra host and compiler configuration
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/platform/acgcc.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acgcc.h - GCC specific defines, etc.4 * Name: acgcc.h - GCC specific defines, etc.
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/platform/acgccex.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acgccex.h - Extra GCC specific defines, etc.4 * Name: acgccex.h - Extra GCC specific defines, etc.
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/platform/acintel.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: acintel.h - VC specific defines, etc.4 * Name: acintel.h - VC specific defines, etc.
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/platform/aclinux.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: aclinux.h - OS specific defines, etc. for Linux4 * Name: aclinux.h - OS specific defines, etc. for Linux
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
include/acpi/platform/aclinuxex.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Name: aclinuxex.h - Extra OS specific defines, etc. for Linux4 * Name: aclinuxex.h - Extra OS specific defines, etc. for Linux
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
tools/power/acpi/common/cmfsize.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: cmfsize - Common get file size function4 * Module Name: cmfsize - Common get file size function
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
tools/power/acpi/common/getopt.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: getopt4 * Module Name: getopt
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: oslinuxtbl - Linux OSL for obtaining ACPI tables4 * Module Name: oslinuxtbl - Linux OSL for obtaining ACPI tables
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
tools/power/acpi/os_specific/service_layers/osunixdir.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: osunixdir - Unix directory access interfaces4 * Module Name: osunixdir - Unix directory access interfaces
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
tools/power/acpi/os_specific/service_layers/osunixmap.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: osunixmap - Unix OSL for file mappings4 * Module Name: osunixmap - Unix OSL for file mappings
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
tools/power/acpi/os_specific/service_layers/osunixxf.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: osunixxf - UNIX OSL interfaces4 * Module Name: osunixxf - UNIX OSL interfaces
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
tools/power/acpi/tools/acpidump/acpidump.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: acpidump.h - Include file for acpi_dump utility4 * Module Name: acpidump.h - Include file for acpi_dump utility
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
tools/power/acpi/tools/acpidump/apdump.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: apdump - Dump routines for ACPI tables (acpidump)4 * Module Name: apdump - Dump routines for ACPI tables (acpidump)
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
tools/power/acpi/tools/acpidump/apfiles.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: apfiles - File-related functions for acpidump utility4 * Module Name: apfiles - File-related functions for acpidump utility
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9
tools/power/acpi/tools/acpidump/apmain.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3 *3 *
4 * Module Name: apmain - Main module for the acpidump utility4 * Module Name: apmain - Main module for the acpidump utility
5 *5 *
6 * Copyright (C) 2000 - 2021, Intel Corp.6 * Copyright (C) 2000 - 2022, Intel Corp.
7 *7 *
8 *****************************************************************************/8 *****************************************************************************/
9 9