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
33 *
44 * Module Name: acapps - common include for ACPI applications/tools
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -17,7 +17,7 @@ · 7 unmodified lines
1717 /* Common info for tool signons */
1818
1919 #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"
2121
2222 #if ACPI_MACHINE_WIDTH == 64
2323 #define ACPI_WIDTH " (64-bit version)"
drivers/acpi/acpica/accommon.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: accommon.h - Common include files for generation of ACPICA source
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acconvert.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: acapps - common include for ACPI applications/tools
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acdebug.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acdebug.h - ACPI/AML debugger
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acdispat.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acdispat.h - dispatcher (parser to interpreter interface)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acevents.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acevents.h - Event subcomponent prototypes and defines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acglobal.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acglobal.h - Declarations for global variables
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/achware.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: achware.h -- hardware specific interfaces
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acinterp.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acinterp.h - Interpreter subcomponent prototypes and defines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/aclocal.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: aclocal.h - Internal data types used across the ACPI subsystem
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acmacros.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acmacros.h - C macros for the entire subsystem.
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acnamesp.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acnamesp.h - Namespace subcomponent prototypes and defines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acobject.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acobject.h - Definition of union acpi_operand_object (Internal object only)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acopcode.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acopcode.h - AML opcode information for the AML parser and interpreter
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acparser.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: acparser.h - AML Parser subcomponent prototypes and defines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acpredef.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acpredef - Information table for ACPI predefined methods and objects
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acresrc.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acresrc.h - Resource Manager function prototypes
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acstruct.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acstruct.h - Internal structs
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/actables.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: actables.h - ACPI table management
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/acutils.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acutils.h -- prototypes for the common (subsystem-wide) procedures
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/amlcode.h+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
55 * Declarations and definitions contained herein are derived
66 * directly from the ACPI specification.
77 *
8− * Copyright (C) 2000 - 2021, Intel Corp.
8+ * Copyright (C) 2000 - 2022, Intel Corp.
99 *
1010 *****************************************************************************/
1111
drivers/acpi/acpica/amlresrc.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: amlresrc.h - AML resource descriptors
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dbhistry.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dbhistry - debugger HISTORY command
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dsargs.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 * Module Name: dsargs - Support for execution of dynamic arguments for static
55 * objects (regions, fields, buffer fields, etc.)
66 *
7− * Copyright (C) 2000 - 2021, Intel Corp.
7+ * Copyright (C) 2000 - 2022, Intel Corp.
88 *
99 *****************************************************************************/
1010
drivers/acpi/acpica/dscontrol.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 * Module Name: dscontrol - Support for execution control opcodes -
55 * if/else/while/return
66 *
7− * Copyright (C) 2000 - 2021, Intel Corp.
7+ * Copyright (C) 2000 - 2022, Intel Corp.
88 *
99 *****************************************************************************/
1010
drivers/acpi/acpica/dsdebug.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dsdebug - Parser/Interpreter interface - debugging
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dsfield.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dsfield - Dispatcher field routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dsinit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dsinit - Object initialization namespace walk
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dsmethod.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dsmethod - Parser/Interpreter interface - control method parsing
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dsobject.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dsobject - Dispatcher object management routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dsopcode.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dsopcode - Dispatcher support for regions and fields
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dspkginit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dspkginit - Completion of deferred package initialization
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dswexec.c+2−2
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 * Module Name: dswexec - Dispatcher method execution callbacks;
55 * dispatch to interpreter.
66 *
7− * Copyright (C) 2000 - 2021, Intel Corp.
7+ * Copyright (C) 2000 - 2022, Intel Corp.
88 *
99 *****************************************************************************/
1010
@@ -30,7 +30,7 @@ static acpi_execute_op acpi_gbl_op_type_dispatch[] = { · 19 unmodified lines
3030 acpi_ex_opcode_0A_0T_1R,
3131 acpi_ex_opcode_1A_0T_0R,
3232 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) */
3434 acpi_ex_opcode_1A_1T_1R,
3535 acpi_ex_opcode_2A_0T_0R,
3636 acpi_ex_opcode_2A_0T_1R,
drivers/acpi/acpica/dswload.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dswload - Dispatcher first pass namespace load callbacks
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dswload2.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dswload2 - Dispatcher second pass namespace load callbacks
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dswscope.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dswscope - Scope stack manipulation
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/dswstate.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: dswstate - Dispatcher parse tree walk management routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evevent.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evevent - Fixed Event handling and dispatch
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evglock.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evglock - Global Lock support
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evgpe.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evgpe - General Purpose Event handling and dispatch
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evgpeblk.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evgpeblk - GPE block creation and initialization.
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evgpeinit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evgpeinit - System GPE initialization and update
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evgpeutil.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evgpeutil - GPE utilities
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evhandler.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evhandler - Support for Address Space handlers
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evmisc.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evmisc - Miscellaneous event manager support functions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evregion.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evregion - Operation Region support
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evrgnini.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evrgnini- ACPI address_space (op_region) init
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evxface.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evxface - External interfaces for ACPI events
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evxfevnt.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evxfevnt - External Interfaces, ACPI event disable/enable
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evxfgpe.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: evxfgpe - External Interfaces for General Purpose Events (GPEs)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/evxfregn.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 * Module Name: evxfregn - External Interfaces, ACPI Operation Regions and
55 * Address Spaces.
66 *
7− * Copyright (C) 2000 - 2021, Intel Corp.
7+ * Copyright (C) 2000 - 2022, Intel Corp.
88 *
99 *****************************************************************************/
1010
drivers/acpi/acpica/exconcat.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exconcat - Concatenate-type AML operators
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exconfig.c+37−24
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exconfig - Namespace reconfiguration (Load/Unload opcodes)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -87,11 +87,21 @@ acpi_ex_load_table_op(struct acpi_walk_state *walk_state, · 77 unmodified lines
8787 struct acpi_namespace_node *parent_node;
8888 struct acpi_namespace_node *start_node;
8989 struct acpi_namespace_node *parameter_node = NULL;
90+ union acpi_operand_object *return_obj;
9091 union acpi_operand_object *ddb_handle;
9192 u32 table_index;
9293
9394 ACPI_FUNCTION_TRACE(ex_load_table_op);
9495
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+
95105 /* Find the ACPI table in the RSDT/XSDT */
96106
97107 acpi_ex_exit_interpreter();
@@ -106,12 +116,6 @@ acpi_ex_load_table_op(struct acpi_walk_state *walk_state, · 8 unmodified lines
106116
107117 /* Table not found, return an Integer=0 and AE_OK */
108118
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;
115119 return_ACPI_STATUS(AE_OK);
116120 }
117121
@@ -198,7 +202,13 @@ acpi_ex_load_table_op(struct acpi_walk_state *walk_state, · 80 unmodified lines
198202 }
199203 }
200204
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;
202212 return_ACPI_STATUS(status);
203213 }
204214
@@ -249,7 +259,7 @@ acpi_ex_region_read(union acpi_operand_object *obj_desc, u32 length, u8 *buffer) · 44 unmodified lines
249259 *
250260 * PARAMETERS: obj_desc - Region or Buffer/Field where the table will be
251261 * obtained
252− * target - Where a handle to the table will be stored
262+ * target - Where the status of the load will be stored
253263 * walk_state - Current state
254264 *
255265 * RETURN: Status
@@ -278,6 +288,20 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, · 22 unmodified lines
278288
279289 ACPI_FUNCTION_TRACE(ex_load_op);
280290
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+
281305 /* Source Object can be either an op_region or a Buffer/Field */
282306
283307 switch (obj_desc->common.type) {
@@ -430,9 +454,6 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, · 146 unmodified lines
430454 */
431455 status = acpi_ex_add_table(table_index, &ddb_handle);
432456 if (ACPI_FAILURE(status)) {
433−
434− /* On error, table_ptr was deallocated above */
435−
436457 return_ACPI_STATUS(status);
437458 }
438459
@@ -442,21 +463,13 @@ acpi_ex_load_op(union acpi_operand_object *obj_desc, · 3 unmodified lines
442463 acpi_ns_initialize_objects();
443464 acpi_ex_enter_interpreter();
444465
445− /* Store the ddb_handle into the Target operand */
466+ /* Remove the reference to ddb_handle created by acpi_ex_add_table above */
446467
447− status = acpi_ex_store(ddb_handle, target, walk_state);
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− }
468+ acpi_ut_remove_reference(ddb_handle);
456469
457− /* Remove the reference by added by acpi_ex_store above */
470+ /* Return -1 (non-zero) indicates success */
458471
459− acpi_ut_remove_reference(ddb_handle);
472+ target->integer.value = 0xFFFFFFFFFFFFFFFF;
460473 return_ACPI_STATUS(status);
461474 }
462475
drivers/acpi/acpica/exconvrt.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exconvrt - Object conversion routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/excreate.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: excreate - Named object creation
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exdebug.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exdebug - Support for stores to the AML Debug Object
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exdump.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exdump - Interpreter debug output routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exfield.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exfield - AML execution - field_unit read/write
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exfldio.c+2−2
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exfldio - Aml Field I/O
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -104,7 +104,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc, · 94 unmodified lines
104104 #ifdef ACPI_UNDER_DEVELOPMENT
105105 /*
106106 * 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)
108108 */
109109 if (!(obj_desc->common.flags & AOPOBJ_DATA_VALID)) {
110110 if (ACPI_FAILURE(status)) {
drivers/acpi/acpica/exmisc.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exmisc - ACPI AML (p-code) execution - specific opcodes
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exmutex.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exmutex - ASL Mutex Acquire/Release functions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exnames.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exnames - interpreter/scanner name load/execute
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exoparg1.c+22−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exoparg1 - AML execution - opcodes with 1 argument
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -163,6 +163,7 @@ acpi_status acpi_ex_opcode_1A_0T_0R(struct acpi_walk_state *walk_state) · 153 unmodified lines
163163 return_ACPI_STATUS(status);
164164 }
165165
166+#ifdef _OBSOLETE_CODE /* Was originally used for Load() operator */
166167 /*******************************************************************************
167168 *
168169 * 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
187188 /* Examine the AML opcode */
188189
189190 switch (walk_state->opcode) {
191+#ifdef _OBSOLETE_CODE
190192 case AML_LOAD_OP:
191193
192194 status = acpi_ex_load_op(operand[0], operand[1], walk_state);
193195 break;
196+#endif
194197
195198 default: /* Unknown opcode */
196199
@@ -204,6 +207,7 @@ cleanup: · 7 unmodified lines
204207
205208 return_ACPI_STATUS(status);
206209 }
210+#endif
207211
208212 /*******************************************************************************
209213 *
@@ -215,6 +219,8 @@ cleanup: · 5 unmodified lines
215219 *
216220 * DESCRIPTION: Execute opcode with one argument, one target, and a
217221 * return value.
222+ * January 2022: Added Load operator, with new ACPI 6.4
223+ * semantics.
218224 *
219225 ******************************************************************************/
220226
@@ -239,6 +245,7 @@ acpi_status acpi_ex_opcode_1A_1T_1R(struct acpi_walk_state *walk_state) · 18 unmodified lines
239245 case AML_FIND_SET_LEFT_BIT_OP:
240246 case AML_FIND_SET_RIGHT_BIT_OP:
241247 case AML_FROM_BCD_OP:
248+ case AML_LOAD_OP:
242249 case AML_TO_BCD_OP:
243250 case AML_CONDITIONAL_REF_OF_OP:
244251
@@ -338,6 +345,20 @@ acpi_status acpi_ex_opcode_1A_1T_1R(struct acpi_walk_state *walk_state) · 93 unmodified lines
338345 }
339346 break;
340347
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+
341362 case AML_TO_BCD_OP: /* to_bcd (Operand, Result) */
342363
343364 return_desc->integer.value = 0;
drivers/acpi/acpica/exoparg2.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exoparg2 - AML execution - opcodes with 2 arguments
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exoparg3.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exoparg3 - AML execution - opcodes with 3 arguments
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exoparg6.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exoparg6 - AML execution - opcodes with 6 arguments
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exprep.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exprep - ACPI AML field prep utilities
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exregion.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exregion - ACPI default op_region (address space) handlers
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exresnte.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exresnte - AML Interpreter object resolution
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exresolv.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exresolv - AML Interpreter object resolution
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exresop.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exresop - AML Interpreter operand/object resolution
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exserial.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exserial - field_unit support for serial address spaces
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exstore.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exstore - AML Interpreter object store support
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exstoren.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 * Module Name: exstoren - AML Interpreter object store support,
55 * Store to Node (namespace object)
66 *
7− * Copyright (C) 2000 - 2021, Intel Corp.
7+ * Copyright (C) 2000 - 2022, Intel Corp.
88 *
99 *****************************************************************************/
1010
drivers/acpi/acpica/exstorob.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exstorob - AML object store support, store to object
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exsystem.c+17−12
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exsystem - Interface to OS services
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -107,7 +107,7 @@ acpi_status acpi_ex_system_wait_mutex(acpi_mutex mutex, u16 timeout) · 97 unmodified lines
107107 *
108108 * FUNCTION: acpi_ex_system_do_stall
109109 *
110− * PARAMETERS: how_long - The amount of time to stall,
110+ * PARAMETERS: how_long_us - The amount of time to stall,
111111 * in microseconds
112112 *
113113 * RETURN: Status
@@ -120,24 +120,29 @@ acpi_status acpi_ex_system_wait_mutex(acpi_mutex mutex, u16 timeout) · 6 unmodified lines
120120 *
121121 ******************************************************************************/
122122
123−acpi_status acpi_ex_system_do_stall(u32 how_long)
123+acpi_status acpi_ex_system_do_stall(u32 how_long_us)
124124 {
125125 acpi_status status = AE_OK;
126126
127127 ACPI_FUNCTION_ENTRY();
128128
129− if (how_long > 255) { /* 255 microseconds */
129+ if (how_long_us > 255) {
130130 /*
131− * Longer than 255 usec, this is an error
131+ * Longer than 255 microseconds, this is an error
132132 *
133133 * (ACPI specifies 100 usec as max, but this gives some slack in
134134 * order to support existing BIOSs)
135135 */
136136 ACPI_ERROR((AE_INFO,
137− "Time parameter is too large (%u)", how_long));
137+ "Time parameter is too large (%u)", how_long_us));
138138 status = AE_AML_OPERAND_VALUE;
139139 } 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);
141146 }
142147
143148 return (status);
@@ -147,7 +152,7 @@ acpi_status acpi_ex_system_do_stall(u32 how_long) · 3 unmodified lines
147152 *
148153 * FUNCTION: acpi_ex_system_do_sleep
149154 *
150− * PARAMETERS: how_long - The amount of time to sleep,
155+ * PARAMETERS: how_long_ms - The amount of time to sleep,
151156 * in milliseconds
152157 *
153158 * RETURN: None
@@ -156,7 +161,7 @@ acpi_status acpi_ex_system_do_stall(u32 how_long) · 2 unmodified lines
156161 *
157162 ******************************************************************************/
158163
159−acpi_status acpi_ex_system_do_sleep(u64 how_long)
164+acpi_status acpi_ex_system_do_sleep(u64 how_long_ms)
160165 {
161166 ACPI_FUNCTION_ENTRY();
162167
@@ -168,11 +173,11 @@ acpi_status acpi_ex_system_do_sleep(u64 how_long) · 5 unmodified lines
168173 * For compatibility with other ACPI implementations and to prevent
169174 * accidental deep sleeps, limit the sleep time to something reasonable.
170175 */
171− if (how_long > ACPI_MAX_SLEEP) {
172− how_long = ACPI_MAX_SLEEP;
176+ if (how_long_ms > ACPI_MAX_SLEEP) {
177+ how_long_ms = ACPI_MAX_SLEEP;
173178 }
174179
175− acpi_os_sleep(how_long);
180+ acpi_os_sleep(how_long_ms);
176181
177182 /* And now we must get the interpreter again */
178183
drivers/acpi/acpica/extrace.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: extrace - Support for interpreter execution tracing
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/exutils.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: exutils - interpreter/scanner utilities
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/hwacpi.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: hwacpi - ACPI Hardware Initialization/Mode Interface
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/hwesleep.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 * Name: hwesleep.c - ACPI Hardware Sleep/Wake Support functions for the
55 * extended FADT-V5 sleep registers.
66 *
7− * Copyright (C) 2000 - 2021, Intel Corp.
7+ * Copyright (C) 2000 - 2022, Intel Corp.
88 *
99 *****************************************************************************/
1010
drivers/acpi/acpica/hwgpe.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: hwgpe - Low level GPE enable/disable/clear functions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
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
446446 * RETURN: Status
447447 *
448448 * DESCRIPTION: Write the PM1 A/B control registers. These registers are
449− * different than than the PM1 A/B status and enable registers
449+ * different than the PM1 A/B status and enable registers
450450 * in that different values can be written to the A/B registers.
451451 * Most notably, the SLP_TYP bits can be different, as per the
452452 * values returned from the _Sx predefined methods.
drivers/acpi/acpica/hwsleep.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 * Name: hwsleep.c - ACPI Hardware Sleep/Wake Support functions for the
55 * original/legacy sleep/PM registers.
66 *
7− * Copyright (C) 2000 - 2021, Intel Corp.
7+ * Copyright (C) 2000 - 2022, Intel Corp.
88 *
99 *****************************************************************************/
1010
drivers/acpi/acpica/hwtimer.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: hwtimer.c - ACPI Power Management Timer Interface
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/hwvalid.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: hwvalid - I/O request validation
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/hwxface.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: hwxface - Public ACPICA hardware interfaces
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/hwxfsleep.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: hwxfsleep.c - ACPI Hardware Sleep/Wake External Interfaces
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/nsarguments.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: nsarguments - Validation of args for ACPI predefined methods
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/nsconvert.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 * Module Name: nsconvert - Object conversions for objects returned by
55 * predefined methods
66 *
7− * Copyright (C) 2000 - 2021, Intel Corp.
7+ * Copyright (C) 2000 - 2022, Intel Corp.
88 *
99 *****************************************************************************/
1010
drivers/acpi/acpica/nsdump.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: nsdump - table dumping routines for debug
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/nsdumpdv.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: nsdump - table dumping routines for debug
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/nsinit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: nsinit - namespace initialization
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/nsload.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: nsload - namespace loading/expanding/contracting procedures
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/nsparse.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: nsparse - namespace interface to AML parser
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/nspredef.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: nspredef - Validation of ACPI predefined methods and objects
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/nsprepkg.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: nsprepkg - Validation of package objects for predefined names
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/nsrepair.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: nsrepair - Repair for objects returned by predefined methods
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/nsrepair2.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 * Module Name: nsrepair2 - Repair for objects returned by specific
55 * predefined methods
66 *
7− * Copyright (C) 2000 - 2021, Intel Corp.
7+ * Copyright (C) 2000 - 2022, Intel Corp.
88 *
99 *****************************************************************************/
1010
drivers/acpi/acpica/nsutils.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 * Module Name: nsutils - Utilities for accessing ACPI namespace, accessing
55 * parents and siblings and Scope manipulation
66 *
7− * Copyright (C) 2000 - 2021, Intel Corp.
7+ * Copyright (C) 2000 - 2022, Intel Corp.
88 *
99 *****************************************************************************/
1010
drivers/acpi/acpica/nswalk.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: nswalk - Functions for walking the ACPI namespace
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/nsxfname.c+1−1
@@ -4,7 +4,7 @@ · 3 unmodified lines
44 * Module Name: nsxfname - Public interfaces to the ACPI subsystem
55 * ACPI Namespace oriented interfaces
66 *
7− * Copyright (C) 2000 - 2021, Intel Corp.
7+ * Copyright (C) 2000 - 2022, Intel Corp.
88 *
99 *****************************************************************************/
1010
drivers/acpi/acpica/psargs.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: psargs - Parse AML opcode arguments
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/psloop.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: psloop - Main AML parse loop
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/psobject.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: psobject - Support for parse objects
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/psopcode.c+3−3
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: psopcode - Parser/Interpreter opcode information table
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -408,8 +408,8 @@ const struct acpi_opcode_info acpi_gbl_aml_op_info[AML_NUM_OPCODES] = { · 398 unmodified lines
408408 AML_HAS_ARGS | AML_NSOBJECT | AML_NSNODE |
409409 AML_DEFER | AML_FIELD | AML_CREATE),
410410 /* 4A */ ACPI_OP("Load", ARGP_LOAD_OP, ARGI_LOAD_OP, ACPI_TYPE_ANY,
411− AML_CLASS_EXECUTE, AML_TYPE_EXEC_1A_1T_0R,
412− AML_FLAGS_EXEC_1A_1T_0R),
411+ AML_CLASS_EXECUTE, AML_TYPE_EXEC_1A_1T_1R,
412+ AML_FLAGS_EXEC_1A_1T_1R),
413413 /* 4B */ ACPI_OP("Stall", ARGP_STALL_OP, ARGI_STALL_OP, ACPI_TYPE_ANY,
414414 AML_CLASS_EXECUTE, AML_TYPE_EXEC_1A_0T_0R,
415415 AML_FLAGS_EXEC_1A_0T_0R),
drivers/acpi/acpica/psopinfo.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: psopinfo - AML opcode information functions and dispatch tables
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/psparse.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: psparse - Parser top level AML parse routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/psscope.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: psscope - Parser scope stack management routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/pstree.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: pstree - Parser op tree manipulation/traversal/search
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/psutils.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: psutils - Parser miscellaneous utilities (Parser only)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/pswalk.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: pswalk - Parser routines to walk parsed op tree(s)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/psxface.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: psxface - Parser external interfaces
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/tbdata.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: tbdata - Table manager data structure functions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/tbfadt.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: tbfadt - FADT table utilities
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/tbfind.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: tbfind - find table
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/tbinstal.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: tbinstal - ACPI table installation and removal
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/tbprint.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: tbprint - Table output utilities
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/tbutils.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: tbutils - ACPI Table utilities
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/tbxface.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: tbxface - ACPI table-oriented external interfaces
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/tbxfload.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: tbxfload - Table load/unload external interfaces
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/tbxfroot.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: tbxfroot - Find the root ACPI table (RSDT)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utaddress.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utaddress - op_region address range check
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utalloc.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utalloc - local memory allocation routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utascii.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utascii - Utility ascii functions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utbuffer.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utbuffer - Buffer dump routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utcache.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utcache - local cache allocation routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utcopy.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utcopy - Internal to external object translation utilities
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utdebug.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utdebug - Debug print/trace routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utdecode.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utdecode - Utility decoding routines (value-to-string)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/uteval.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: uteval - Object evaluation
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utglobal.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utglobal - Global variables for the ACPI subsystem
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/uthex.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: uthex -- Hex/ASCII support functions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utids.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utids - support for device Ids - HID, UID, CID, SUB, CLS
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utinit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utinit - Common ACPI subsystem initialization
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utlock.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utlock - Reader/Writer lock interfaces
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utobject.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utobject - ACPI object create/delete/size/cache routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utosi.c+2−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utosi - Support for the _OSI predefined control method
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -74,6 +74,7 @@ static struct acpi_interface_info acpi_default_supported_interfaces[] = { · 64 unmodified lines
7474 {"Windows 2018.2", NULL, 0, ACPI_OSI_WIN_10_RS5}, /* Windows 10 version 1809 - Added 11/2018 */
7575 {"Windows 2019", NULL, 0, ACPI_OSI_WIN_10_19H1}, /* Windows 10 version 1903 - Added 08/2019 */
7676 {"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 */
7778
7879 /* Feature Group Strings */
7980
drivers/acpi/acpica/utpredef.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utpredef - support functions for predefined names
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utprint.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utprint - Formatted printing routines
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/uttrack.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: uttrack - Memory allocation tracking routines (debug only)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utuuid.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utuuid -- UUID support functions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utxface.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utxface - External interfaces, miscellaneous utility functions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
drivers/acpi/acpica/utxfinit.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: utxfinit - External interfaces for ACPICA initialization
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acbuffer.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acbuffer.h - Support for buffers returned by ACPI predefined names
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acconfig.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acconfig.h - Global configuration constants
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acexcep.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acexcep.h - Exception codes returned by the ACPI subsystem
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acnames.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acnames.h - Global names and strings
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acoutput.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acoutput.h -- debug output
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acpi.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acpi.h - Master public include file used to interface to ACPICA
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/acpiosxf.h+1−1
@@ -5,7 +5,7 @@ · 4 unmodified lines
55 * interfaces must be implemented by OSL to interface the
66 * ACPI components to the host operating system.
77 *
8− * Copyright (C) 2000 - 2021, Intel Corp.
8+ * Copyright (C) 2000 - 2022, Intel Corp.
99 *
1010 *****************************************************************************/
1111
include/acpi/acpixf.h+2−2
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acpixf.h - External interfaces to the ACPI subsystem
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -12,7 +12,7 @@ · 2 unmodified lines
1212
1313 /* Current ACPICA subsystem version in YYYYMMDD format */
1414
15−#define ACPI_CA_VERSION 0x20211217
15+#define ACPI_CA_VERSION 0x20220331
1616
1717 #include <acpi/acconfig.h>
1818 #include <acpi/actypes.h>
include/acpi/acrestyp.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acrestyp.h - Defines, types, and structures for resource descriptors
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/actbl.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: actbl.h - Basic ACPI Table Definitions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/actbl1.h+11−7
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: actbl1.h - Additional ACPI table definitions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -373,17 +373,21 @@ struct acpi_cedt_cfmws { · 363 unmodified lines
373373 u32 interleave_targets[];
374374 };
375375
376+struct acpi_cedt_cfmws_target_element {
377+ u32 interleave_target;
378+};
379+
376380 /* Values for Interleave Arithmetic field above */
377381
378−#define ACPI_CEDT_CFMWS_ARITHMETIC_MODULO (0)
382+#define ACPI_CEDT_CFMWS_ARITHMETIC_MODULO (0)
379383
380384 /* Values for Restrictions field above */
381385
382−#define ACPI_CEDT_CFMWS_RESTRICT_TYPE2 (1)
383−#define ACPI_CEDT_CFMWS_RESTRICT_TYPE3 (1<<1)
384−#define ACPI_CEDT_CFMWS_RESTRICT_VOLATILE (1<<2)
385−#define ACPI_CEDT_CFMWS_RESTRICT_PMEM (1<<3)
386−#define ACPI_CEDT_CFMWS_RESTRICT_FIXED (1<<4)
386+#define ACPI_CEDT_CFMWS_RESTRICT_TYPE2 (1)
387+#define ACPI_CEDT_CFMWS_RESTRICT_TYPE3 (1<<1)
388+#define ACPI_CEDT_CFMWS_RESTRICT_VOLATILE (1<<2)
389+#define ACPI_CEDT_CFMWS_RESTRICT_PMEM (1<<3)
390+#define ACPI_CEDT_CFMWS_RESTRICT_FIXED (1<<4)
387391
388392 /*******************************************************************************
389393 *
include/acpi/actbl2.h+138−37
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: actbl2.h - ACPI Table Definitions (tables not in ACPI spec)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -25,6 +25,7 @@ · 15 unmodified lines
2525 * the wrong signature.
2626 */
2727 #define ACPI_SIG_AGDI "AGDI" /* Arm Generic Diagnostic Dump and Reset Device Interface */
28+#define ACPI_SIG_APMT "APMT" /* Arm Performance Monitoring Unit table */
2829 #define ACPI_SIG_BDAT "BDAT" /* BIOS Data ACPI Table */
2930 #define ACPI_SIG_IORT "IORT" /* IO Remapping Table */
3031 #define ACPI_SIG_IVRS "IVRS" /* I/O Virtualization Reporting Structure */
@@ -258,6 +259,85 @@ struct acpi_table_agdi { · 227 unmodified lines
258259
259260 #define ACPI_AGDI_SIGNALING_MODE (1)
260261
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+
272+struct 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+ */
281+struct 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+
318+enum 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+
261341 /*******************************************************************************
262342 *
263343 * BDAT - BIOS Data ACPI Table
@@ -277,7 +357,7 @@ struct acpi_table_bdat { · 13 unmodified lines
277357 * IORT - IO Remapping Table
278358 *
279359 * Conforms to "IO Remapping Table System Software on ARM Platforms",
280− * Document number: ARM DEN 0049E.b, Feb 2021
360+ * Document number: ARM DEN 0049E.d, Feb 2022
281361 *
282362 ******************************************************************************/
283363
@@ -374,7 +454,8 @@ struct acpi_iort_root_complex { · 90 unmodified lines
374454 u32 ats_attribute;
375455 u32 pci_segment_number;
376456 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 */
378459 };
379460
380461 /* Masks for ats_attribute field above */
@@ -383,6 +464,9 @@ struct acpi_iort_root_complex { · 2 unmodified lines
383464 #define ACPI_IORT_PRI_SUPPORTED (1<<1) /* The root complex PRI support */
384465 #define ACPI_IORT_PASID_FWD_SUPPORTED (1<<2) /* The root complex PASID forward support */
385466
467+/* Masks for pasid_capabilities field above */
468+#define ACPI_IORT_PASID_MAX_WIDTH (0x1F) /* Bits 0-4 */
469+
386470 struct acpi_iort_smmu {
387471 u64 base_address; /* SMMU base address */
388472 u64 span; /* Length of memory range */
@@ -458,6 +542,25 @@ struct acpi_iort_rmr { · 69 unmodified lines
458542 u32 rmr_offset;
459543 };
460544
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+
461564 struct acpi_iort_rmr_desc {
462565 u64 base_address;
463566 u64 length;
@@ -762,7 +865,8 @@ enum acpi_madt_type { · 298 unmodified lines
762865 ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR = 14,
763866 ACPI_MADT_TYPE_GENERIC_TRANSLATOR = 15,
764867 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 */
766870 };
767871
768872 /*
@@ -978,8 +1082,8 @@ struct acpi_madt_multiproc_wakeup { · 209 unmodified lines
9781082 u64 base_address;
9791083 };
9801084
981−#define ACPI_MULTIPROC_WAKEUP_MB_OS_SIZE 2032
982−#define ACPI_MULTIPROC_WAKEUP_MB_FIRMWARE_SIZE 2048
1085+#define ACPI_MULTIPROC_WAKEUP_MB_OS_SIZE 2032
1086+#define ACPI_MULTIPROC_WAKEUP_MB_FIRMWARE_SIZE 2048
9831087
9841088 struct acpi_madt_multiproc_wakeup_mailbox {
9851089 u16 command;
@@ -992,6 +1096,12 @@ struct acpi_madt_multiproc_wakeup_mailbox { · 6 unmodified lines
9921096
9931097 #define ACPI_MP_WAKE_COMMAND_WAKEUP 1
9941098
1099+/* 17: OEM data */
1100+
1101+struct acpi_madt_oem_data {
1102+ u8 oem_data[0];
1103+};
1104+
9951105 /*
9961106 * Common flags fields for MADT subtables
9971107 */
@@ -1597,7 +1707,7 @@ struct acpi_nhlt_mic_device_specific_config { · 599 unmodified lines
15971707
15981708 /* Values for array_type_ext above */
15991709
1600−#define ACPI_NHLT_ARRAY_TYPE_RESERVED 0x09 // 9 and below are reserved
1710+#define ACPI_NHLT_ARRAY_TYPE_RESERVED 0x09 /* 9 and below are reserved */
16011711 #define ACPI_NHLT_SMALL_LINEAR_2ELEMENT 0x0A
16021712 #define ACPI_NHLT_BIG_LINEAR_2ELEMENT 0x0B
16031713 #define ACPI_NHLT_FIRST_GEOMETRY_LINEAR_4ELEMENT 0x0C
@@ -1617,17 +1727,17 @@ struct acpi_nhlt_vendor_mic_count { · 13 unmodified lines
16171727 struct acpi_nhlt_vendor_mic_config {
16181728 u8 type;
16191729 u8 panel;
1620− u16 speaker_position_distance; // mm
1621− u16 horizontal_offset; // mm
1622− u16 vertical_offset; // mm
1623− u8 frequency_low_band; // 5*hz
1624− u8 frequency_high_band; // 500*hz
1625− u16 direction_angle; // -180 - + 180
1626− u16 elevation_angle; // -180 - + 180
1627− u16 work_vertical_angle_begin; // -180 - + 180 with 2 deg step
1628− u16 work_vertical_angle_end; // -180 - + 180 with 2 deg step
1629− u16 work_horizontal_angle_begin; // -180 - + 180 with 2 deg step
1630− u16 work_horizontal_angle_end; // -180 - + 180 with 2 deg step
1730+ u16 speaker_position_distance; /* mm */
1731+ u16 horizontal_offset; /* mm */
1732+ u16 vertical_offset; /* mm */
1733+ u8 frequency_low_band; /* 5*Hz */
1734+ u8 frequency_high_band; /* 500*Hz */
1735+ u16 direction_angle; /* -180 - + 180 */
1736+ u16 elevation_angle; /* -180 - + 180 */
1737+ u16 work_vertical_angle_begin; /* -180 - + 180 with 2 deg step */
1738+ u16 work_vertical_angle_end; /* -180 - + 180 with 2 deg step */
1739+ u16 work_horizontal_angle_begin; /* -180 - + 180 with 2 deg step */
1740+ u16 work_horizontal_angle_end; /* -180 - + 180 with 2 deg step */
16311741 };
16321742
16331743 /* Values for Type field above */
@@ -1638,9 +1748,9 @@ struct acpi_nhlt_vendor_mic_config { · 4 unmodified lines
16381748 #define ACPI_NHLT_MIC_SUPER_CARDIOID 3
16391749 #define ACPI_NHLT_MIC_HYPER_CARDIOID 4
16401750 #define ACPI_NHLT_MIC_8_SHAPED 5
1641−#define ACPI_NHLT_MIC_RESERVED6 6 // 6 is reserved
1751+#define ACPI_NHLT_MIC_RESERVED6 6 /* 6 is reserved */
16421752 #define ACPI_NHLT_MIC_VENDOR_DEFINED 7
1643−#define ACPI_NHLT_MIC_RESERVED 8 // 8 and above are reserved
1753+#define ACPI_NHLT_MIC_RESERVED 8 /* 8 and above are reserved */
16441754
16451755 /* Values for Panel field above */
16461756
@@ -1650,12 +1760,12 @@ struct acpi_nhlt_vendor_mic_config { · 3 unmodified lines
16501760 #define ACPI_NHLT_MIC_POSITION_RIGHT 3
16511761 #define ACPI_NHLT_MIC_POSITION_FRONT 4
16521762 #define ACPI_NHLT_MIC_POSITION_BACK 5
1653−#define ACPI_NHLT_MIC_POSITION_RESERVED 6 // 6 and above are reserved
1763+#define ACPI_NHLT_MIC_POSITION_RESERVED 6 /* 6 and above are reserved */
16541764
16551765 struct acpi_nhlt_vendor_mic_device_specific_config {
16561766 struct acpi_nhlt_mic_device_specific_config mic_array_device_config;
16571767 u8 number_of_microphones;
1658− struct acpi_nhlt_vendor_mic_config mic_config[]; // indexed by number_of_microphones
1768+ struct acpi_nhlt_vendor_mic_config mic_config[]; /* Indexed by number_of_microphones */
16591769 };
16601770
16611771 /* Microphone SNR and Sensitivity extension */
@@ -1668,32 +1778,23 @@ struct acpi_nhlt_mic_snr_sensitivity_extension { · 6 unmodified lines
16681778 /* Render device with feedback */
16691779
16701780 struct acpi_nhlt_render_feedback_device_specific_config {
1671− u8 feedback_virtual_slot; // render slot in case of capture
1672− u16 feedback_channels; // informative only
1781+ u8 feedback_virtual_slot; /* Render slot in case of capture */
1782+ u16 feedback_channels; /* Informative only */
16731783 u16 feedback_valid_bits_per_sample;
16741784 };
16751785
1676−/* Linux-specific structures */
1786+/* Non documented structures */
16771787
1678−struct acpi_nhlt_linux_specific_count {
1788+struct acpi_nhlt_device_info_count {
16791789 u8 structure_count;
16801790 };
16811791
1682−struct acpi_nhlt_linux_specific_data {
1792+struct acpi_nhlt_device_info {
16831793 u8 device_id[16];
16841794 u8 device_instance_id;
16851795 u8 device_port_id;
16861796 };
16871797
1688−struct acpi_nhlt_linux_specific_data_b {
1689− u8 specific_data[18];
1690−};
1691−
1692−struct acpi_nhlt_table_terminator {
1693− u32 terminator_value;
1694− u32 terminator_signature;
1695−};
1696−
16971798 /*******************************************************************************
16981799 *
16991800 * PCCT - Platform Communications Channel Table (ACPI 5.0)
@@ -2319,7 +2420,7 @@ struct acpi_table_rgrt { · 619 unmodified lines
23192420 u16 version;
23202421 u8 image_type;
23212422 u8 reserved;
2322− u8 image[0];
2423+ u8 image[];
23232424 };
23242425
23252426 /* image_type values */
include/acpi/actbl3.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: actbl3.h - ACPI Table Definitions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/actypes.h+10−9
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: actypes.h - Common data types for the entire ACPI subsystem
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
@@ -539,14 +539,14 @@ typedef u64 acpi_integer; · 529 unmodified lines
539539 * Can be used with access_width of struct acpi_generic_address and access_size of
540540 * struct acpi_resource_generic_register.
541541 */
542−#define ACPI_ACCESS_BIT_SHIFT 2
543−#define ACPI_ACCESS_BYTE_SHIFT -1
544−#define ACPI_ACCESS_BIT_MAX (31 - ACPI_ACCESS_BIT_SHIFT)
545−#define ACPI_ACCESS_BYTE_MAX (31 - ACPI_ACCESS_BYTE_SHIFT)
546−#define ACPI_ACCESS_BIT_DEFAULT (8 - ACPI_ACCESS_BIT_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))
549−#define ACPI_ACCESS_BYTE_WIDTH(size) (1 << ((size) + ACPI_ACCESS_BYTE_SHIFT))
542+#define ACPI_ACCESS_BIT_SHIFT 2
543+#define ACPI_ACCESS_BYTE_SHIFT -1
544+#define ACPI_ACCESS_BIT_MAX (31 - ACPI_ACCESS_BIT_SHIFT)
545+#define ACPI_ACCESS_BYTE_MAX (31 - ACPI_ACCESS_BYTE_SHIFT)
546+#define ACPI_ACCESS_BIT_DEFAULT (8 - ACPI_ACCESS_BIT_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))
549+#define ACPI_ACCESS_BYTE_WIDTH(size) (1 << ((size) + ACPI_ACCESS_BYTE_SHIFT))
550550
551551 /*******************************************************************************
552552 *
@@ -1303,6 +1303,7 @@ typedef enum { · 750 unmodified lines
13031303 #define ACPI_OSI_WIN_10_RS5 0x13
13041304 #define ACPI_OSI_WIN_10_19H1 0x14
13051305 #define ACPI_OSI_WIN_10_20H1 0x15
1306+#define ACPI_OSI_WIN_11 0x16
13061307
13071308 /* Definitions of getopt */
13081309
include/acpi/acuuid.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acuuid.h - ACPI-related UUID/GUID definitions
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/acenv.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acenv.h - Host and compiler configuration
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/acenvex.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acenvex.h - Extra host and compiler configuration
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/acgcc.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acgcc.h - GCC specific defines, etc.
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/acgccex.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acgccex.h - Extra GCC specific defines, etc.
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/acintel.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: acintel.h - VC specific defines, etc.
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/aclinux.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: aclinux.h - OS specific defines, etc. for Linux
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
include/acpi/platform/aclinuxex.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Name: aclinuxex.h - Extra OS specific defines, etc. for Linux
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
tools/power/acpi/common/cmfsize.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: cmfsize - Common get file size function
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
tools/power/acpi/common/getopt.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: getopt
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: oslinuxtbl - Linux OSL for obtaining ACPI tables
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
tools/power/acpi/os_specific/service_layers/osunixdir.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: osunixdir - Unix directory access interfaces
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
tools/power/acpi/os_specific/service_layers/osunixmap.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: osunixmap - Unix OSL for file mappings
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
tools/power/acpi/os_specific/service_layers/osunixxf.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: osunixxf - UNIX OSL interfaces
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
tools/power/acpi/tools/acpidump/acpidump.h+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: acpidump.h - Include file for acpi_dump utility
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
tools/power/acpi/tools/acpidump/apdump.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: apdump - Dump routines for ACPI tables (acpidump)
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
tools/power/acpi/tools/acpidump/apfiles.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: apfiles - File-related functions for acpidump utility
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99
tools/power/acpi/tools/acpidump/apmain.c+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
33 *
44 * Module Name: apmain - Main module for the acpidump utility
55 *
6− * Copyright (C) 2000 - 2021, Intel Corp.
6+ * Copyright (C) 2000 - 2022, Intel Corp.
77 *
88 *****************************************************************************/
99