aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2016-03-23 21:39:14 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-04 21:53:30 -0400
commit138a95547ab04f5f9d49bfb12bd764f7a7edbcf4 (patch)
tree3125892094974c544af788d827500f1adfe6ece6
parent4ac78baf88d85c49883fcc87d31198ebe408e54d (diff)
ACPICA: ACPI 6.1: Update NFIT table for additional new fields
ACPICA commit bc81a4494d7648a496e0a82f0d27562103ee1ec1 Changes the NFIT Control Region. Link: https://github.com/acpica/acpica/commit/bc81a449 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>
-rw-r--r--include/acpi/actbl1.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h
index b7c96b7832ef..912dff90c4c2 100644
--- a/include/acpi/actbl1.h
+++ b/include/acpi/actbl1.h
@@ -984,7 +984,7 @@ struct acpi_msct_proximity {
984 984
985/******************************************************************************* 985/*******************************************************************************
986 * 986 *
987 * NFIT - NVDIMM Interface Table (ACPI 6.0) 987 * NFIT - NVDIMM Interface Table (ACPI 6.0+)
988 * Version 1 988 * Version 1
989 * 989 *
990 ******************************************************************************/ 990 ******************************************************************************/
@@ -1065,6 +1065,7 @@ struct acpi_nfit_memory_map {
1065#define ACPI_NFIT_MEM_NOT_ARMED (1<<3) /* 03: Memory Device is not armed */ 1065#define ACPI_NFIT_MEM_NOT_ARMED (1<<3) /* 03: Memory Device is not armed */
1066#define ACPI_NFIT_MEM_HEALTH_OBSERVED (1<<4) /* 04: Memory Device observed SMART/health events */ 1066#define ACPI_NFIT_MEM_HEALTH_OBSERVED (1<<4) /* 04: Memory Device observed SMART/health events */
1067#define ACPI_NFIT_MEM_HEALTH_ENABLED (1<<5) /* 05: SMART/health events enabled */ 1067#define ACPI_NFIT_MEM_HEALTH_ENABLED (1<<5) /* 05: SMART/health events enabled */
1068#define ACPI_NFIT_MEM_MAP_FAILED (1<<6) /* 06: Mapping to SPA failed */
1068 1069
1069/* 2: Interleave Structure */ 1070/* 2: Interleave Structure */
1070 1071
@@ -1096,7 +1097,10 @@ struct acpi_nfit_control_region {
1096 u16 subsystem_vendor_id; 1097 u16 subsystem_vendor_id;
1097 u16 subsystem_device_id; 1098 u16 subsystem_device_id;
1098 u16 subsystem_revision_id; 1099 u16 subsystem_revision_id;
1099 u8 reserved[6]; /* Reserved, must be zero */ 1100 u8 valid_fields;
1101 u8 manufacturing_location;
1102 u16 manufacturing_date;
1103 u8 reserved[2]; /* Reserved, must be zero */
1100 u32 serial_number; 1104 u32 serial_number;
1101 u16 code; 1105 u16 code;
1102 u16 windows; 1106 u16 windows;
@@ -1111,7 +1115,11 @@ struct acpi_nfit_control_region {
1111 1115
1112/* Flags */ 1116/* Flags */
1113 1117
1114#define ACPI_NFIT_CONTROL_BUFFERED (1) /* Block Data Windows implementation is buffered */ 1118#define ACPI_NFIT_CONTROL_BUFFERED (1) /* Block Data Windows implementation is buffered */
1119
1120/* valid_fields bits */
1121
1122#define ACPI_NFIT_CONTROL_MFG_INFO_VALID (1) /* Manufacturing fields are valid */
1115 1123
1116/* 5: NVDIMM Block Data Window Region Structure */ 1124/* 5: NVDIMM Block Data Window Region Structure */
1117 1125