diff options
author | Bob Moore <robert.moore@intel.com> | 2011-11-15 22:04:00 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-01-17 03:36:28 -0500 |
commit | c5bd6537329e66a8b36234f19a36d94b72d07394 (patch) | |
tree | fa513caf57b0440868e8d4fbd7ef5403b2d5b316 /include/acpi/actbl1.h | |
parent | 22e5b40ab21fcac21db0ff25fbb844ffecc73a4a (diff) |
ACPI 5.0: Add new/changed tables to headers
Adds new file, actbl3.h
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/actbl1.h')
-rw-r--r-- | include/acpi/actbl1.h | 57 |
1 files changed, 53 insertions, 4 deletions
diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index 7504bc99b29b..71e747beac8f 100644 --- a/include/acpi/actbl1.h +++ b/include/acpi/actbl1.h | |||
@@ -228,7 +228,8 @@ enum acpi_einj_actions { | |||
228 | ACPI_EINJ_EXECUTE_OPERATION = 5, | 228 | ACPI_EINJ_EXECUTE_OPERATION = 5, |
229 | ACPI_EINJ_CHECK_BUSY_STATUS = 6, | 229 | ACPI_EINJ_CHECK_BUSY_STATUS = 6, |
230 | ACPI_EINJ_GET_COMMAND_STATUS = 7, | 230 | ACPI_EINJ_GET_COMMAND_STATUS = 7, |
231 | ACPI_EINJ_ACTION_RESERVED = 8, /* 8 and greater are reserved */ | 231 | ACPI_EINJ_SET_ERROR_TYPE_WITH_ADDRESS = 8, |
232 | ACPI_EINJ_ACTION_RESERVED = 9, /* 9 and greater are reserved */ | ||
232 | ACPI_EINJ_TRIGGER_ERROR = 0xFF /* Except for this value */ | 233 | ACPI_EINJ_TRIGGER_ERROR = 0xFF /* Except for this value */ |
233 | }; | 234 | }; |
234 | 235 | ||
@@ -240,7 +241,27 @@ enum acpi_einj_instructions { | |||
240 | ACPI_EINJ_WRITE_REGISTER = 2, | 241 | ACPI_EINJ_WRITE_REGISTER = 2, |
241 | ACPI_EINJ_WRITE_REGISTER_VALUE = 3, | 242 | ACPI_EINJ_WRITE_REGISTER_VALUE = 3, |
242 | ACPI_EINJ_NOOP = 4, | 243 | ACPI_EINJ_NOOP = 4, |
243 | ACPI_EINJ_INSTRUCTION_RESERVED = 5 /* 5 and greater are reserved */ | 244 | ACPI_EINJ_FLUSH_CACHELINE = 5, |
245 | ACPI_EINJ_INSTRUCTION_RESERVED = 6 /* 6 and greater are reserved */ | ||
246 | }; | ||
247 | |||
248 | struct acpi_einj_error_type_with_addr { | ||
249 | u32 error_type; | ||
250 | u32 vendor_struct_offset; | ||
251 | u32 flags; | ||
252 | u32 apic_id; | ||
253 | u64 address; | ||
254 | u64 range; | ||
255 | u32 pcie_id; | ||
256 | }; | ||
257 | |||
258 | struct acpi_einj_vendor { | ||
259 | u32 length; | ||
260 | u32 pcie_id; | ||
261 | u16 vendor_id; | ||
262 | u16 device_id; | ||
263 | u8 revision_id; | ||
264 | u8 reserved[3]; | ||
244 | }; | 265 | }; |
245 | 266 | ||
246 | /* EINJ Trigger Error Action Table */ | 267 | /* EINJ Trigger Error Action Table */ |
@@ -275,6 +296,7 @@ enum acpi_einj_command_status { | |||
275 | #define ACPI_EINJ_PLATFORM_CORRECTABLE (1<<9) | 296 | #define ACPI_EINJ_PLATFORM_CORRECTABLE (1<<9) |
276 | #define ACPI_EINJ_PLATFORM_UNCORRECTABLE (1<<10) | 297 | #define ACPI_EINJ_PLATFORM_UNCORRECTABLE (1<<10) |
277 | #define ACPI_EINJ_PLATFORM_FATAL (1<<11) | 298 | #define ACPI_EINJ_PLATFORM_FATAL (1<<11) |
299 | #define ACPI_EINJ_VENDOR_DEFINED (1<<31) | ||
278 | 300 | ||
279 | /******************************************************************************* | 301 | /******************************************************************************* |
280 | * | 302 | * |
@@ -631,7 +653,9 @@ enum acpi_madt_type { | |||
631 | ACPI_MADT_TYPE_INTERRUPT_SOURCE = 8, | 653 | ACPI_MADT_TYPE_INTERRUPT_SOURCE = 8, |
632 | ACPI_MADT_TYPE_LOCAL_X2APIC = 9, | 654 | ACPI_MADT_TYPE_LOCAL_X2APIC = 9, |
633 | ACPI_MADT_TYPE_LOCAL_X2APIC_NMI = 10, | 655 | ACPI_MADT_TYPE_LOCAL_X2APIC_NMI = 10, |
634 | ACPI_MADT_TYPE_RESERVED = 11 /* 11 and greater are reserved */ | 656 | ACPI_MADT_TYPE_GENERIC_INTERRUPT = 11, |
657 | ACPI_MADT_TYPE_GENERIC_DISTRIBUTOR = 12, | ||
658 | ACPI_MADT_TYPE_RESERVED = 13 /* 13 and greater are reserved */ | ||
635 | }; | 659 | }; |
636 | 660 | ||
637 | /* | 661 | /* |
@@ -752,11 +776,36 @@ struct acpi_madt_local_x2apic_nmi { | |||
752 | u8 reserved[3]; | 776 | u8 reserved[3]; |
753 | }; | 777 | }; |
754 | 778 | ||
779 | /* 11: Generic Interrupt (ACPI 5.0) */ | ||
780 | |||
781 | struct acpi_madt_generic_interrupt { | ||
782 | struct acpi_subtable_header header; | ||
783 | u16 reserved; /* Reserved - must be zero */ | ||
784 | u32 gic_id; | ||
785 | u32 uid; | ||
786 | u32 flags; | ||
787 | u32 parking_version; | ||
788 | u32 performance_interrupt; | ||
789 | u64 parked_address; | ||
790 | u64 base_address; | ||
791 | }; | ||
792 | |||
793 | /* 12: Generic Distributor (ACPI 5.0) */ | ||
794 | |||
795 | struct acpi_madt_generic_distributor { | ||
796 | struct acpi_subtable_header header; | ||
797 | u16 reserved; /* Reserved - must be zero */ | ||
798 | u32 gic_id; | ||
799 | u64 base_address; | ||
800 | u32 global_irq_base; | ||
801 | u32 reserved2; /* Reserved - must be zero */ | ||
802 | }; | ||
803 | |||
755 | /* | 804 | /* |
756 | * Common flags fields for MADT subtables | 805 | * Common flags fields for MADT subtables |
757 | */ | 806 | */ |
758 | 807 | ||
759 | /* MADT Local APIC flags (lapic_flags) */ | 808 | /* MADT Local APIC flags (lapic_flags) and GIC flags */ |
760 | 809 | ||
761 | #define ACPI_MADT_ENABLED (1) /* 00: Processor is usable if set */ | 810 | #define ACPI_MADT_ENABLED (1) /* 00: Processor is usable if set */ |
762 | 811 | ||