From: Bob Moore <robert.moore@intel.com>
Date: Mon, 5 Jun 2017 16:37:23 +0800
Subject: ACPICA: Add new notify value for memory attributes update
Patch-mainline: v4.13-rc1
Git-commit: e6f9193c244c1768bd24a4f527ff2509b72d499a
References: bsc#1117419
ACPICA commit d37e878292bc9c7835b74e90d1c4c79e96ce6652
New notify value for memory attributes update for ACPI 6.2.
Link: https://github.com/acpica/acpica/commit/d37e8782
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Lee, Chun-Yi <jlee@suse.com>
---
drivers/acpi/acpica/utdecode.c | 4 +++-
include/acpi/actypes.h | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
--- a/drivers/acpi/acpica/utdecode.c
+++ b/drivers/acpi/acpica/utdecode.c
@@ -462,7 +462,9 @@ static const char *acpi_gbl_generic_noti
/* 0B */ "System Locality Update",
/* 0C */ "Shutdown Request",
/* Reserved in ACPI 6.0 */
- /* 0D */ "System Resource Affinity Update"
+ /* 0D */ "System Resource Affinity Update",
+ /* 0E */ "Heterogeneous Memory Attributes Update"
+ /* ACPI 6.2 */
};
static const char *acpi_gbl_device_notify[5] = {
--- a/include/acpi/actypes.h
+++ b/include/acpi/actypes.h
@@ -629,8 +629,9 @@ typedef u64 acpi_integer;
#define ACPI_NOTIFY_LOCALITY_UPDATE (u8) 0x0B
#define ACPI_NOTIFY_SHUTDOWN_REQUEST (u8) 0x0C
#define ACPI_NOTIFY_AFFINITY_UPDATE (u8) 0x0D
+#define ACPI_NOTIFY_MEMORY_UPDATE (u8) 0x0E
-#define ACPI_GENERIC_NOTIFY_MAX 0x0D
+#define ACPI_GENERIC_NOTIFY_MAX 0x0E
#define ACPI_SPECIFIC_NOTIFY_MAX 0x84
/*