Skip to content

Commit

Permalink
ACPICA: ACPI 6.3: add Error Disconnect Recover Notification value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Erik Schmauss authored and Rafael J. Wysocki committed Feb 24, 2019
1 parent e646e0a commit ddcfd66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions drivers/acpi/acpica/utdecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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] = {
Expand Down Expand Up @@ -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");
Expand Down
3 changes: 2 additions & 1 deletion include/acpi/actypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

/*
Expand Down

0 comments on commit ddcfd66

Please sign in to comment.