OSDN Git Service

ACPICA: ACPI 6.3: add Error Disconnect Recover Notification value
authorErik Schmauss <erik.schmauss@intel.com>
Tue, 19 Feb 2019 19:33:40 +0000 (11:33 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Feb 2019 20:11:59 +0000 (21:11 +0100)
ACPICA commit 205ac8fc721073f1e609df963b14ef2237aeba73

Link: https://github.com/acpica/acpica/commit/205ac8fc
Reviewed-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/utdecode.c
include/acpi/actypes.h

index 6be69c2..ad9f77e 100644 (file)
@@ -430,8 +430,10 @@ static const char *acpi_gbl_generic_notify[ACPI_GENERIC_NOTIFY_MAX + 1] = {
                                                                /* 0C */ "Reserved (was previously Shutdown Request)",
                                                                /* Reserved in ACPI 6.0 */
        /* 0D */ "System Resource Affinity Update",
-                                                               /* 0E */ "Heterogeneous Memory Attributes Update"
+                                                               /* 0E */ "Heterogeneous Memory Attributes Update",
                                                                /* ACPI 6.2 */
+                                               /* 0F */ "Error Disconnect Recover"
+                                               /* ACPI 6.3 */
 };
 
 static const char *acpi_gbl_device_notify[5] = {
@@ -461,13 +463,13 @@ static const char *acpi_gbl_thermal_notify[5] = {
 const char *acpi_ut_get_notify_name(u32 notify_value, acpi_object_type type)
 {
 
-       /* 00 - 0D are "common to all object types" (from ACPI Spec) */
+       /* 00 - 0F are "common to all object types" (from ACPI Spec) */
 
        if (notify_value <= ACPI_GENERIC_NOTIFY_MAX) {
                return (acpi_gbl_generic_notify[notify_value]);
        }
 
-       /* 0E - 7F are reserved */
+       /* 10 - 7F are reserved */
 
        if (notify_value <= ACPI_MAX_SYS_NOTIFY) {
                return ("Reserved");
index 4c1395a..f73382e 100644 (file)
@@ -617,8 +617,9 @@ typedef u64 acpi_integer;
 #define ACPI_NOTIFY_SHUTDOWN_REQUEST    (u8) 0x0C
 #define ACPI_NOTIFY_AFFINITY_UPDATE     (u8) 0x0D
 #define ACPI_NOTIFY_MEMORY_UPDATE       (u8) 0x0E
+#define ACPI_NOTIFY_DISCONNECT_RECOVER  (u8) 0x0F
 
-#define ACPI_GENERIC_NOTIFY_MAX         0x0E
+#define ACPI_GENERIC_NOTIFY_MAX         0x0F
 #define ACPI_SPECIFIC_NOTIFY_MAX        0x84
 
 /*