acpi_object_usage.rst 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809
  1. ===========
  2. ACPI Tables
  3. ===========
  4. The expectations of individual ACPI tables are discussed in the list that
  5. follows.
  6. If a section number is used, it refers to a section number in the ACPI
  7. specification where the object is defined. If "Signature Reserved" is used,
  8. the table signature (the first four bytes of the table) is the only portion
  9. of the table recognized by the specification, and the actual table is defined
  10. outside of the UEFI Forum (see Section 5.2.6 of the specification).
  11. For ACPI on arm64, tables also fall into the following categories:
  12. - Required: DSDT, FADT, GTDT, MADT, MCFG, RSDP, SPCR, XSDT
  13. - Recommended: BERT, EINJ, ERST, HEST, PCCT, SSDT
  14. - Optional: AGDI, BGRT, CEDT, CPEP, CSRT, DBG2, DRTM, ECDT, FACS, FPDT,
  15. HMAT, IBFT, IORT, MCHI, MPAM, MPST, MSCT, NFIT, PMTT, PPTT, RASF, SBST,
  16. SDEI, SLIT, SPMI, SRAT, STAO, TCPA, TPM2, UEFI, XENV
  17. - Not supported: AEST, APMT, BOOT, DBGP, DMAR, ETDT, HPET, IVRS, LPIT,
  18. MSDM, OEMx, PDTT, PSDT, RAS2, RSDT, SLIC, WAET, WDAT, WDRT, WPBT
  19. ====== ========================================================================
  20. Table Usage for ARMv8 Linux
  21. ====== ========================================================================
  22. AEST Signature Reserved (signature == "AEST")
  23. **Arm Error Source Table**
  24. This table informs the OS of any error nodes in the system that are
  25. compliant with the Arm RAS architecture.
  26. AGDI Signature Reserved (signature == "AGDI")
  27. **Arm Generic diagnostic Dump and Reset Device Interface Table**
  28. This table describes a non-maskable event, that is used by the platform
  29. firmware, to request the OS to generate a diagnostic dump and reset the device.
  30. APMT Signature Reserved (signature == "APMT")
  31. **Arm Performance Monitoring Table**
  32. This table describes the properties of PMU support implemented by
  33. components in the system.
  34. BERT Section 18.3 (signature == "BERT")
  35. **Boot Error Record Table**
  36. Must be supplied if RAS support is provided by the platform. It
  37. is recommended this table be supplied.
  38. BOOT Signature Reserved (signature == "BOOT")
  39. **simple BOOT flag table**
  40. Microsoft only table, will not be supported.
  41. BGRT Section 5.2.22 (signature == "BGRT")
  42. **Boot Graphics Resource Table**
  43. Optional, not currently supported, with no real use-case for an
  44. ARM server.
  45. CEDT Signature Reserved (signature == "CEDT")
  46. **CXL Early Discovery Table**
  47. This table allows the OS to discover any CXL Host Bridges and the Host
  48. Bridge registers.
  49. CPEP Section 5.2.18 (signature == "CPEP")
  50. **Corrected Platform Error Polling table**
  51. Optional, not currently supported, and not recommended until such
  52. time as ARM-compatible hardware is available, and the specification
  53. suitably modified.
  54. CSRT Signature Reserved (signature == "CSRT")
  55. **Core System Resources Table**
  56. Optional, not currently supported.
  57. DBG2 Signature Reserved (signature == "DBG2")
  58. **DeBuG port table 2**
  59. License has changed and should be usable. Optional if used instead
  60. of earlycon=<device> on the command line.
  61. DBGP Signature Reserved (signature == "DBGP")
  62. **DeBuG Port table**
  63. Microsoft only table, will not be supported.
  64. DSDT Section 5.2.11.1 (signature == "DSDT")
  65. **Differentiated System Description Table**
  66. A DSDT is required; see also SSDT.
  67. ACPI tables contain only one DSDT but can contain one or more SSDTs,
  68. which are optional. Each SSDT can only add to the ACPI namespace,
  69. but cannot modify or replace anything in the DSDT.
  70. DMAR Signature Reserved (signature == "DMAR")
  71. **DMA Remapping table**
  72. x86 only table, will not be supported.
  73. DRTM Signature Reserved (signature == "DRTM")
  74. **Dynamic Root of Trust for Measurement table**
  75. Optional, not currently supported.
  76. ECDT Section 5.2.16 (signature == "ECDT")
  77. **Embedded Controller Description Table**
  78. Optional, not currently supported, but could be used on ARM if and
  79. only if one uses the GPE_BIT field to represent an IRQ number, since
  80. there are no GPE blocks defined in hardware reduced mode. This would
  81. need to be modified in the ACPI specification.
  82. EINJ Section 18.6 (signature == "EINJ")
  83. **Error Injection table**
  84. This table is very useful for testing platform response to error
  85. conditions; it allows one to inject an error into the system as
  86. if it had actually occurred. However, this table should not be
  87. shipped with a production system; it should be dynamically loaded
  88. and executed with the ACPICA tools only during testing.
  89. ERST Section 18.5 (signature == "ERST")
  90. **Error Record Serialization Table**
  91. On a platform supports RAS, this table must be supplied if it is not
  92. UEFI-based; if it is UEFI-based, this table may be supplied. When this
  93. table is not present, UEFI run time service will be utilized to save
  94. and retrieve hardware error information to and from a persistent store.
  95. ETDT Signature Reserved (signature == "ETDT")
  96. **Event Timer Description Table**
  97. Obsolete table, will not be supported.
  98. FACS Section 5.2.10 (signature == "FACS")
  99. **Firmware ACPI Control Structure**
  100. It is unlikely that this table will be terribly useful. If it is
  101. provided, the Global Lock will NOT be used since it is not part of
  102. the hardware reduced profile, and only 64-bit address fields will
  103. be considered valid.
  104. FADT Section 5.2.9 (signature == "FACP")
  105. **Fixed ACPI Description Table**
  106. Required for arm64.
  107. The HW_REDUCED_ACPI flag must be set. All of the fields that are
  108. to be ignored when HW_REDUCED_ACPI is set are expected to be set to
  109. zero.
  110. If an FACS table is provided, the X_FIRMWARE_CTRL field is to be
  111. used, not FIRMWARE_CTRL.
  112. If PSCI is used (as is recommended), make sure that ARM_BOOT_ARCH is
  113. filled in properly - that the PSCI_COMPLIANT flag is set and that
  114. PSCI_USE_HVC is set or unset as needed (see table 5-37).
  115. For the DSDT that is also required, the X_DSDT field is to be used,
  116. not the DSDT field.
  117. FPDT Section 5.2.23 (signature == "FPDT")
  118. **Firmware Performance Data Table**
  119. Optional, useful for boot performance profiling.
  120. GTDT Section 5.2.24 (signature == "GTDT")
  121. **Generic Timer Description Table**
  122. Required for arm64.
  123. HEST Section 18.3.2 (signature == "HEST")
  124. **Hardware Error Source Table**
  125. ARM-specific error sources have been defined; please use those or the
  126. PCI types such as type 6 (AER Root Port), 7 (AER Endpoint), or 8 (AER
  127. Bridge), or use type 9 (Generic Hardware Error Source). Firmware first
  128. error handling is possible if and only if Trusted Firmware is being
  129. used on arm64.
  130. Must be supplied if RAS support is provided by the platform. It
  131. is recommended this table be supplied.
  132. HMAT Section 5.2.28 (signature == "HMAT")
  133. **Heterogeneous Memory Attribute Table**
  134. This table describes the memory attributes, such as memory side cache
  135. attributes and bandwidth and latency details, related to Memory Proximity
  136. Domains. The OS uses this information to optimize the system memory
  137. configuration.
  138. HPET Signature Reserved (signature == "HPET")
  139. **High Precision Event timer Table**
  140. x86 only table, will not be supported.
  141. IBFT Signature Reserved (signature == "IBFT")
  142. **iSCSI Boot Firmware Table**
  143. Microsoft defined table, support TBD.
  144. IORT Signature Reserved (signature == "IORT")
  145. **Input Output Remapping Table**
  146. arm64 only table, required in order to describe IO topology, SMMUs,
  147. and GIC ITSs, and how those various components are connected together,
  148. such as identifying which components are behind which SMMUs/ITSs.
  149. This table will only be required on certain SBSA platforms (e.g.,
  150. when using GICv3-ITS and an SMMU); on SBSA Level 0 platforms, it
  151. remains optional.
  152. IVRS Signature Reserved (signature == "IVRS")
  153. **I/O Virtualization Reporting Structure**
  154. x86_64 (AMD) only table, will not be supported.
  155. LPIT Signature Reserved (signature == "LPIT")
  156. **Low Power Idle Table**
  157. x86 only table as of ACPI 5.1; starting with ACPI 6.0, processor
  158. descriptions and power states on ARM platforms should use the DSDT
  159. and define processor container devices (_HID ACPI0010, Section 8.4,
  160. and more specifically 8.4.3 and 8.4.4).
  161. MADT Section 5.2.12 (signature == "APIC")
  162. **Multiple APIC Description Table**
  163. Required for arm64. Only the GIC interrupt controller structures
  164. should be used (types 0xA - 0xF).
  165. MCFG Signature Reserved (signature == "MCFG")
  166. **Memory-mapped ConFiGuration space**
  167. If the platform supports PCI/PCIe, an MCFG table is required.
  168. MCHI Signature Reserved (signature == "MCHI")
  169. **Management Controller Host Interface table**
  170. Optional, not currently supported.
  171. MPAM Signature Reserved (signature == "MPAM")
  172. **Memory Partitioning And Monitoring table**
  173. This table allows the OS to discover the MPAM controls implemented by
  174. the subsystems.
  175. MPST Section 5.2.21 (signature == "MPST")
  176. **Memory Power State Table**
  177. Optional, not currently supported.
  178. MSCT Section 5.2.19 (signature == "MSCT")
  179. **Maximum System Characteristic Table**
  180. Optional, not currently supported.
  181. MSDM Signature Reserved (signature == "MSDM")
  182. **Microsoft Data Management table**
  183. Microsoft only table, will not be supported.
  184. NFIT Section 5.2.25 (signature == "NFIT")
  185. **NVDIMM Firmware Interface Table**
  186. Optional, not currently supported.
  187. OEMx Signature of "OEMx" only
  188. **OEM Specific Tables**
  189. All tables starting with a signature of "OEM" are reserved for OEM
  190. use. Since these are not meant to be of general use but are limited
  191. to very specific end users, they are not recommended for use and are
  192. not supported by the kernel for arm64.
  193. PCCT Section 14.1 (signature == "PCCT)
  194. **Platform Communications Channel Table**
  195. Recommend for use on arm64; use of PCC is recommended when using CPPC
  196. to control performance and power for platform processors.
  197. PDTT Section 5.2.29 (signature == "PDTT")
  198. **Platform Debug Trigger Table**
  199. This table describes PCC channels used to gather debug logs of
  200. non-architectural features.
  201. PMTT Section 5.2.21.12 (signature == "PMTT")
  202. **Platform Memory Topology Table**
  203. Optional, not currently supported.
  204. PPTT Section 5.2.30 (signature == "PPTT")
  205. **Processor Properties Topology Table**
  206. This table provides the processor and cache topology.
  207. PSDT Section 5.2.11.3 (signature == "PSDT")
  208. **Persistent System Description Table**
  209. Obsolete table, will not be supported.
  210. RAS2 Section 5.2.21 (signature == "RAS2")
  211. **RAS Features 2 table**
  212. This table provides interfaces for the RAS capabilities implemented in
  213. the platform.
  214. RASF Section 5.2.20 (signature == "RASF")
  215. **RAS Feature table**
  216. Optional, not currently supported.
  217. RSDP Section 5.2.5 (signature == "RSD PTR")
  218. **Root System Description PoinTeR**
  219. Required for arm64.
  220. RSDT Section 5.2.7 (signature == "RSDT")
  221. **Root System Description Table**
  222. Since this table can only provide 32-bit addresses, it is deprecated
  223. on arm64, and will not be used. If provided, it will be ignored.
  224. SBST Section 5.2.14 (signature == "SBST")
  225. **Smart Battery Subsystem Table**
  226. Optional, not currently supported.
  227. SDEI Signature Reserved (signature == "SDEI")
  228. **Software Delegated Exception Interface table**
  229. This table advertises the presence of the SDEI interface.
  230. SLIC Signature Reserved (signature == "SLIC")
  231. **Software LIcensing table**
  232. Microsoft only table, will not be supported.
  233. SLIT Section 5.2.17 (signature == "SLIT")
  234. **System Locality distance Information Table**
  235. Optional in general, but required for NUMA systems.
  236. SPCR Signature Reserved (signature == "SPCR")
  237. **Serial Port Console Redirection table**
  238. Required for arm64.
  239. SPMI Signature Reserved (signature == "SPMI")
  240. **Server Platform Management Interface table**
  241. Optional, not currently supported.
  242. SRAT Section 5.2.16 (signature == "SRAT")
  243. **System Resource Affinity Table**
  244. Optional, but if used, only the GICC Affinity structures are read.
  245. To support arm64 NUMA, this table is required.
  246. SSDT Section 5.2.11.2 (signature == "SSDT")
  247. **Secondary System Description Table**
  248. These tables are a continuation of the DSDT; these are recommended
  249. for use with devices that can be added to a running system, but can
  250. also serve the purpose of dividing up device descriptions into more
  251. manageable pieces.
  252. An SSDT can only ADD to the ACPI namespace. It cannot modify or
  253. replace existing device descriptions already in the namespace.
  254. These tables are optional, however. ACPI tables should contain only
  255. one DSDT but can contain many SSDTs.
  256. STAO Signature Reserved (signature == "STAO")
  257. **_STA Override table**
  258. Optional, but only necessary in virtualized environments in order to
  259. hide devices from guest OSs.
  260. TCPA Signature Reserved (signature == "TCPA")
  261. **Trusted Computing Platform Alliance table**
  262. Optional, not currently supported, and may need changes to fully
  263. interoperate with arm64.
  264. TPM2 Signature Reserved (signature == "TPM2")
  265. **Trusted Platform Module 2 table**
  266. Optional, not currently supported, and may need changes to fully
  267. interoperate with arm64.
  268. UEFI Signature Reserved (signature == "UEFI")
  269. **UEFI ACPI data table**
  270. Optional, not currently supported. No known use case for arm64,
  271. at present.
  272. WAET Signature Reserved (signature == "WAET")
  273. **Windows ACPI Emulated devices Table**
  274. Microsoft only table, will not be supported.
  275. WDAT Signature Reserved (signature == "WDAT")
  276. **Watch Dog Action Table**
  277. Microsoft only table, will not be supported.
  278. WDRT Signature Reserved (signature == "WDRT")
  279. **Watch Dog Resource Table**
  280. Microsoft only table, will not be supported.
  281. WPBT Signature Reserved (signature == "WPBT")
  282. **Windows Platform Binary Table**
  283. Microsoft only table, will not be supported.
  284. XENV Signature Reserved (signature == "XENV")
  285. **Xen project table**
  286. Optional, used only by Xen at present.
  287. XSDT Section 5.2.8 (signature == "XSDT")
  288. **eXtended System Description Table**
  289. Required for arm64.
  290. ====== ========================================================================
  291. ACPI Objects
  292. ------------
  293. The expectations on individual ACPI objects that are likely to be used are
  294. shown in the list that follows; any object not explicitly mentioned below
  295. should be used as needed for a particular platform or particular subsystem,
  296. such as power management or PCI.
  297. ===== ================ ========================================================
  298. Name Section Usage for ARMv8 Linux
  299. ===== ================ ========================================================
  300. _CCA 6.2.17 This method must be defined for all bus masters
  301. on arm64 - there are no assumptions made about
  302. whether such devices are cache coherent or not.
  303. The _CCA value is inherited by all descendants of
  304. these devices so it does not need to be repeated.
  305. Without _CCA on arm64, the kernel does not know what
  306. to do about setting up DMA for the device.
  307. NB: this method provides default cache coherency
  308. attributes; the presence of an SMMU can be used to
  309. modify that, however. For example, a master could
  310. default to non-coherent, but be made coherent with
  311. the appropriate SMMU configuration (see Table 17 of
  312. the IORT specification, ARM Document DEN 0049B).
  313. _CID 6.1.2 Use as needed, see also _HID.
  314. _CLS 6.1.3 Use as needed, see also _HID.
  315. _CPC 8.4.7.1 Use as needed, power management specific. CPPC is
  316. recommended on arm64.
  317. _CRS 6.2.2 Required on arm64.
  318. _CSD 8.4.2.2 Use as needed, used only in conjunction with _CST.
  319. _CST 8.4.2.1 Low power idle states (8.4.4) are recommended instead
  320. of C-states.
  321. _DDN 6.1.4 This field can be used for a device name. However,
  322. it is meant for DOS device names (e.g., COM1), so be
  323. careful of its use across OSes.
  324. _DSD 6.2.5 To be used with caution. If this object is used, try
  325. to use it within the constraints already defined by the
  326. Device Properties UUID. Only in rare circumstances
  327. should it be necessary to create a new _DSD UUID.
  328. In either case, submit the _DSD definition along with
  329. any driver patches for discussion, especially when
  330. device properties are used. A driver will not be
  331. considered complete without a corresponding _DSD
  332. description. Once approved by kernel maintainers,
  333. the UUID or device properties must then be registered
  334. with the UEFI Forum; this may cause some iteration as
  335. more than one OS will be registering entries.
  336. _DSM 9.1.1 Do not use this method. It is not standardized, the
  337. return values are not well documented, and it is
  338. currently a frequent source of error.
  339. \_GL 5.7.1 This object is not to be used in hardware reduced
  340. mode, and therefore should not be used on arm64.
  341. _GLK 6.5.7 This object requires a global lock be defined; there
  342. is no global lock on arm64 since it runs in hardware
  343. reduced mode. Hence, do not use this object on arm64.
  344. \_GPE 5.3.1 This namespace is for x86 use only. Do not use it
  345. on arm64.
  346. _HID 6.1.5 This is the primary object to use in device probing,
  347. though _CID and _CLS may also be used.
  348. _INI 6.5.1 Not required, but can be useful in setting up devices
  349. when UEFI leaves them in a state that may not be what
  350. the driver expects before it starts probing.
  351. _LPI 8.4.4.3 Recommended for use with processor definitions (_HID
  352. ACPI0010) on arm64. See also _RDI.
  353. _MLS 6.1.7 Highly recommended for use in internationalization.
  354. _OFF 7.2.2 It is recommended to define this method for any device
  355. that can be turned on or off.
  356. _ON 7.2.3 It is recommended to define this method for any device
  357. that can be turned on or off.
  358. \_OS 5.7.3 This method will return "Linux" by default (this is
  359. the value of the macro ACPI_OS_NAME on Linux). The
  360. command line parameter acpi_os=<string> can be used
  361. to set it to some other value.
  362. _OSC 6.2.11 This method can be a global method in ACPI (i.e.,
  363. \_SB._OSC), or it may be associated with a specific
  364. device (e.g., \_SB.DEV0._OSC), or both. When used
  365. as a global method, only capabilities published in
  366. the ACPI specification are allowed. When used as
  367. a device-specific method, the process described for
  368. using _DSD MUST be used to create an _OSC definition;
  369. out-of-process use of _OSC is not allowed. That is,
  370. submit the device-specific _OSC usage description as
  371. part of the kernel driver submission, get it approved
  372. by the kernel community, then register it with the
  373. UEFI Forum.
  374. \_OSI 5.7.2 Deprecated on ARM64. As far as ACPI firmware is
  375. concerned, _OSI is not to be used to determine what
  376. sort of system is being used or what functionality
  377. is provided. The _OSC method is to be used instead.
  378. _PDC 8.4.1 Deprecated, do not use on arm64.
  379. \_PIC 5.8.1 The method should not be used. On arm64, the only
  380. interrupt model available is GIC.
  381. \_PR 5.3.1 This namespace is for x86 use only on legacy systems.
  382. Do not use it on arm64.
  383. _PRT 6.2.13 Required as part of the definition of all PCI root
  384. devices.
  385. _PRx 7.3.8-11 Use as needed; power management specific. If _PR0 is
  386. defined, _PR3 must also be defined.
  387. _PSx 7.3.2-5 Use as needed; power management specific. If _PS0 is
  388. defined, _PS3 must also be defined. If clocks or
  389. regulators need adjusting to be consistent with power
  390. usage, change them in these methods.
  391. _RDI 8.4.4.4 Recommended for use with processor definitions (_HID
  392. ACPI0010) on arm64. This should only be used in
  393. conjunction with _LPI.
  394. \_REV 5.7.4 Always returns the latest version of ACPI supported.
  395. \_SB 5.3.1 Required on arm64; all devices must be defined in this
  396. namespace.
  397. _SLI 6.2.15 Use is recommended when SLIT table is in use.
  398. _STA 6.3.7, It is recommended to define this method for any device
  399. 7.2.4 that can be turned on or off. See also the STAO table
  400. that provides overrides to hide devices in virtualized
  401. environments.
  402. _SRS 6.2.16 Use as needed; see also _PRS.
  403. _STR 6.1.10 Recommended for conveying device names to end users;
  404. this is preferred over using _DDN.
  405. _SUB 6.1.9 Use as needed; _HID or _CID are preferred.
  406. _SUN 6.1.11 Use as needed, but recommended.
  407. _SWS 7.4.3 Use as needed; power management specific; this may
  408. require specification changes for use on arm64.
  409. _UID 6.1.12 Recommended for distinguishing devices of the same
  410. class; define it if at all possible.
  411. ===== ================ ========================================================
  412. ACPI Event Model
  413. ----------------
  414. Do not use GPE block devices; these are not supported in the hardware reduced
  415. profile used by arm64. Since there are no GPE blocks defined for use on ARM
  416. platforms, ACPI events must be signaled differently.
  417. There are two options: GPIO-signaled interrupts (Section 5.6.5), and
  418. interrupt-signaled events (Section 5.6.9). Interrupt-signaled events are a
  419. new feature in the ACPI 6.1 specification. Either - or both - can be used
  420. on a given platform, and which to use may be dependent of limitations in any
  421. given SoC. If possible, interrupt-signaled events are recommended.
  422. ACPI Processor Control
  423. ----------------------
  424. Section 8 of the ACPI specification changed significantly in version 6.0.
  425. Processors should now be defined as Device objects with _HID ACPI0007; do
  426. not use the deprecated Processor statement in ASL. All multiprocessor systems
  427. should also define a hierarchy of processors, done with Processor Container
  428. Devices (see Section 8.4.3.1, _HID ACPI0010); do not use processor aggregator
  429. devices (Section 8.5) to describe processor topology. Section 8.4 of the
  430. specification describes the semantics of these object definitions and how
  431. they interrelate.
  432. Most importantly, the processor hierarchy defined also defines the low power
  433. idle states that are available to the platform, along with the rules for
  434. determining which processors can be turned on or off and the circumstances
  435. that control that. Without this information, the processors will run in
  436. whatever power state they were left in by UEFI.
  437. Note too, that the processor Device objects defined and the entries in the
  438. MADT for GICs are expected to be in synchronization. The _UID of the Device
  439. object must correspond to processor IDs used in the MADT.
  440. It is recommended that CPPC (8.4.5) be used as the primary model for processor
  441. performance control on arm64. C-states and P-states may become available at
  442. some point in the future, but most current design work appears to favor CPPC.
  443. Further, it is essential that the ARMv8 SoC provide a fully functional
  444. implementation of PSCI; this will be the only mechanism supported by ACPI
  445. to control CPU power state. Booting of secondary CPUs using the ACPI
  446. parking protocol is possible, but discouraged, since only PSCI is supported
  447. for ARM servers.
  448. ACPI System Address Map Interfaces
  449. ----------------------------------
  450. In Section 15 of the ACPI specification, several methods are mentioned as
  451. possible mechanisms for conveying memory resource information to the kernel.
  452. For arm64, we will only support UEFI for booting with ACPI, hence the UEFI
  453. GetMemoryMap() boot service is the only mechanism that will be used.
  454. ACPI Platform Error Interfaces (APEI)
  455. -------------------------------------
  456. The APEI tables supported are described above.
  457. APEI requires the equivalent of an SCI and an NMI on ARMv8. The SCI is used
  458. to notify the OSPM of errors that have occurred but can be corrected and the
  459. system can continue correct operation, even if possibly degraded. The NMI is
  460. used to indicate fatal errors that cannot be corrected, and require immediate
  461. attention.
  462. Since there is no direct equivalent of the x86 SCI or NMI, arm64 handles
  463. these slightly differently. The SCI is handled as a high priority interrupt;
  464. given that these are corrected (or correctable) errors being reported, this
  465. is sufficient. The NMI is emulated as the highest priority interrupt
  466. possible. This implies some caution must be used since there could be
  467. interrupts at higher privilege levels or even interrupts at the same priority
  468. as the emulated NMI. In Linux, this should not be the case but one should
  469. be aware it could happen.
  470. ACPI Objects Not Supported on ARM64
  471. -----------------------------------
  472. While this may change in the future, there are several classes of objects
  473. that can be defined, but are not currently of general interest to ARM servers.
  474. Some of these objects have x86 equivalents, and may actually make sense in ARM
  475. servers. However, there is either no hardware available at present, or there
  476. may not even be a non-ARM implementation yet. Hence, they are not currently
  477. supported.
  478. The following classes of objects are not supported:
  479. - Section 9.2: ambient light sensor devices
  480. - Section 9.3: battery devices
  481. - Section 9.4: lids (e.g., laptop lids)
  482. - Section 9.8.2: IDE controllers
  483. - Section 9.9: floppy controllers
  484. - Section 9.10: GPE block devices
  485. - Section 9.15: PC/AT RTC/CMOS devices
  486. - Section 9.16: user presence detection devices
  487. - Section 9.17: I/O APIC devices; all GICs must be enumerable via MADT
  488. - Section 9.18: time and alarm devices (see 9.15)
  489. - Section 10: power source and power meter devices
  490. - Section 11: thermal management
  491. - Section 12: embedded controllers interface
  492. - Section 13: SMBus interfaces
  493. This also means that there is no support for the following objects:
  494. ==== =========================== ==== ==========
  495. Name Section Name Section
  496. ==== =========================== ==== ==========
  497. _ALC 9.3.4 _FDM 9.10.3
  498. _ALI 9.3.2 _FIX 6.2.7
  499. _ALP 9.3.6 _GAI 10.4.5
  500. _ALR 9.3.5 _GHL 10.4.7
  501. _ALT 9.3.3 _GTM 9.9.2.1.1
  502. _BCT 10.2.2.10 _LID 9.5.1
  503. _BDN 6.5.3 _PAI 10.4.4
  504. _BIF 10.2.2.1 _PCL 10.3.2
  505. _BIX 10.2.2.1 _PIF 10.3.3
  506. _BLT 9.2.3 _PMC 10.4.1
  507. _BMA 10.2.2.4 _PMD 10.4.8
  508. _BMC 10.2.2.12 _PMM 10.4.3
  509. _BMD 10.2.2.11 _PRL 10.3.4
  510. _BMS 10.2.2.5 _PSR 10.3.1
  511. _BST 10.2.2.6 _PTP 10.4.2
  512. _BTH 10.2.2.7 _SBS 10.1.3
  513. _BTM 10.2.2.9 _SHL 10.4.6
  514. _BTP 10.2.2.8 _STM 9.9.2.1.1
  515. _DCK 6.5.2 _UPD 9.16.1
  516. _EC 12.12 _UPP 9.16.2
  517. _FDE 9.10.1 _WPC 10.5.2
  518. _FDI 9.10.2 _WPP 10.5.3
  519. ==== =========================== ==== ==========