1 /******************************************************************************
3 * Name: actbl1.h - Additional ACPI table definitions
5 *****************************************************************************/
8 * Copyright (C) 2000 - 2017, Intel Corp.
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.
17 * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18 * substantially similar to the "NO WARRANTY" disclaimer below
19 * ("Disclaimer") and any redistribution must be conditioned upon
20 * including a substantially similar Disclaimer requirement for further
21 * binary redistribution.
22 * 3. Neither the names of the above-listed copyright holders nor the names
23 * of any contributors may be used to endorse or promote products derived
24 * from this software without specific prior written permission.
26 * Alternatively, this software may be distributed under the terms of the
27 * GNU General Public License ("GPL") version 2 as published by the Free
28 * Software Foundation.
31 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35 * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41 * POSSIBILITY OF SUCH DAMAGES.
47 /*******************************************************************************
49 * Additional ACPI Tables (1)
51 * These tables are not consumed directly by the ACPICA subsystem, but are
52 * included here to support device drivers and the AML disassembler.
54 * The tables in this file are fully defined within the ACPI specification.
56 ******************************************************************************/
59 * Values for description table header signatures for tables defined in this
60 * file. Useful because they make it more difficult to inadvertently type in
61 * the wrong signature.
63 #define ACPI_SIG_BERT "BERT" /* Boot Error Record Table */
64 #define ACPI_SIG_CPEP "CPEP" /* Corrected Platform Error Polling table */
65 #define ACPI_SIG_ECDT "ECDT" /* Embedded Controller Boot Resources Table */
66 #define ACPI_SIG_EINJ "EINJ" /* Error Injection table */
67 #define ACPI_SIG_ERST "ERST" /* Error Record Serialization Table */
68 #define ACPI_SIG_HMAT "HMAT" /* Heterogeneous Memory Attributes Table */
69 #define ACPI_SIG_HEST "HEST" /* Hardware Error Source Table */
70 #define ACPI_SIG_MADT "APIC" /* Multiple APIC Description Table */
71 #define ACPI_SIG_MSCT "MSCT" /* Maximum System Characteristics Table */
72 #define ACPI_SIG_PDTT "PDTT" /* Processor Debug Trigger Table */
73 #define ACPI_SIG_PPTT "PPTT" /* Processor Properties Topology Table */
74 #define ACPI_SIG_SBST "SBST" /* Smart Battery Specification Table */
75 #define ACPI_SIG_SLIT "SLIT" /* System Locality Distance Information Table */
76 #define ACPI_SIG_SRAT "SRAT" /* System Resource Affinity Table */
77 #define ACPI_SIG_NFIT "NFIT" /* NVDIMM Firmware Interface Table */
80 * All tables must be byte-packed to match the ACPI specification, since
81 * the tables are provided by the system BIOS.
86 * Note: C bitfields are not used for this reason:
88 * "Bitfields are great and easy to read, but unfortunately the C language
89 * does not specify the layout of bitfields in memory, which means they are
90 * essentially useless for dealing with packed data in on-disk formats or
91 * binary wire protocols." (Or ACPI tables and buffers.) "If you ask me,
92 * this decision was a design error in C. Ritchie could have picked an order
93 * and stuck with it." Norman Ramsey.
94 * See http://stackoverflow.com/a/1053662/41661
97 /*******************************************************************************
99 * Common subtable headers
101 ******************************************************************************/
103 /* Generic subtable header (used in MADT, SRAT, etc.) */
105 struct acpi_subtable_header
{
110 /* Subtable header for WHEA tables (EINJ, ERST, WDAT) */
112 struct acpi_whea_header
{
117 struct acpi_generic_address register_region
;
118 u64 value
; /* Value used with Read/Write register */
119 u64 mask
; /* Bitmask required for this register instruction */
122 /*******************************************************************************
124 * BERT - Boot Error Record Table (ACPI 4.0)
127 ******************************************************************************/
129 struct acpi_table_bert
{
130 struct acpi_table_header header
; /* Common ACPI table header */
131 u32 region_length
; /* Length of the boot error region */
132 u64 address
; /* Physical address of the error region */
135 /* Boot Error Region (not a subtable, pointed to by Address field above) */
137 struct acpi_bert_region
{
138 u32 block_status
; /* Type of error information */
139 u32 raw_data_offset
; /* Offset to raw error data */
140 u32 raw_data_length
; /* Length of raw error data */
141 u32 data_length
; /* Length of generic error data */
142 u32 error_severity
; /* Severity code */
145 /* Values for block_status flags above */
147 #define ACPI_BERT_UNCORRECTABLE (1)
148 #define ACPI_BERT_CORRECTABLE (1<<1)
149 #define ACPI_BERT_MULTIPLE_UNCORRECTABLE (1<<2)
150 #define ACPI_BERT_MULTIPLE_CORRECTABLE (1<<3)
151 #define ACPI_BERT_ERROR_ENTRY_COUNT (0xFF<<4) /* 8 bits, error count */
153 /* Values for error_severity above */
155 enum acpi_bert_error_severity
{
156 ACPI_BERT_ERROR_CORRECTABLE
= 0,
157 ACPI_BERT_ERROR_FATAL
= 1,
158 ACPI_BERT_ERROR_CORRECTED
= 2,
159 ACPI_BERT_ERROR_NONE
= 3,
160 ACPI_BERT_ERROR_RESERVED
= 4 /* 4 and greater are reserved */
164 * Note: The generic error data that follows the error_severity field above
165 * uses the struct acpi_hest_generic_data defined under the HEST table below
168 /*******************************************************************************
170 * CPEP - Corrected Platform Error Polling table (ACPI 4.0)
173 ******************************************************************************/
175 struct acpi_table_cpep
{
176 struct acpi_table_header header
; /* Common ACPI table header */
182 struct acpi_cpep_polling
{
183 struct acpi_subtable_header header
;
184 u8 id
; /* Processor ID */
185 u8 eid
; /* Processor EID */
186 u32 interval
; /* Polling interval (msec) */
189 /*******************************************************************************
191 * ECDT - Embedded Controller Boot Resources Table
194 ******************************************************************************/
196 struct acpi_table_ecdt
{
197 struct acpi_table_header header
; /* Common ACPI table header */
198 struct acpi_generic_address control
; /* Address of EC command/status register */
199 struct acpi_generic_address data
; /* Address of EC data register */
200 u32 uid
; /* Unique ID - must be same as the EC _UID method */
201 u8 gpe
; /* The GPE for the EC */
202 u8 id
[1]; /* Full namepath of the EC in the ACPI namespace */
205 /*******************************************************************************
207 * EINJ - Error Injection Table (ACPI 4.0)
210 ******************************************************************************/
212 struct acpi_table_einj
{
213 struct acpi_table_header header
; /* Common ACPI table header */
220 /* EINJ Injection Instruction Entries (actions) */
222 struct acpi_einj_entry
{
223 struct acpi_whea_header whea_header
; /* Common header for WHEA tables */
226 /* Masks for Flags field above */
228 #define ACPI_EINJ_PRESERVE (1)
230 /* Values for Action field above */
232 enum acpi_einj_actions
{
233 ACPI_EINJ_BEGIN_OPERATION
= 0,
234 ACPI_EINJ_GET_TRIGGER_TABLE
= 1,
235 ACPI_EINJ_SET_ERROR_TYPE
= 2,
236 ACPI_EINJ_GET_ERROR_TYPE
= 3,
237 ACPI_EINJ_END_OPERATION
= 4,
238 ACPI_EINJ_EXECUTE_OPERATION
= 5,
239 ACPI_EINJ_CHECK_BUSY_STATUS
= 6,
240 ACPI_EINJ_GET_COMMAND_STATUS
= 7,
241 ACPI_EINJ_SET_ERROR_TYPE_WITH_ADDRESS
= 8,
242 ACPI_EINJ_GET_EXECUTE_TIMINGS
= 9,
243 ACPI_EINJ_ACTION_RESERVED
= 10, /* 10 and greater are reserved */
244 ACPI_EINJ_TRIGGER_ERROR
= 0xFF /* Except for this value */
247 /* Values for Instruction field above */
249 enum acpi_einj_instructions
{
250 ACPI_EINJ_READ_REGISTER
= 0,
251 ACPI_EINJ_READ_REGISTER_VALUE
= 1,
252 ACPI_EINJ_WRITE_REGISTER
= 2,
253 ACPI_EINJ_WRITE_REGISTER_VALUE
= 3,
255 ACPI_EINJ_FLUSH_CACHELINE
= 5,
256 ACPI_EINJ_INSTRUCTION_RESERVED
= 6 /* 6 and greater are reserved */
259 struct acpi_einj_error_type_with_addr
{
261 u32 vendor_struct_offset
;
269 struct acpi_einj_vendor
{
278 /* EINJ Trigger Error Action Table */
280 struct acpi_einj_trigger
{
287 /* Command status return values */
289 enum acpi_einj_command_status
{
290 ACPI_EINJ_SUCCESS
= 0,
291 ACPI_EINJ_FAILURE
= 1,
292 ACPI_EINJ_INVALID_ACCESS
= 2,
293 ACPI_EINJ_STATUS_RESERVED
= 3 /* 3 and greater are reserved */
296 /* Error types returned from ACPI_EINJ_GET_ERROR_TYPE (bitfield) */
298 #define ACPI_EINJ_PROCESSOR_CORRECTABLE (1)
299 #define ACPI_EINJ_PROCESSOR_UNCORRECTABLE (1<<1)
300 #define ACPI_EINJ_PROCESSOR_FATAL (1<<2)
301 #define ACPI_EINJ_MEMORY_CORRECTABLE (1<<3)
302 #define ACPI_EINJ_MEMORY_UNCORRECTABLE (1<<4)
303 #define ACPI_EINJ_MEMORY_FATAL (1<<5)
304 #define ACPI_EINJ_PCIX_CORRECTABLE (1<<6)
305 #define ACPI_EINJ_PCIX_UNCORRECTABLE (1<<7)
306 #define ACPI_EINJ_PCIX_FATAL (1<<8)
307 #define ACPI_EINJ_PLATFORM_CORRECTABLE (1<<9)
308 #define ACPI_EINJ_PLATFORM_UNCORRECTABLE (1<<10)
309 #define ACPI_EINJ_PLATFORM_FATAL (1<<11)
310 #define ACPI_EINJ_VENDOR_DEFINED (1<<31)
312 /*******************************************************************************
314 * ERST - Error Record Serialization Table (ACPI 4.0)
317 ******************************************************************************/
319 struct acpi_table_erst
{
320 struct acpi_table_header header
; /* Common ACPI table header */
326 /* ERST Serialization Entries (actions) */
328 struct acpi_erst_entry
{
329 struct acpi_whea_header whea_header
; /* Common header for WHEA tables */
332 /* Masks for Flags field above */
334 #define ACPI_ERST_PRESERVE (1)
336 /* Values for Action field above */
338 enum acpi_erst_actions
{
339 ACPI_ERST_BEGIN_WRITE
= 0,
340 ACPI_ERST_BEGIN_READ
= 1,
341 ACPI_ERST_BEGIN_CLEAR
= 2,
343 ACPI_ERST_SET_RECORD_OFFSET
= 4,
344 ACPI_ERST_EXECUTE_OPERATION
= 5,
345 ACPI_ERST_CHECK_BUSY_STATUS
= 6,
346 ACPI_ERST_GET_COMMAND_STATUS
= 7,
347 ACPI_ERST_GET_RECORD_ID
= 8,
348 ACPI_ERST_SET_RECORD_ID
= 9,
349 ACPI_ERST_GET_RECORD_COUNT
= 10,
350 ACPI_ERST_BEGIN_DUMMY_WRIITE
= 11,
351 ACPI_ERST_NOT_USED
= 12,
352 ACPI_ERST_GET_ERROR_RANGE
= 13,
353 ACPI_ERST_GET_ERROR_LENGTH
= 14,
354 ACPI_ERST_GET_ERROR_ATTRIBUTES
= 15,
355 ACPI_ERST_EXECUTE_TIMINGS
= 16,
356 ACPI_ERST_ACTION_RESERVED
= 17 /* 17 and greater are reserved */
359 /* Values for Instruction field above */
361 enum acpi_erst_instructions
{
362 ACPI_ERST_READ_REGISTER
= 0,
363 ACPI_ERST_READ_REGISTER_VALUE
= 1,
364 ACPI_ERST_WRITE_REGISTER
= 2,
365 ACPI_ERST_WRITE_REGISTER_VALUE
= 3,
367 ACPI_ERST_LOAD_VAR1
= 5,
368 ACPI_ERST_LOAD_VAR2
= 6,
369 ACPI_ERST_STORE_VAR1
= 7,
371 ACPI_ERST_SUBTRACT
= 9,
372 ACPI_ERST_ADD_VALUE
= 10,
373 ACPI_ERST_SUBTRACT_VALUE
= 11,
374 ACPI_ERST_STALL
= 12,
375 ACPI_ERST_STALL_WHILE_TRUE
= 13,
376 ACPI_ERST_SKIP_NEXT_IF_TRUE
= 14,
378 ACPI_ERST_SET_SRC_ADDRESS_BASE
= 16,
379 ACPI_ERST_SET_DST_ADDRESS_BASE
= 17,
380 ACPI_ERST_MOVE_DATA
= 18,
381 ACPI_ERST_INSTRUCTION_RESERVED
= 19 /* 19 and greater are reserved */
384 /* Command status return values */
386 enum acpi_erst_command_status
{
387 ACPI_ERST_SUCESS
= 0,
388 ACPI_ERST_NO_SPACE
= 1,
389 ACPI_ERST_NOT_AVAILABLE
= 2,
390 ACPI_ERST_FAILURE
= 3,
391 ACPI_ERST_RECORD_EMPTY
= 4,
392 ACPI_ERST_NOT_FOUND
= 5,
393 ACPI_ERST_STATUS_RESERVED
= 6 /* 6 and greater are reserved */
396 /* Error Record Serialization Information */
398 struct acpi_erst_info
{
399 u16 signature
; /* Should be "ER" */
403 /*******************************************************************************
405 * HEST - Hardware Error Source Table (ACPI 4.0)
408 ******************************************************************************/
410 struct acpi_table_hest
{
411 struct acpi_table_header header
; /* Common ACPI table header */
412 u32 error_source_count
;
415 /* HEST subtable header */
417 struct acpi_hest_header
{
422 /* Values for Type field above for subtables */
424 enum acpi_hest_types
{
425 ACPI_HEST_TYPE_IA32_CHECK
= 0,
426 ACPI_HEST_TYPE_IA32_CORRECTED_CHECK
= 1,
427 ACPI_HEST_TYPE_IA32_NMI
= 2,
428 ACPI_HEST_TYPE_NOT_USED3
= 3,
429 ACPI_HEST_TYPE_NOT_USED4
= 4,
430 ACPI_HEST_TYPE_NOT_USED5
= 5,
431 ACPI_HEST_TYPE_AER_ROOT_PORT
= 6,
432 ACPI_HEST_TYPE_AER_ENDPOINT
= 7,
433 ACPI_HEST_TYPE_AER_BRIDGE
= 8,
434 ACPI_HEST_TYPE_GENERIC_ERROR
= 9,
435 ACPI_HEST_TYPE_GENERIC_ERROR_V2
= 10,
436 ACPI_HEST_TYPE_IA32_DEFERRED_CHECK
= 11,
437 ACPI_HEST_TYPE_RESERVED
= 12 /* 12 and greater are reserved */
441 * HEST substructures contained in subtables
445 * IA32 Error Bank(s) - Follows the struct acpi_hest_ia_machine_check and
446 * struct acpi_hest_ia_corrected structures.
448 struct acpi_hest_ia_error_bank
{
450 u8 clear_status_on_init
;
453 u32 control_register
;
456 u32 address_register
;
460 /* Common HEST sub-structure for PCI/AER structures below (6,7,8) */
462 struct acpi_hest_aer_common
{
466 u32 records_to_preallocate
;
467 u32 max_sections_per_record
;
468 u32 bus
; /* Bus and Segment numbers */
473 u32 uncorrectable_mask
;
474 u32 uncorrectable_severity
;
475 u32 correctable_mask
;
476 u32 advanced_capabilities
;
479 /* Masks for HEST Flags fields */
481 #define ACPI_HEST_FIRMWARE_FIRST (1)
482 #define ACPI_HEST_GLOBAL (1<<1)
483 #define ACPI_HEST_GHES_ASSIST (1<<2)
486 * Macros to access the bus/segment numbers in Bus field above:
487 * Bus number is encoded in bits 7:0
488 * Segment number is encoded in bits 23:8
490 #define ACPI_HEST_BUS(bus) ((bus) & 0xFF)
491 #define ACPI_HEST_SEGMENT(bus) (((bus) >> 8) & 0xFFFF)
493 /* Hardware Error Notification */
495 struct acpi_hest_notify
{
498 u16 config_write_enable
;
501 u32 polling_threshold_value
;
502 u32 polling_threshold_window
;
503 u32 error_threshold_value
;
504 u32 error_threshold_window
;
507 /* Values for Notify Type field above */
509 enum acpi_hest_notify_types
{
510 ACPI_HEST_NOTIFY_POLLED
= 0,
511 ACPI_HEST_NOTIFY_EXTERNAL
= 1,
512 ACPI_HEST_NOTIFY_LOCAL
= 2,
513 ACPI_HEST_NOTIFY_SCI
= 3,
514 ACPI_HEST_NOTIFY_NMI
= 4,
515 ACPI_HEST_NOTIFY_CMCI
= 5, /* ACPI 5.0 */
516 ACPI_HEST_NOTIFY_MCE
= 6, /* ACPI 5.0 */
517 ACPI_HEST_NOTIFY_GPIO
= 7, /* ACPI 6.0 */
518 ACPI_HEST_NOTIFY_SEA
= 8, /* ACPI 6.1 */
519 ACPI_HEST_NOTIFY_SEI
= 9, /* ACPI 6.1 */
520 ACPI_HEST_NOTIFY_GSIV
= 10, /* ACPI 6.1 */
521 ACPI_HEST_NOTIFY_SOFTWARE_DELEGATED
= 11, /* ACPI 6.2 */
522 ACPI_HEST_NOTIFY_RESERVED
= 12 /* 12 and greater are reserved */
525 /* Values for config_write_enable bitfield above */
527 #define ACPI_HEST_TYPE (1)
528 #define ACPI_HEST_POLL_INTERVAL (1<<1)
529 #define ACPI_HEST_POLL_THRESHOLD_VALUE (1<<2)
530 #define ACPI_HEST_POLL_THRESHOLD_WINDOW (1<<3)
531 #define ACPI_HEST_ERR_THRESHOLD_VALUE (1<<4)
532 #define ACPI_HEST_ERR_THRESHOLD_WINDOW (1<<5)
538 /* 0: IA32 Machine Check Exception */
540 struct acpi_hest_ia_machine_check
{
541 struct acpi_hest_header header
;
543 u8 flags
; /* See flags ACPI_HEST_GLOBAL, etc. above */
545 u32 records_to_preallocate
;
546 u32 max_sections_per_record
;
547 u64 global_capability_data
;
548 u64 global_control_data
;
549 u8 num_hardware_banks
;
553 /* 1: IA32 Corrected Machine Check */
555 struct acpi_hest_ia_corrected
{
556 struct acpi_hest_header header
;
558 u8 flags
; /* See flags ACPI_HEST_GLOBAL, etc. above */
560 u32 records_to_preallocate
;
561 u32 max_sections_per_record
;
562 struct acpi_hest_notify notify
;
563 u8 num_hardware_banks
;
567 /* 2: IA32 Non-Maskable Interrupt */
569 struct acpi_hest_ia_nmi
{
570 struct acpi_hest_header header
;
572 u32 records_to_preallocate
;
573 u32 max_sections_per_record
;
574 u32 max_raw_data_length
;
577 /* 3,4,5: Not used */
579 /* 6: PCI Express Root Port AER */
581 struct acpi_hest_aer_root
{
582 struct acpi_hest_header header
;
583 struct acpi_hest_aer_common aer
;
584 u32 root_error_command
;
587 /* 7: PCI Express AER (AER Endpoint) */
589 struct acpi_hest_aer
{
590 struct acpi_hest_header header
;
591 struct acpi_hest_aer_common aer
;
594 /* 8: PCI Express/PCI-X Bridge AER */
596 struct acpi_hest_aer_bridge
{
597 struct acpi_hest_header header
;
598 struct acpi_hest_aer_common aer
;
599 u32 uncorrectable_mask2
;
600 u32 uncorrectable_severity2
;
601 u32 advanced_capabilities2
;
604 /* 9: Generic Hardware Error Source */
606 struct acpi_hest_generic
{
607 struct acpi_hest_header header
;
608 u16 related_source_id
;
611 u32 records_to_preallocate
;
612 u32 max_sections_per_record
;
613 u32 max_raw_data_length
;
614 struct acpi_generic_address error_status_address
;
615 struct acpi_hest_notify notify
;
616 u32 error_block_length
;
619 /* 10: Generic Hardware Error Source, version 2 */
621 struct acpi_hest_generic_v2
{
622 struct acpi_hest_header header
;
623 u16 related_source_id
;
626 u32 records_to_preallocate
;
627 u32 max_sections_per_record
;
628 u32 max_raw_data_length
;
629 struct acpi_generic_address error_status_address
;
630 struct acpi_hest_notify notify
;
631 u32 error_block_length
;
632 struct acpi_generic_address read_ack_register
;
633 u64 read_ack_preserve
;
637 /* Generic Error Status block */
639 struct acpi_hest_generic_status
{
647 /* Values for block_status flags above */
649 #define ACPI_HEST_UNCORRECTABLE (1)
650 #define ACPI_HEST_CORRECTABLE (1<<1)
651 #define ACPI_HEST_MULTIPLE_UNCORRECTABLE (1<<2)
652 #define ACPI_HEST_MULTIPLE_CORRECTABLE (1<<3)
653 #define ACPI_HEST_ERROR_ENTRY_COUNT (0xFF<<4) /* 8 bits, error count */
655 /* Generic Error Data entry */
657 struct acpi_hest_generic_data
{
663 u32 error_data_length
;
668 /* Extension for revision 0x0300 */
670 struct acpi_hest_generic_data_v300
{
676 u32 error_data_length
;
682 /* Values for error_severity above */
684 #define ACPI_HEST_GEN_ERROR_RECOVERABLE 0
685 #define ACPI_HEST_GEN_ERROR_FATAL 1
686 #define ACPI_HEST_GEN_ERROR_CORRECTED 2
687 #define ACPI_HEST_GEN_ERROR_NONE 3
689 /* Flags for validation_bits above */
691 #define ACPI_HEST_GEN_VALID_FRU_ID (1)
692 #define ACPI_HEST_GEN_VALID_FRU_STRING (1<<1)
693 #define ACPI_HEST_GEN_VALID_TIMESTAMP (1<<2)
695 /* 11: IA32 Deferred Machine Check Exception (ACPI 6.2) */
697 struct acpi_hest_ia_deferred_check
{
698 struct acpi_hest_header header
;
700 u8 flags
; /* See flags ACPI_HEST_GLOBAL, etc. above */
702 u32 records_to_preallocate
;
703 u32 max_sections_per_record
;
704 struct acpi_hest_notify notify
;
705 u8 num_hardware_banks
;
709 /*******************************************************************************
711 * HMAT - Heterogeneous Memory Attributes Table (ACPI 6.2)
714 ******************************************************************************/
716 struct acpi_table_hmat
{
717 struct acpi_table_header header
; /* Common ACPI table header */
721 /* Values for HMAT structure types */
723 enum acpi_hmat_type
{
724 ACPI_HMAT_TYPE_ADDRESS_RANGE
= 0, /* Memory subystem address range */
725 ACPI_HMAT_TYPE_LOCALITY
= 1, /* System locality latency and bandwidth information */
726 ACPI_HMAT_TYPE_CACHE
= 2, /* Memory side cache information */
727 ACPI_HMAT_TYPE_RESERVED
= 3 /* 3 and greater are reserved */
730 struct acpi_hmat_structure
{
737 * HMAT Structures, correspond to Type in struct acpi_hmat_structure
740 /* 0: Memory subystem address range */
742 struct acpi_hmat_address_range
{
743 struct acpi_hmat_structure header
;
746 u32 processor_PD
; /* Processor proximity domain */
747 u32 memory_PD
; /* Memory proximity domain */
749 u64 physical_address_base
; /* Physical address range base */
750 u64 physical_address_length
; /* Physical address range length */
753 /* Masks for Flags field above */
755 #define ACPI_HMAT_PROCESSOR_PD_VALID (1) /* 1: processor_PD field is valid */
756 #define ACPI_HMAT_MEMORY_PD_VALID (1<<1) /* 1: memory_PD field is valid */
757 #define ACPI_HMAT_RESERVATION_HINT (1<<2) /* 1: Reservation hint */
759 /* 1: System locality latency and bandwidth information */
761 struct acpi_hmat_locality
{
762 struct acpi_hmat_structure header
;
766 u32 number_of_initiator_Pds
;
767 u32 number_of_target_Pds
;
772 /* Masks for Flags field above */
774 #define ACPI_HMAT_MEMORY_HIERARCHY (0x0F)
776 /* Values for Memory Hierarchy flag */
778 #define ACPI_HMAT_MEMORY 0
779 #define ACPI_HMAT_LAST_LEVEL_CACHE 1
780 #define ACPI_HMAT_1ST_LEVEL_CACHE 2
781 #define ACPI_HMAT_2ND_LEVEL_CACHE 3
782 #define ACPI_HMAT_3RD_LEVEL_CACHE 4
784 /* Values for data_type field above */
786 #define ACPI_HMAT_ACCESS_LATENCY 0
787 #define ACPI_HMAT_READ_LATENCY 1
788 #define ACPI_HMAT_WRITE_LATENCY 2
789 #define ACPI_HMAT_ACCESS_BANDWIDTH 3
790 #define ACPI_HMAT_READ_BANDWIDTH 4
791 #define ACPI_HMAT_WRITE_BANDWIDTH 5
793 /* 2: Memory side cache information */
795 struct acpi_hmat_cache
{
796 struct acpi_hmat_structure header
;
800 u32 cache_attributes
;
802 u16 number_of_SMBIOShandles
;
805 /* Masks for cache_attributes field above */
807 #define ACPI_HMAT_TOTAL_CACHE_LEVEL (0x0000000F)
808 #define ACPI_HMAT_CACHE_LEVEL (0x000000F0)
809 #define ACPI_HMAT_CACHE_ASSOCIATIVITY (0x00000F00)
810 #define ACPI_HMAT_WRITE_POLICY (0x0000F000)
811 #define ACPI_HMAT_CACHE_LINE_SIZE (0xFFFF0000)
813 /* Values for cache associativity flag */
815 #define ACPI_HMAT_CA_NONE (0)
816 #define ACPI_HMAT_CA_DIRECT_MAPPED (1)
817 #define ACPI_HMAT_CA_COMPLEX_CACHE_INDEXING (2)
819 /* Values for write policy flag */
821 #define ACPI_HMAT_CP_NONE (0)
822 #define ACPI_HMAT_CP_WB (1)
823 #define ACPI_HMAT_CP_WT (2)
825 /*******************************************************************************
827 * MADT - Multiple APIC Description Table
830 ******************************************************************************/
832 struct acpi_table_madt
{
833 struct acpi_table_header header
; /* Common ACPI table header */
834 u32 address
; /* Physical address of local APIC */
838 /* Masks for Flags field above */
840 #define ACPI_MADT_PCAT_COMPAT (1) /* 00: System also has dual 8259s */
842 /* Values for PCATCompat flag */
844 #define ACPI_MADT_DUAL_PIC 1
845 #define ACPI_MADT_MULTIPLE_APIC 0
847 /* Values for MADT subtable type in struct acpi_subtable_header */
849 enum acpi_madt_type
{
850 ACPI_MADT_TYPE_LOCAL_APIC
= 0,
851 ACPI_MADT_TYPE_IO_APIC
= 1,
852 ACPI_MADT_TYPE_INTERRUPT_OVERRIDE
= 2,
853 ACPI_MADT_TYPE_NMI_SOURCE
= 3,
854 ACPI_MADT_TYPE_LOCAL_APIC_NMI
= 4,
855 ACPI_MADT_TYPE_LOCAL_APIC_OVERRIDE
= 5,
856 ACPI_MADT_TYPE_IO_SAPIC
= 6,
857 ACPI_MADT_TYPE_LOCAL_SAPIC
= 7,
858 ACPI_MADT_TYPE_INTERRUPT_SOURCE
= 8,
859 ACPI_MADT_TYPE_LOCAL_X2APIC
= 9,
860 ACPI_MADT_TYPE_LOCAL_X2APIC_NMI
= 10,
861 ACPI_MADT_TYPE_GENERIC_INTERRUPT
= 11,
862 ACPI_MADT_TYPE_GENERIC_DISTRIBUTOR
= 12,
863 ACPI_MADT_TYPE_GENERIC_MSI_FRAME
= 13,
864 ACPI_MADT_TYPE_GENERIC_REDISTRIBUTOR
= 14,
865 ACPI_MADT_TYPE_GENERIC_TRANSLATOR
= 15,
866 ACPI_MADT_TYPE_RESERVED
= 16 /* 16 and greater are reserved */
870 * MADT Subtables, correspond to Type in struct acpi_subtable_header
873 /* 0: Processor Local APIC */
875 struct acpi_madt_local_apic
{
876 struct acpi_subtable_header header
;
877 u8 processor_id
; /* ACPI processor id */
878 u8 id
; /* Processor's local APIC id */
884 struct acpi_madt_io_apic
{
885 struct acpi_subtable_header header
;
886 u8 id
; /* I/O APIC ID */
887 u8 reserved
; /* reserved - must be zero */
888 u32 address
; /* APIC physical address */
889 u32 global_irq_base
; /* Global system interrupt where INTI lines start */
892 /* 2: Interrupt Override */
894 struct acpi_madt_interrupt_override
{
895 struct acpi_subtable_header header
;
896 u8 bus
; /* 0 - ISA */
897 u8 source_irq
; /* Interrupt source (IRQ) */
898 u32 global_irq
; /* Global system interrupt */
904 struct acpi_madt_nmi_source
{
905 struct acpi_subtable_header header
;
907 u32 global_irq
; /* Global system interrupt */
910 /* 4: Local APIC NMI */
912 struct acpi_madt_local_apic_nmi
{
913 struct acpi_subtable_header header
;
914 u8 processor_id
; /* ACPI processor id */
916 u8 lint
; /* LINTn to which NMI is connected */
919 /* 5: Address Override */
921 struct acpi_madt_local_apic_override
{
922 struct acpi_subtable_header header
;
923 u16 reserved
; /* Reserved, must be zero */
924 u64 address
; /* APIC physical address */
929 struct acpi_madt_io_sapic
{
930 struct acpi_subtable_header header
;
931 u8 id
; /* I/O SAPIC ID */
932 u8 reserved
; /* Reserved, must be zero */
933 u32 global_irq_base
; /* Global interrupt for SAPIC start */
934 u64 address
; /* SAPIC physical address */
939 struct acpi_madt_local_sapic
{
940 struct acpi_subtable_header header
;
941 u8 processor_id
; /* ACPI processor id */
942 u8 id
; /* SAPIC ID */
943 u8 eid
; /* SAPIC EID */
944 u8 reserved
[3]; /* Reserved, must be zero */
946 u32 uid
; /* Numeric UID - ACPI 3.0 */
947 char uid_string
[1]; /* String UID - ACPI 3.0 */
950 /* 8: Platform Interrupt Source */
952 struct acpi_madt_interrupt_source
{
953 struct acpi_subtable_header header
;
955 u8 type
; /* 1=PMI, 2=INIT, 3=corrected */
956 u8 id
; /* Processor ID */
957 u8 eid
; /* Processor EID */
958 u8 io_sapic_vector
; /* Vector value for PMI interrupts */
959 u32 global_irq
; /* Global system interrupt */
960 u32 flags
; /* Interrupt Source Flags */
963 /* Masks for Flags field above */
965 #define ACPI_MADT_CPEI_OVERRIDE (1)
967 /* 9: Processor Local X2APIC (ACPI 4.0) */
969 struct acpi_madt_local_x2apic
{
970 struct acpi_subtable_header header
;
971 u16 reserved
; /* reserved - must be zero */
972 u32 local_apic_id
; /* Processor x2APIC ID */
974 u32 uid
; /* ACPI processor UID */
977 /* 10: Local X2APIC NMI (ACPI 4.0) */
979 struct acpi_madt_local_x2apic_nmi
{
980 struct acpi_subtable_header header
;
982 u32 uid
; /* ACPI processor UID */
983 u8 lint
; /* LINTn to which NMI is connected */
984 u8 reserved
[3]; /* reserved - must be zero */
987 /* 11: Generic Interrupt (ACPI 5.0 + ACPI 6.0 changes) */
989 struct acpi_madt_generic_interrupt
{
990 struct acpi_subtable_header header
;
991 u16 reserved
; /* reserved - must be zero */
992 u32 cpu_interface_number
;
996 u32 performance_interrupt
;
999 u64 gicv_base_address
;
1000 u64 gich_base_address
;
1002 u64 gicr_base_address
;
1004 u8 efficiency_class
;
1008 /* Masks for Flags field above */
1010 /* ACPI_MADT_ENABLED (1) Processor is usable if set */
1011 #define ACPI_MADT_PERFORMANCE_IRQ_MODE (1<<1) /* 01: Performance Interrupt Mode */
1012 #define ACPI_MADT_VGIC_IRQ_MODE (1<<2) /* 02: VGIC Maintenance Interrupt mode */
1014 /* 12: Generic Distributor (ACPI 5.0 + ACPI 6.0 changes) */
1016 struct acpi_madt_generic_distributor
{
1017 struct acpi_subtable_header header
;
1018 u16 reserved
; /* reserved - must be zero */
1021 u32 global_irq_base
;
1023 u8 reserved2
[3]; /* reserved - must be zero */
1026 /* Values for Version field above */
1028 enum acpi_madt_gic_version
{
1029 ACPI_MADT_GIC_VERSION_NONE
= 0,
1030 ACPI_MADT_GIC_VERSION_V1
= 1,
1031 ACPI_MADT_GIC_VERSION_V2
= 2,
1032 ACPI_MADT_GIC_VERSION_V3
= 3,
1033 ACPI_MADT_GIC_VERSION_V4
= 4,
1034 ACPI_MADT_GIC_VERSION_RESERVED
= 5 /* 5 and greater are reserved */
1037 /* 13: Generic MSI Frame (ACPI 5.1) */
1039 struct acpi_madt_generic_msi_frame
{
1040 struct acpi_subtable_header header
;
1041 u16 reserved
; /* reserved - must be zero */
1049 /* Masks for Flags field above */
1051 #define ACPI_MADT_OVERRIDE_SPI_VALUES (1)
1053 /* 14: Generic Redistributor (ACPI 5.1) */
1055 struct acpi_madt_generic_redistributor
{
1056 struct acpi_subtable_header header
;
1057 u16 reserved
; /* reserved - must be zero */
1062 /* 15: Generic Translator (ACPI 6.0) */
1064 struct acpi_madt_generic_translator
{
1065 struct acpi_subtable_header header
;
1066 u16 reserved
; /* reserved - must be zero */
1073 * Common flags fields for MADT subtables
1076 /* MADT Local APIC flags */
1078 #define ACPI_MADT_ENABLED (1) /* 00: Processor is usable if set */
1080 /* MADT MPS INTI flags (inti_flags) */
1082 #define ACPI_MADT_POLARITY_MASK (3) /* 00-01: Polarity of APIC I/O input signals */
1083 #define ACPI_MADT_TRIGGER_MASK (3<<2) /* 02-03: Trigger mode of APIC input signals */
1085 /* Values for MPS INTI flags */
1087 #define ACPI_MADT_POLARITY_CONFORMS 0
1088 #define ACPI_MADT_POLARITY_ACTIVE_HIGH 1
1089 #define ACPI_MADT_POLARITY_RESERVED 2
1090 #define ACPI_MADT_POLARITY_ACTIVE_LOW 3
1092 #define ACPI_MADT_TRIGGER_CONFORMS (0)
1093 #define ACPI_MADT_TRIGGER_EDGE (1<<2)
1094 #define ACPI_MADT_TRIGGER_RESERVED (2<<2)
1095 #define ACPI_MADT_TRIGGER_LEVEL (3<<2)
1097 /*******************************************************************************
1099 * MSCT - Maximum System Characteristics Table (ACPI 4.0)
1102 ******************************************************************************/
1104 struct acpi_table_msct
{
1105 struct acpi_table_header header
; /* Common ACPI table header */
1106 u32 proximity_offset
; /* Location of proximity info struct(s) */
1107 u32 max_proximity_domains
; /* Max number of proximity domains */
1108 u32 max_clock_domains
; /* Max number of clock domains */
1109 u64 max_address
; /* Max physical address in system */
1112 /* subtable - Maximum Proximity Domain Information. Version 1 */
1114 struct acpi_msct_proximity
{
1117 u32 range_start
; /* Start of domain range */
1118 u32 range_end
; /* End of domain range */
1119 u32 processor_capacity
;
1120 u64 memory_capacity
; /* In bytes */
1123 /*******************************************************************************
1125 * NFIT - NVDIMM Interface Table (ACPI 6.0+)
1128 ******************************************************************************/
1130 struct acpi_table_nfit
{
1131 struct acpi_table_header header
; /* Common ACPI table header */
1132 u32 reserved
; /* Reserved, must be zero */
1135 /* Subtable header for NFIT */
1137 struct acpi_nfit_header
{
1142 /* Values for subtable type in struct acpi_nfit_header */
1144 enum acpi_nfit_type
{
1145 ACPI_NFIT_TYPE_SYSTEM_ADDRESS
= 0,
1146 ACPI_NFIT_TYPE_MEMORY_MAP
= 1,
1147 ACPI_NFIT_TYPE_INTERLEAVE
= 2,
1148 ACPI_NFIT_TYPE_SMBIOS
= 3,
1149 ACPI_NFIT_TYPE_CONTROL_REGION
= 4,
1150 ACPI_NFIT_TYPE_DATA_REGION
= 5,
1151 ACPI_NFIT_TYPE_FLUSH_ADDRESS
= 6,
1152 ACPI_NFIT_TYPE_RESERVED
= 7 /* 7 and greater are reserved */
1159 /* 0: System Physical Address Range Structure */
1161 struct acpi_nfit_system_address
{
1162 struct acpi_nfit_header header
;
1165 u32 reserved
; /* Reseved, must be zero */
1166 u32 proximity_domain
;
1175 #define ACPI_NFIT_ADD_ONLINE_ONLY (1) /* 00: Add/Online Operation Only */
1176 #define ACPI_NFIT_PROXIMITY_VALID (1<<1) /* 01: Proximity Domain Valid */
1178 /* Range Type GUIDs appear in the include/acuuid.h file */
1180 /* 1: Memory Device to System Address Range Map Structure */
1182 struct acpi_nfit_memory_map
{
1183 struct acpi_nfit_header header
;
1192 u16 interleave_index
;
1193 u16 interleave_ways
;
1195 u16 reserved
; /* Reserved, must be zero */
1200 #define ACPI_NFIT_MEM_SAVE_FAILED (1) /* 00: Last SAVE to Memory Device failed */
1201 #define ACPI_NFIT_MEM_RESTORE_FAILED (1<<1) /* 01: Last RESTORE from Memory Device failed */
1202 #define ACPI_NFIT_MEM_FLUSH_FAILED (1<<2) /* 02: Platform flush failed */
1203 #define ACPI_NFIT_MEM_NOT_ARMED (1<<3) /* 03: Memory Device is not armed */
1204 #define ACPI_NFIT_MEM_HEALTH_OBSERVED (1<<4) /* 04: Memory Device observed SMART/health events */
1205 #define ACPI_NFIT_MEM_HEALTH_ENABLED (1<<5) /* 05: SMART/health events enabled */
1206 #define ACPI_NFIT_MEM_MAP_FAILED (1<<6) /* 06: Mapping to SPA failed */
1208 /* 2: Interleave Structure */
1210 struct acpi_nfit_interleave
{
1211 struct acpi_nfit_header header
;
1212 u16 interleave_index
;
1213 u16 reserved
; /* Reserved, must be zero */
1216 u32 line_offset
[1]; /* Variable length */
1219 /* 3: SMBIOS Management Information Structure */
1221 struct acpi_nfit_smbios
{
1222 struct acpi_nfit_header header
;
1223 u32 reserved
; /* Reserved, must be zero */
1224 u8 data
[1]; /* Variable length */
1227 /* 4: NVDIMM Control Region Structure */
1229 struct acpi_nfit_control_region
{
1230 struct acpi_nfit_header header
;
1235 u16 subsystem_vendor_id
;
1236 u16 subsystem_device_id
;
1237 u16 subsystem_revision_id
;
1239 u8 manufacturing_location
;
1240 u16 manufacturing_date
;
1241 u8 reserved
[2]; /* Reserved, must be zero */
1251 u8 reserved1
[6]; /* Reserved, must be zero */
1256 #define ACPI_NFIT_CONTROL_BUFFERED (1) /* Block Data Windows implementation is buffered */
1258 /* valid_fields bits */
1260 #define ACPI_NFIT_CONTROL_MFG_INFO_VALID (1) /* Manufacturing fields are valid */
1262 /* 5: NVDIMM Block Data Window Region Structure */
1264 struct acpi_nfit_data_region
{
1265 struct acpi_nfit_header header
;
1274 /* 6: Flush Hint Address Structure */
1276 struct acpi_nfit_flush_address
{
1277 struct acpi_nfit_header header
;
1280 u8 reserved
[6]; /* Reserved, must be zero */
1281 u64 hint_address
[1]; /* Variable length */
1284 /*******************************************************************************
1286 * PDTT - Processor Debug Trigger Table (ACPI 6.2)
1289 ******************************************************************************/
1291 struct acpi_table_pdtt
{
1292 struct acpi_table_header header
; /* Common ACPI table header */
1299 * PDTT Communication Channel Identifier Structure.
1300 * The number of these structures is defined by trigger_count above,
1301 * starting at array_offset.
1303 struct acpi_pdtt_channel
{
1307 /* Mask and Flags for above */
1309 #define ACPI_PDTT_SUBCHANNEL_ID_MASK 0x00FF
1310 #define ACPI_PDTT_RUNTIME_TRIGGER (1<<8)
1311 #define ACPI_PPTT_WAIT_COMPLETION (1<<9)
1313 /*******************************************************************************
1315 * PPTT - Processor Properties Topology Table (ACPI 6.2)
1318 ******************************************************************************/
1320 struct acpi_table_pptt
{
1321 struct acpi_table_header header
; /* Common ACPI table header */
1324 /* Values for Type field above */
1326 enum acpi_pptt_type
{
1327 ACPI_PPTT_TYPE_PROCESSOR
= 0,
1328 ACPI_PPTT_TYPE_CACHE
= 1,
1329 ACPI_PPTT_TYPE_ID
= 2,
1330 ACPI_PPTT_TYPE_RESERVED
= 3
1333 /* 0: Processor Hierarchy Node Structure */
1335 struct acpi_pptt_processor
{
1336 struct acpi_subtable_header header
;
1340 u32 acpi_processor_id
;
1341 u32 number_of_priv_resources
;
1346 #define ACPI_PPTT_PHYSICAL_PACKAGE (1) /* Physical package */
1347 #define ACPI_PPTT_ACPI_PROCESSOR_ID_VALID (2) /* ACPI Processor ID valid */
1349 /* 1: Cache Type Structure */
1351 struct acpi_pptt_cache
{
1352 struct acpi_subtable_header header
;
1355 u32 next_level_of_cache
;
1365 #define ACPI_PPTT_SIZE_PROPERTY_VALID (1) /* Physical property valid */
1366 #define ACPI_PPTT_NUMBER_OF_SETS_VALID (1<<1) /* Number of sets valid */
1367 #define ACPI_PPTT_ASSOCIATIVITY_VALID (1<<2) /* Associativity valid */
1368 #define ACPI_PPTT_ALLOCATION_TYPE_VALID (1<<3) /* Allocation type valid */
1369 #define ACPI_PPTT_CACHE_TYPE_VALID (1<<4) /* Cache type valid */
1370 #define ACPI_PPTT_WRITE_POLICY_VALID (1<<5) /* Write policy valid */
1371 #define ACPI_PPTT_LINE_SIZE_VALID (1<<6) /* Line size valid */
1373 /* Masks for Attributes */
1375 #define ACPI_PPTT_MASK_ALLOCATION_TYPE (0x03) /* Allocation type */
1376 #define ACPI_PPTT_MASK_CACHE_TYPE (0x0C) /* Cache type */
1377 #define ACPI_PPTT_MASK_WRITE_POLICY (0x10) /* Write policy */
1379 /* 2: ID Structure */
1381 struct acpi_pptt_id
{
1382 struct acpi_subtable_header header
;
1392 /*******************************************************************************
1394 * SBST - Smart Battery Specification Table
1397 ******************************************************************************/
1399 struct acpi_table_sbst
{
1400 struct acpi_table_header header
; /* Common ACPI table header */
1406 /*******************************************************************************
1408 * SLIT - System Locality Distance Information Table
1411 ******************************************************************************/
1413 struct acpi_table_slit
{
1414 struct acpi_table_header header
; /* Common ACPI table header */
1416 u8 entry
[1]; /* Real size = localities^2 */
1419 /*******************************************************************************
1421 * SRAT - System Resource Affinity Table
1424 ******************************************************************************/
1426 struct acpi_table_srat
{
1427 struct acpi_table_header header
; /* Common ACPI table header */
1428 u32 table_revision
; /* Must be value '1' */
1429 u64 reserved
; /* Reserved, must be zero */
1432 /* Values for subtable type in struct acpi_subtable_header */
1434 enum acpi_srat_type
{
1435 ACPI_SRAT_TYPE_CPU_AFFINITY
= 0,
1436 ACPI_SRAT_TYPE_MEMORY_AFFINITY
= 1,
1437 ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY
= 2,
1438 ACPI_SRAT_TYPE_GICC_AFFINITY
= 3,
1439 ACPI_SRAT_TYPE_GIC_ITS_AFFINITY
= 4, /* ACPI 6.2 */
1440 ACPI_SRAT_TYPE_RESERVED
= 5 /* 5 and greater are reserved */
1444 * SRAT Subtables, correspond to Type in struct acpi_subtable_header
1447 /* 0: Processor Local APIC/SAPIC Affinity */
1449 struct acpi_srat_cpu_affinity
{
1450 struct acpi_subtable_header header
;
1451 u8 proximity_domain_lo
;
1455 u8 proximity_domain_hi
[3];
1461 #define ACPI_SRAT_CPU_USE_AFFINITY (1) /* 00: Use affinity structure */
1463 /* 1: Memory Affinity */
1465 struct acpi_srat_mem_affinity
{
1466 struct acpi_subtable_header header
;
1467 u32 proximity_domain
;
1468 u16 reserved
; /* Reserved, must be zero */
1473 u64 reserved2
; /* Reserved, must be zero */
1478 #define ACPI_SRAT_MEM_ENABLED (1) /* 00: Use affinity structure */
1479 #define ACPI_SRAT_MEM_HOT_PLUGGABLE (1<<1) /* 01: Memory region is hot pluggable */
1480 #define ACPI_SRAT_MEM_NON_VOLATILE (1<<2) /* 02: Memory region is non-volatile */
1482 /* 2: Processor Local X2_APIC Affinity (ACPI 4.0) */
1484 struct acpi_srat_x2apic_cpu_affinity
{
1485 struct acpi_subtable_header header
;
1486 u16 reserved
; /* Reserved, must be zero */
1487 u32 proximity_domain
;
1494 /* Flags for struct acpi_srat_cpu_affinity and struct acpi_srat_x2apic_cpu_affinity */
1496 #define ACPI_SRAT_CPU_ENABLED (1) /* 00: Use affinity structure */
1498 /* 3: GICC Affinity (ACPI 5.1) */
1500 struct acpi_srat_gicc_affinity
{
1501 struct acpi_subtable_header header
;
1502 u32 proximity_domain
;
1503 u32 acpi_processor_uid
;
1508 /* Flags for struct acpi_srat_gicc_affinity */
1510 #define ACPI_SRAT_GICC_ENABLED (1) /* 00: Use affinity structure */
1512 /* 4: GCC ITS Affinity (ACPI 6.2) */
1514 struct acpi_srat_gic_its_affinity
{
1515 struct acpi_subtable_header header
;
1516 u32 proximity_domain
;
1521 /* Reset to default packing */
1525 #endif /* __ACTBL1_H__ */