diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/acbuffer.h | 2 | ||||
| -rw-r--r-- | include/acpi/acconfig.h | 4 | ||||
| -rw-r--r-- | include/acpi/acexcep.h | 5 | ||||
| -rw-r--r-- | include/acpi/acnames.h | 2 | ||||
| -rw-r--r-- | include/acpi/acoutput.h | 4 | ||||
| -rw-r--r-- | include/acpi/acpi.h | 2 | ||||
| -rw-r--r-- | include/acpi/acpiosxf.h | 2 | ||||
| -rw-r--r-- | include/acpi/acpixf.h | 18 | ||||
| -rw-r--r-- | include/acpi/acrestyp.h | 16 | ||||
| -rw-r--r-- | include/acpi/actbl.h | 2 | ||||
| -rw-r--r-- | include/acpi/actbl1.h | 19 | ||||
| -rw-r--r-- | include/acpi/actbl2.h | 17 | ||||
| -rw-r--r-- | include/acpi/actbl3.h | 21 | ||||
| -rw-r--r-- | include/acpi/actypes.h | 14 | ||||
| -rw-r--r-- | include/acpi/acuuid.h | 2 | ||||
| -rw-r--r-- | include/acpi/ghes.h | 4 | ||||
| -rw-r--r-- | include/acpi/platform/acenv.h | 2 | ||||
| -rw-r--r-- | include/acpi/platform/acenvex.h | 2 | ||||
| -rw-r--r-- | include/acpi/platform/acgcc.h | 2 | ||||
| -rw-r--r-- | include/acpi/platform/acgccex.h | 2 | ||||
| -rw-r--r-- | include/acpi/platform/acintel.h | 2 | ||||
| -rw-r--r-- | include/acpi/platform/aclinux.h | 2 | ||||
| -rw-r--r-- | include/acpi/platform/aclinuxex.h | 2 | ||||
| -rw-r--r-- | include/linux/arm_sdei.h | 9 | ||||
| -rw-r--r-- | include/linux/initrd.h | 3 |
25 files changed, 96 insertions, 64 deletions
diff --git a/include/acpi/acbuffer.h b/include/acpi/acbuffer.h index 6488d572739c..c2acd29f973d 100644 --- a/include/acpi/acbuffer.h +++ b/include/acpi/acbuffer.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acbuffer.h - Support for buffers returned by ACPI predefined names | 4 | * Name: acbuffer.h - Support for buffers returned by ACPI predefined names |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/acpi/acconfig.h b/include/acpi/acconfig.h index 53c088247d36..16a83959e616 100644 --- a/include/acpi/acconfig.h +++ b/include/acpi/acconfig.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acconfig.h - Global configuration constants | 4 | * Name: acconfig.h - Global configuration constants |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
| @@ -141,7 +141,7 @@ | |||
| 141 | 141 | ||
| 142 | /* | 142 | /* |
| 143 | * Maximal number of elements the Result Stack can contain, | 143 | * Maximal number of elements the Result Stack can contain, |
| 144 | * it may be an arbitray value not exceeding the types of | 144 | * it may be an arbitrary value not exceeding the types of |
| 145 | * result_size and result_count (now u8). | 145 | * result_size and result_count (now u8). |
| 146 | */ | 146 | */ |
| 147 | #define ACPI_RESULTS_OBJ_NUM_MAX 255 | 147 | #define ACPI_RESULTS_OBJ_NUM_MAX 255 |
diff --git a/include/acpi/acexcep.h b/include/acpi/acexcep.h index 09f46050961f..233a72f169bb 100644 --- a/include/acpi/acexcep.h +++ b/include/acpi/acexcep.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acexcep.h - Exception codes returned by the ACPI subsystem | 4 | * Name: acexcep.h - Exception codes returned by the ACPI subsystem |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
| @@ -311,7 +311,8 @@ static const struct acpi_exception_info acpi_gbl_exception_names_aml[] = { | |||
| 311 | "An ACPI name contains invalid character(s)"), | 311 | "An ACPI name contains invalid character(s)"), |
| 312 | EXCEP_TXT("AE_AML_NAME_NOT_FOUND", | 312 | EXCEP_TXT("AE_AML_NAME_NOT_FOUND", |
| 313 | "Could not resolve a named reference"), | 313 | "Could not resolve a named reference"), |
| 314 | EXCEP_TXT("AE_AML_INTERNAL", "An internal error within the interprete"), | 314 | EXCEP_TXT("AE_AML_INTERNAL", |
| 315 | "An internal error within the interpreter"), | ||
| 315 | EXCEP_TXT("AE_AML_INVALID_SPACE_ID", | 316 | EXCEP_TXT("AE_AML_INVALID_SPACE_ID", |
| 316 | "An Operation Region SpaceID is invalid"), | 317 | "An Operation Region SpaceID is invalid"), |
| 317 | EXCEP_TXT("AE_AML_STRING_LIMIT", | 318 | EXCEP_TXT("AE_AML_STRING_LIMIT", |
diff --git a/include/acpi/acnames.h b/include/acpi/acnames.h index 6f69a4f638f8..8b3eae96706a 100644 --- a/include/acpi/acnames.h +++ b/include/acpi/acnames.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acnames.h - Global names and strings | 4 | * Name: acnames.h - Global names and strings |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h index 6db9a6d40c85..30b1ae53689f 100644 --- a/include/acpi/acoutput.h +++ b/include/acpi/acoutput.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acoutput.h -- debug output | 4 | * Name: acoutput.h -- debug output |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
| @@ -201,6 +201,7 @@ | |||
| 201 | #define ACPI_EXCEPTION(plist) acpi_exception plist | 201 | #define ACPI_EXCEPTION(plist) acpi_exception plist |
| 202 | #define ACPI_ERROR(plist) acpi_error plist | 202 | #define ACPI_ERROR(plist) acpi_error plist |
| 203 | #define ACPI_BIOS_WARNING(plist) acpi_bios_warning plist | 203 | #define ACPI_BIOS_WARNING(plist) acpi_bios_warning plist |
| 204 | #define ACPI_BIOS_EXCEPTION(plist) acpi_bios_exception plist | ||
| 204 | #define ACPI_BIOS_ERROR(plist) acpi_bios_error plist | 205 | #define ACPI_BIOS_ERROR(plist) acpi_bios_error plist |
| 205 | #define ACPI_DEBUG_OBJECT(obj,l,i) acpi_ex_do_debug_object(obj,l,i) | 206 | #define ACPI_DEBUG_OBJECT(obj,l,i) acpi_ex_do_debug_object(obj,l,i) |
| 206 | 207 | ||
| @@ -213,6 +214,7 @@ | |||
| 213 | #define ACPI_EXCEPTION(plist) | 214 | #define ACPI_EXCEPTION(plist) |
| 214 | #define ACPI_ERROR(plist) | 215 | #define ACPI_ERROR(plist) |
| 215 | #define ACPI_BIOS_WARNING(plist) | 216 | #define ACPI_BIOS_WARNING(plist) |
| 217 | #define ACPI_BIOS_EXCEPTION(plist) | ||
| 216 | #define ACPI_BIOS_ERROR(plist) | 218 | #define ACPI_BIOS_ERROR(plist) |
| 217 | #define ACPI_DEBUG_OBJECT(obj,l,i) | 219 | #define ACPI_DEBUG_OBJECT(obj,l,i) |
| 218 | 220 | ||
diff --git a/include/acpi/acpi.h b/include/acpi/acpi.h index ccdc5981bc91..bc7d39ecf574 100644 --- a/include/acpi/acpi.h +++ b/include/acpi/acpi.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acpi.h - Master public include file used to interface to ACPICA | 4 | * Name: acpi.h - Master public include file used to interface to ACPICA |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index eb1f21af7556..1b59fb61f67d 100644 --- a/include/acpi/acpiosxf.h +++ b/include/acpi/acpiosxf.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * interfaces must be implemented by OSL to interface the | 5 | * interfaces must be implemented by OSL to interface the |
| 6 | * ACPI components to the host operating system. | 6 | * ACPI components to the host operating system. |
| 7 | * | 7 | * |
| 8 | * Copyright (C) 2000 - 2018, Intel Corp. | 8 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 9 | * | 9 | * |
| 10 | *****************************************************************************/ | 10 | *****************************************************************************/ |
| 11 | 11 | ||
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 7aa38b648564..24dbb4e742a6 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acpixf.h - External interfaces to the ACPI subsystem | 4 | * Name: acpixf.h - External interfaces to the ACPI subsystem |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | /* Current ACPICA subsystem version in YYYYMMDD format */ | 13 | /* Current ACPICA subsystem version in YYYYMMDD format */ |
| 14 | 14 | ||
| 15 | #define ACPI_CA_VERSION 0x20181213 | 15 | #define ACPI_CA_VERSION 0x20190215 |
| 16 | 16 | ||
| 17 | #include <acpi/acconfig.h> | 17 | #include <acpi/acconfig.h> |
| 18 | #include <acpi/actypes.h> | 18 | #include <acpi/actypes.h> |
| @@ -157,14 +157,6 @@ ACPI_INIT_GLOBAL(u8, acpi_gbl_copy_dsdt_locally, FALSE); | |||
| 157 | ACPI_INIT_GLOBAL(u8, acpi_gbl_do_not_use_xsdt, FALSE); | 157 | ACPI_INIT_GLOBAL(u8, acpi_gbl_do_not_use_xsdt, FALSE); |
| 158 | 158 | ||
| 159 | /* | 159 | /* |
| 160 | * Optionally support module level code by parsing an entire table as | ||
| 161 | * a method as it is loaded. Default is TRUE. | ||
| 162 | * NOTE, this is essentially obsolete and will be removed soon | ||
| 163 | * (01/2018). | ||
| 164 | */ | ||
| 165 | ACPI_INIT_GLOBAL(u8, acpi_gbl_execute_tables_as_methods, TRUE); | ||
| 166 | |||
| 167 | /* | ||
| 168 | * Optionally use 32-bit FADT addresses if and when there is a conflict | 160 | * Optionally use 32-bit FADT addresses if and when there is a conflict |
| 169 | * (address mismatch) between the 32-bit and 64-bit versions of the | 161 | * (address mismatch) between the 32-bit and 64-bit versions of the |
| 170 | * address. Although ACPICA adheres to the ACPI specification which | 162 | * address. Although ACPICA adheres to the ACPI specification which |
| @@ -903,6 +895,12 @@ ACPI_MSG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(3) | |||
| 903 | acpi_bios_error(const char *module_name, | 895 | acpi_bios_error(const char *module_name, |
| 904 | u32 line_number, | 896 | u32 line_number, |
| 905 | const char *format, ...)) | 897 | const char *format, ...)) |
| 898 | ACPI_MSG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(4) | ||
| 899 | void ACPI_INTERNAL_VAR_XFACE | ||
| 900 | acpi_bios_exception(const char *module_name, | ||
| 901 | u32 line_number, | ||
| 902 | acpi_status status, | ||
| 903 | const char *format, ...)) | ||
| 906 | ACPI_MSG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(3) | 904 | ACPI_MSG_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(3) |
| 907 | void ACPI_INTERNAL_VAR_XFACE | 905 | void ACPI_INTERNAL_VAR_XFACE |
| 908 | acpi_bios_warning(const char *module_name, | 906 | acpi_bios_warning(const char *module_name, |
diff --git a/include/acpi/acrestyp.h b/include/acpi/acrestyp.h index 724ad5f29a16..62930583219f 100644 --- a/include/acpi/acrestyp.h +++ b/include/acpi/acrestyp.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acrestyp.h - Defines, types, and structures for resource descriptors | 4 | * Name: acrestyp.h - Defines, types, and structures for resource descriptors |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
| @@ -139,7 +139,7 @@ struct acpi_resource_irq { | |||
| 139 | u8 descriptor_length; | 139 | u8 descriptor_length; |
| 140 | u8 triggering; | 140 | u8 triggering; |
| 141 | u8 polarity; | 141 | u8 polarity; |
| 142 | u8 sharable; | 142 | u8 shareable; |
| 143 | u8 wake_capable; | 143 | u8 wake_capable; |
| 144 | u8 interrupt_count; | 144 | u8 interrupt_count; |
| 145 | u8 interrupts[1]; | 145 | u8 interrupts[1]; |
| @@ -328,7 +328,7 @@ struct acpi_resource_extended_irq { | |||
| 328 | u8 producer_consumer; | 328 | u8 producer_consumer; |
| 329 | u8 triggering; | 329 | u8 triggering; |
| 330 | u8 polarity; | 330 | u8 polarity; |
| 331 | u8 sharable; | 331 | u8 shareable; |
| 332 | u8 wake_capable; | 332 | u8 wake_capable; |
| 333 | u8 interrupt_count; | 333 | u8 interrupt_count; |
| 334 | struct acpi_resource_source resource_source; | 334 | struct acpi_resource_source resource_source; |
| @@ -348,7 +348,7 @@ struct acpi_resource_gpio { | |||
| 348 | u8 connection_type; | 348 | u8 connection_type; |
| 349 | u8 producer_consumer; /* For values, see Producer/Consumer above */ | 349 | u8 producer_consumer; /* For values, see Producer/Consumer above */ |
| 350 | u8 pin_config; | 350 | u8 pin_config; |
| 351 | u8 sharable; /* For values, see Interrupt Attributes above */ | 351 | u8 shareable; /* For values, see Interrupt Attributes above */ |
| 352 | u8 wake_capable; /* For values, see Interrupt Attributes above */ | 352 | u8 wake_capable; /* For values, see Interrupt Attributes above */ |
| 353 | u8 io_restriction; | 353 | u8 io_restriction; |
| 354 | u8 triggering; /* For values, see Interrupt Attributes above */ | 354 | u8 triggering; /* For values, see Interrupt Attributes above */ |
| @@ -508,7 +508,7 @@ struct acpi_resource_uart_serialbus { | |||
| 508 | struct acpi_resource_pin_function { | 508 | struct acpi_resource_pin_function { |
| 509 | u8 revision_id; | 509 | u8 revision_id; |
| 510 | u8 pin_config; | 510 | u8 pin_config; |
| 511 | u8 sharable; /* For values, see Interrupt Attributes above */ | 511 | u8 shareable; /* For values, see Interrupt Attributes above */ |
| 512 | u16 function_number; | 512 | u16 function_number; |
| 513 | u16 pin_table_length; | 513 | u16 pin_table_length; |
| 514 | u16 vendor_length; | 514 | u16 vendor_length; |
| @@ -520,7 +520,7 @@ struct acpi_resource_pin_function { | |||
| 520 | struct acpi_resource_pin_config { | 520 | struct acpi_resource_pin_config { |
| 521 | u8 revision_id; | 521 | u8 revision_id; |
| 522 | u8 producer_consumer; /* For values, see Producer/Consumer above */ | 522 | u8 producer_consumer; /* For values, see Producer/Consumer above */ |
| 523 | u8 sharable; /* For values, see Interrupt Attributes above */ | 523 | u8 shareable; /* For values, see Interrupt Attributes above */ |
| 524 | u8 pin_config_type; | 524 | u8 pin_config_type; |
| 525 | u32 pin_config_value; | 525 | u32 pin_config_value; |
| 526 | u16 pin_table_length; | 526 | u16 pin_table_length; |
| @@ -560,7 +560,7 @@ struct acpi_resource_pin_group { | |||
| 560 | struct acpi_resource_pin_group_function { | 560 | struct acpi_resource_pin_group_function { |
| 561 | u8 revision_id; | 561 | u8 revision_id; |
| 562 | u8 producer_consumer; /* For values, see Producer/Consumer above */ | 562 | u8 producer_consumer; /* For values, see Producer/Consumer above */ |
| 563 | u8 sharable; /* For values, see Interrupt Attributes above */ | 563 | u8 shareable; /* For values, see Interrupt Attributes above */ |
| 564 | u16 function_number; | 564 | u16 function_number; |
| 565 | u16 vendor_length; | 565 | u16 vendor_length; |
| 566 | struct acpi_resource_source resource_source; | 566 | struct acpi_resource_source resource_source; |
| @@ -571,7 +571,7 @@ struct acpi_resource_pin_group_function { | |||
| 571 | struct acpi_resource_pin_group_config { | 571 | struct acpi_resource_pin_group_config { |
| 572 | u8 revision_id; | 572 | u8 revision_id; |
| 573 | u8 producer_consumer; /* For values, see Producer/Consumer above */ | 573 | u8 producer_consumer; /* For values, see Producer/Consumer above */ |
| 574 | u8 sharable; /* For values, see Interrupt Attributes above */ | 574 | u8 shareable; /* For values, see Interrupt Attributes above */ |
| 575 | u8 pin_config_type; /* For values, see pin_config_type above */ | 575 | u8 pin_config_type; /* For values, see pin_config_type above */ |
| 576 | u32 pin_config_value; | 576 | u32 pin_config_value; |
| 577 | u16 vendor_length; | 577 | u16 vendor_length; |
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h index 0a977eca0a74..65cc9cbf1141 100644 --- a/include/acpi/actbl.h +++ b/include/acpi/actbl.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: actbl.h - Basic ACPI Table Definitions | 4 | * Name: actbl.h - Basic ACPI Table Definitions |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index ab424509cae9..d14037ddf108 100644 --- a/include/acpi/actbl1.h +++ b/include/acpi/actbl1.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: actbl1.h - Additional ACPI table definitions | 4 | * Name: actbl1.h - Additional ACPI table definitions |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
| @@ -562,7 +562,7 @@ struct acpi_dmar_hardware_unit { | |||
| 562 | 562 | ||
| 563 | #define ACPI_DMAR_INCLUDE_ALL (1) | 563 | #define ACPI_DMAR_INCLUDE_ALL (1) |
| 564 | 564 | ||
| 565 | /* 1: Reserved Memory Defininition */ | 565 | /* 1: Reserved Memory Definition */ |
| 566 | 566 | ||
| 567 | struct acpi_dmar_reserved_memory { | 567 | struct acpi_dmar_reserved_memory { |
| 568 | struct acpi_dmar_header header; | 568 | struct acpi_dmar_header header; |
| @@ -1001,6 +1001,11 @@ struct acpi_table_gtdt { | |||
| 1001 | #define ACPI_GTDT_INTERRUPT_POLARITY (1<<1) | 1001 | #define ACPI_GTDT_INTERRUPT_POLARITY (1<<1) |
| 1002 | #define ACPI_GTDT_ALWAYS_ON (1<<2) | 1002 | #define ACPI_GTDT_ALWAYS_ON (1<<2) |
| 1003 | 1003 | ||
| 1004 | struct acpi_gtdt_el2 { | ||
| 1005 | u32 virtual_el2_timer_gsiv; | ||
| 1006 | u32 virtual_el2_timer_flags; | ||
| 1007 | }; | ||
| 1008 | |||
| 1004 | /* Common GTDT subtable header */ | 1009 | /* Common GTDT subtable header */ |
| 1005 | 1010 | ||
| 1006 | struct acpi_gtdt_header { | 1011 | struct acpi_gtdt_header { |
| @@ -1390,7 +1395,7 @@ struct acpi_table_hmat { | |||
| 1390 | /* Values for HMAT structure types */ | 1395 | /* Values for HMAT structure types */ |
| 1391 | 1396 | ||
| 1392 | enum acpi_hmat_type { | 1397 | enum acpi_hmat_type { |
| 1393 | ACPI_HMAT_TYPE_ADDRESS_RANGE = 0, /* Memory subystem address range */ | 1398 | ACPI_HMAT_TYPE_ADDRESS_RANGE = 0, /* Memory subsystem address range */ |
| 1394 | ACPI_HMAT_TYPE_LOCALITY = 1, /* System locality latency and bandwidth information */ | 1399 | ACPI_HMAT_TYPE_LOCALITY = 1, /* System locality latency and bandwidth information */ |
| 1395 | ACPI_HMAT_TYPE_CACHE = 2, /* Memory side cache information */ | 1400 | ACPI_HMAT_TYPE_CACHE = 2, /* Memory side cache information */ |
| 1396 | ACPI_HMAT_TYPE_RESERVED = 3 /* 3 and greater are reserved */ | 1401 | ACPI_HMAT_TYPE_RESERVED = 3 /* 3 and greater are reserved */ |
| @@ -1406,17 +1411,17 @@ struct acpi_hmat_structure { | |||
| 1406 | * HMAT Structures, correspond to Type in struct acpi_hmat_structure | 1411 | * HMAT Structures, correspond to Type in struct acpi_hmat_structure |
| 1407 | */ | 1412 | */ |
| 1408 | 1413 | ||
| 1409 | /* 0: Memory subystem address range */ | 1414 | /* 0: Memory proximity domain attributes */ |
| 1410 | 1415 | ||
| 1411 | struct acpi_hmat_address_range { | 1416 | struct acpi_hmat_proximity_domain { |
| 1412 | struct acpi_hmat_structure header; | 1417 | struct acpi_hmat_structure header; |
| 1413 | u16 flags; | 1418 | u16 flags; |
| 1414 | u16 reserved1; | 1419 | u16 reserved1; |
| 1415 | u32 processor_PD; /* Processor proximity domain */ | 1420 | u32 processor_PD; /* Processor proximity domain */ |
| 1416 | u32 memory_PD; /* Memory proximity domain */ | 1421 | u32 memory_PD; /* Memory proximity domain */ |
| 1417 | u32 reserved2; | 1422 | u32 reserved2; |
| 1418 | u64 physical_address_base; /* Physical address range base */ | 1423 | u64 reserved3; |
| 1419 | u64 physical_address_length; /* Physical address range length */ | 1424 | u64 reserved4; |
| 1420 | }; | 1425 | }; |
| 1421 | 1426 | ||
| 1422 | /* Masks for Flags field above */ | 1427 | /* Masks for Flags field above */ |
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index c50ef7e6b942..e45ced27f4c3 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: actbl2.h - ACPI Table Definitions (tables not in ACPI spec) | 4 | * Name: actbl2.h - ACPI Table Definitions (tables not in ACPI spec) |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
| @@ -143,7 +143,7 @@ struct acpi_iort_memory_access { | |||
| 143 | */ | 143 | */ |
| 144 | struct acpi_iort_its_group { | 144 | struct acpi_iort_its_group { |
| 145 | u32 its_count; | 145 | u32 its_count; |
| 146 | u32 identifiers[1]; /* GIC ITS identifier arrary */ | 146 | u32 identifiers[1]; /* GIC ITS identifier array */ |
| 147 | }; | 147 | }; |
| 148 | 148 | ||
| 149 | struct acpi_iort_named_component { | 149 | struct acpi_iort_named_component { |
| @@ -623,7 +623,7 @@ struct acpi_madt_local_x2apic_nmi { | |||
| 623 | u8 reserved[3]; /* reserved - must be zero */ | 623 | u8 reserved[3]; /* reserved - must be zero */ |
| 624 | }; | 624 | }; |
| 625 | 625 | ||
| 626 | /* 11: Generic Interrupt (ACPI 5.0 + ACPI 6.0 changes) */ | 626 | /* 11: Generic interrupt - GICC (ACPI 5.0 + ACPI 6.0 + ACPI 6.3 changes) */ |
| 627 | 627 | ||
| 628 | struct acpi_madt_generic_interrupt { | 628 | struct acpi_madt_generic_interrupt { |
| 629 | struct acpi_subtable_header header; | 629 | struct acpi_subtable_header header; |
| @@ -641,7 +641,8 @@ struct acpi_madt_generic_interrupt { | |||
| 641 | u64 gicr_base_address; | 641 | u64 gicr_base_address; |
| 642 | u64 arm_mpidr; | 642 | u64 arm_mpidr; |
| 643 | u8 efficiency_class; | 643 | u8 efficiency_class; |
| 644 | u8 reserved2[3]; | 644 | u8 reserved2[1]; |
| 645 | u16 spe_interrupt; /* ACPI 6.3 */ | ||
| 645 | }; | 646 | }; |
| 646 | 647 | ||
| 647 | /* Masks for Flags field above */ | 648 | /* Masks for Flags field above */ |
| @@ -1361,6 +1362,7 @@ struct acpi_pdtt_channel { | |||
| 1361 | 1362 | ||
| 1362 | #define ACPI_PDTT_RUNTIME_TRIGGER (1) | 1363 | #define ACPI_PDTT_RUNTIME_TRIGGER (1) |
| 1363 | #define ACPI_PDTT_WAIT_COMPLETION (1<<1) | 1364 | #define ACPI_PDTT_WAIT_COMPLETION (1<<1) |
| 1365 | #define ACPI_PDTT_TRIGGER_ORDER (1<<2) | ||
| 1364 | 1366 | ||
| 1365 | /******************************************************************************* | 1367 | /******************************************************************************* |
| 1366 | * | 1368 | * |
| @@ -1472,8 +1474,11 @@ struct acpi_pptt_processor { | |||
| 1472 | 1474 | ||
| 1473 | /* Flags */ | 1475 | /* Flags */ |
| 1474 | 1476 | ||
| 1475 | #define ACPI_PPTT_PHYSICAL_PACKAGE (1) /* Physical package */ | 1477 | #define ACPI_PPTT_PHYSICAL_PACKAGE (1) |
| 1476 | #define ACPI_PPTT_ACPI_PROCESSOR_ID_VALID (2) /* ACPI Processor ID valid */ | 1478 | #define ACPI_PPTT_ACPI_PROCESSOR_ID_VALID (1<<1) |
| 1479 | #define ACPI_PPTT_ACPI_PROCESSOR_IS_THREAD (1<<2) /* ACPI 6.3 */ | ||
| 1480 | #define ACPI_PPTT_ACPI_LEAF_NODE (1<<3) /* ACPI 6.3 */ | ||
| 1481 | #define ACPI_PPTT_ACPI_IDENTICAL (1<<4) /* ACPI 6.3 */ | ||
| 1477 | 1482 | ||
| 1478 | /* 1: Cache Type Structure */ | 1483 | /* 1: Cache Type Structure */ |
| 1479 | 1484 | ||
diff --git a/include/acpi/actbl3.h b/include/acpi/actbl3.h index ea1ca49c9c1b..7a58c10ce421 100644 --- a/include/acpi/actbl3.h +++ b/include/acpi/actbl3.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: actbl3.h - ACPI Table Definitions | 4 | * Name: actbl3.h - ACPI Table Definitions |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
| @@ -190,7 +190,8 @@ enum acpi_srat_type { | |||
| 190 | ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY = 2, | 190 | ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY = 2, |
| 191 | ACPI_SRAT_TYPE_GICC_AFFINITY = 3, | 191 | ACPI_SRAT_TYPE_GICC_AFFINITY = 3, |
| 192 | ACPI_SRAT_TYPE_GIC_ITS_AFFINITY = 4, /* ACPI 6.2 */ | 192 | ACPI_SRAT_TYPE_GIC_ITS_AFFINITY = 4, /* ACPI 6.2 */ |
| 193 | ACPI_SRAT_TYPE_RESERVED = 5 /* 5 and greater are reserved */ | 193 | ACPI_SRAT_TYPE_GENERIC_AFFINITY = 5, /* ACPI 6.3 */ |
| 194 | ACPI_SRAT_TYPE_RESERVED = 6 /* 5 and greater are reserved */ | ||
| 194 | }; | 195 | }; |
| 195 | 196 | ||
| 196 | /* | 197 | /* |
| @@ -271,6 +272,22 @@ struct acpi_srat_gic_its_affinity { | |||
| 271 | u32 its_id; | 272 | u32 its_id; |
| 272 | }; | 273 | }; |
| 273 | 274 | ||
| 275 | /* 5: Generic Initiator Affinity Structure (ACPI 6.3) */ | ||
| 276 | |||
| 277 | struct acpi_srat_generic_affinity { | ||
| 278 | struct acpi_subtable_header header; | ||
| 279 | u8 reserved; | ||
| 280 | u8 device_handle_type; | ||
| 281 | u32 proximity_domain; | ||
| 282 | u8 device_handle[16]; | ||
| 283 | u32 flags; | ||
| 284 | u32 reserved1; | ||
| 285 | }; | ||
| 286 | |||
| 287 | /* Flags for struct acpi_srat_generic_affinity */ | ||
| 288 | |||
| 289 | #define ACPI_SRAT_GENERIC_AFFINITY_ENABLED (1) /* 00: Use affinity structure */ | ||
| 290 | |||
| 274 | /******************************************************************************* | 291 | /******************************************************************************* |
| 275 | * | 292 | * |
| 276 | * STAO - Status Override Table (_STA override) - ACPI 6.0 | 293 | * STAO - Status Override Table (_STA override) - ACPI 6.0 |
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index 2590627dbfcc..f73382e82c26 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: actypes.h - Common data types for the entire ACPI subsystem | 4 | * Name: actypes.h - Common data types for the entire ACPI subsystem |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
| @@ -617,8 +617,9 @@ typedef u64 acpi_integer; | |||
| 617 | #define ACPI_NOTIFY_SHUTDOWN_REQUEST (u8) 0x0C | 617 | #define ACPI_NOTIFY_SHUTDOWN_REQUEST (u8) 0x0C |
| 618 | #define ACPI_NOTIFY_AFFINITY_UPDATE (u8) 0x0D | 618 | #define ACPI_NOTIFY_AFFINITY_UPDATE (u8) 0x0D |
| 619 | #define ACPI_NOTIFY_MEMORY_UPDATE (u8) 0x0E | 619 | #define ACPI_NOTIFY_MEMORY_UPDATE (u8) 0x0E |
| 620 | #define ACPI_NOTIFY_DISCONNECT_RECOVER (u8) 0x0F | ||
| 620 | 621 | ||
| 621 | #define ACPI_GENERIC_NOTIFY_MAX 0x0E | 622 | #define ACPI_GENERIC_NOTIFY_MAX 0x0F |
| 622 | #define ACPI_SPECIFIC_NOTIFY_MAX 0x84 | 623 | #define ACPI_SPECIFIC_NOTIFY_MAX 0x84 |
| 623 | 624 | ||
| 624 | /* | 625 | /* |
| @@ -885,15 +886,6 @@ typedef u8 acpi_adr_space_type; | |||
| 885 | #define ACPI_ENABLE_EVENT 1 | 886 | #define ACPI_ENABLE_EVENT 1 |
| 886 | #define ACPI_DISABLE_EVENT 0 | 887 | #define ACPI_DISABLE_EVENT 0 |
| 887 | 888 | ||
| 888 | /* Sleep function dispatch */ | ||
| 889 | |||
| 890 | typedef acpi_status (*acpi_sleep_function) (u8 sleep_state); | ||
| 891 | |||
| 892 | struct acpi_sleep_functions { | ||
| 893 | acpi_sleep_function legacy_function; | ||
| 894 | acpi_sleep_function extended_function; | ||
| 895 | }; | ||
| 896 | |||
| 897 | /* | 889 | /* |
| 898 | * External ACPI object definition | 890 | * External ACPI object definition |
| 899 | */ | 891 | */ |
diff --git a/include/acpi/acuuid.h b/include/acpi/acuuid.h index e63f214531ad..23262cab047a 100644 --- a/include/acpi/acuuid.h +++ b/include/acpi/acuuid.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acuuid.h - ACPI-related UUID/GUID definitions | 4 | * Name: acuuid.h - ACPI-related UUID/GUID definitions |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/acpi/ghes.h b/include/acpi/ghes.h index 82cb4eb225a4..e3f1cddb4ac8 100644 --- a/include/acpi/ghes.h +++ b/include/acpi/ghes.h | |||
| @@ -13,7 +13,6 @@ | |||
| 13 | * estatus: memory buffer for error status block, allocated during | 13 | * estatus: memory buffer for error status block, allocated during |
| 14 | * HEST parsing. | 14 | * HEST parsing. |
| 15 | */ | 15 | */ |
| 16 | #define GHES_TO_CLEAR 0x0001 | ||
| 17 | #define GHES_EXITING 0x0002 | 16 | #define GHES_EXITING 0x0002 |
| 18 | 17 | ||
| 19 | struct ghes { | 18 | struct ghes { |
| @@ -22,7 +21,6 @@ struct ghes { | |||
| 22 | struct acpi_hest_generic_v2 *generic_v2; | 21 | struct acpi_hest_generic_v2 *generic_v2; |
| 23 | }; | 22 | }; |
| 24 | struct acpi_hest_generic_status *estatus; | 23 | struct acpi_hest_generic_status *estatus; |
| 25 | u64 buffer_paddr; | ||
| 26 | unsigned long flags; | 24 | unsigned long flags; |
| 27 | union { | 25 | union { |
| 28 | struct list_head list; | 26 | struct list_head list; |
| @@ -52,6 +50,8 @@ enum { | |||
| 52 | GHES_SEV_PANIC = 0x3, | 50 | GHES_SEV_PANIC = 0x3, |
| 53 | }; | 51 | }; |
| 54 | 52 | ||
| 53 | int ghes_estatus_pool_init(int num_ghes); | ||
| 54 | |||
| 55 | /* From drivers/edac/ghes_edac.c */ | 55 | /* From drivers/edac/ghes_edac.c */ |
| 56 | 56 | ||
| 57 | #ifdef CONFIG_EDAC_GHES | 57 | #ifdef CONFIG_EDAC_GHES |
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h index f444e5b0fdaa..35ab3f87cc29 100644 --- a/include/acpi/platform/acenv.h +++ b/include/acpi/platform/acenv.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acenv.h - Host and compiler configuration | 4 | * Name: acenv.h - Host and compiler configuration |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/acpi/platform/acenvex.h b/include/acpi/platform/acenvex.h index 47d690eafe4c..2e36c8344897 100644 --- a/include/acpi/platform/acenvex.h +++ b/include/acpi/platform/acenvex.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acenvex.h - Extra host and compiler configuration | 4 | * Name: acenvex.h - Extra host and compiler configuration |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/acpi/platform/acgcc.h b/include/acpi/platform/acgcc.h index 085db95a3dae..6a0705b433d2 100644 --- a/include/acpi/platform/acgcc.h +++ b/include/acpi/platform/acgcc.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acgcc.h - GCC specific defines, etc. | 4 | * Name: acgcc.h - GCC specific defines, etc. |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/acpi/platform/acgccex.h b/include/acpi/platform/acgccex.h index 5d2b667af829..8dda2856aca1 100644 --- a/include/acpi/platform/acgccex.h +++ b/include/acpi/platform/acgccex.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acgccex.h - Extra GCC specific defines, etc. | 4 | * Name: acgccex.h - Extra GCC specific defines, etc. |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/acpi/platform/acintel.h b/include/acpi/platform/acintel.h index 626265833a54..d2cc247248cb 100644 --- a/include/acpi/platform/acintel.h +++ b/include/acpi/platform/acintel.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: acintel.h - VC specific defines, etc. | 4 | * Name: acintel.h - VC specific defines, etc. |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index e3d21d014fcc..9ff328fd946a 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: aclinux.h - OS specific defines, etc. for Linux | 4 | * Name: aclinux.h - OS specific defines, etc. for Linux |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/acpi/platform/aclinuxex.h b/include/acpi/platform/aclinuxex.h index d754a1b12721..cc4f1eb53cba 100644 --- a/include/acpi/platform/aclinuxex.h +++ b/include/acpi/platform/aclinuxex.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * Name: aclinuxex.h - Extra OS specific defines, etc. for Linux | 4 | * Name: aclinuxex.h - Extra OS specific defines, etc. for Linux |
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2000 - 2018, Intel Corp. | 6 | * Copyright (C) 2000 - 2019, Intel Corp. |
| 7 | * | 7 | * |
| 8 | *****************************************************************************/ | 8 | *****************************************************************************/ |
| 9 | 9 | ||
diff --git a/include/linux/arm_sdei.h b/include/linux/arm_sdei.h index 942afbd544b7..3305ea7f9dc7 100644 --- a/include/linux/arm_sdei.h +++ b/include/linux/arm_sdei.h | |||
| @@ -11,7 +11,11 @@ enum sdei_conduit_types { | |||
| 11 | CONDUIT_HVC, | 11 | CONDUIT_HVC, |
| 12 | }; | 12 | }; |
| 13 | 13 | ||
| 14 | #include <acpi/ghes.h> | ||
| 15 | |||
| 16 | #ifdef CONFIG_ARM_SDE_INTERFACE | ||
| 14 | #include <asm/sdei.h> | 17 | #include <asm/sdei.h> |
| 18 | #endif | ||
| 15 | 19 | ||
| 16 | /* Arch code should override this to set the entry point from firmware... */ | 20 | /* Arch code should override this to set the entry point from firmware... */ |
| 17 | #ifndef sdei_arch_get_entry_point | 21 | #ifndef sdei_arch_get_entry_point |
| @@ -39,6 +43,11 @@ int sdei_event_unregister(u32 event_num); | |||
| 39 | int sdei_event_enable(u32 event_num); | 43 | int sdei_event_enable(u32 event_num); |
| 40 | int sdei_event_disable(u32 event_num); | 44 | int sdei_event_disable(u32 event_num); |
| 41 | 45 | ||
| 46 | /* GHES register/unregister helpers */ | ||
| 47 | int sdei_register_ghes(struct ghes *ghes, sdei_event_callback *normal_cb, | ||
| 48 | sdei_event_callback *critical_cb); | ||
| 49 | int sdei_unregister_ghes(struct ghes *ghes); | ||
| 50 | |||
| 42 | #ifdef CONFIG_ARM_SDE_INTERFACE | 51 | #ifdef CONFIG_ARM_SDE_INTERFACE |
| 43 | /* For use by arch code when CPU hotplug notifiers are not appropriate. */ | 52 | /* For use by arch code when CPU hotplug notifiers are not appropriate. */ |
| 44 | int sdei_mask_local_cpu(void); | 53 | int sdei_mask_local_cpu(void); |
diff --git a/include/linux/initrd.h b/include/linux/initrd.h index 14beaff9b445..d77fe34fb00a 100644 --- a/include/linux/initrd.h +++ b/include/linux/initrd.h | |||
| @@ -25,3 +25,6 @@ extern phys_addr_t phys_initrd_start; | |||
| 25 | extern unsigned long phys_initrd_size; | 25 | extern unsigned long phys_initrd_size; |
| 26 | 26 | ||
| 27 | extern unsigned int real_root_dev; | 27 | extern unsigned int real_root_dev; |
| 28 | |||
| 29 | extern char __initramfs_start[]; | ||
| 30 | extern unsigned long __initramfs_size; | ||
