diff options
author | Davidlohr Bueso <davidlohr.bueso@hp.com> | 2013-01-09 17:06:08 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-25 18:34:21 -0500 |
commit | 208f6cc9e5f83c9e2fb3a997dde3d4f6f5971384 (patch) | |
tree | c60d3284803ede3d1d5462e0a6cabeaead3d8933 /drivers/acpi | |
parent | 33f767d767e9a684e9cd60704d4c049a2014c8d5 (diff) |
ACPI: SRAT: report non-volatile memory in debug
Just as with the other memory affinity flags, report
non-volatile memory with ACPI debug.
Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/numa.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index cb31298ca684..2935d3a2bd7a 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c | |||
@@ -116,14 +116,16 @@ acpi_table_print_srat_entry(struct acpi_subtable_header *header) | |||
116 | struct acpi_srat_mem_affinity *p = | 116 | struct acpi_srat_mem_affinity *p = |
117 | (struct acpi_srat_mem_affinity *)header; | 117 | (struct acpi_srat_mem_affinity *)header; |
118 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, | 118 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, |
119 | "SRAT Memory (0x%lx length 0x%lx) in proximity domain %d %s%s\n", | 119 | "SRAT Memory (0x%lx length 0x%lx) in proximity domain %d %s%s%s\n", |
120 | (unsigned long)p->base_address, | 120 | (unsigned long)p->base_address, |
121 | (unsigned long)p->length, | 121 | (unsigned long)p->length, |
122 | p->proximity_domain, | 122 | p->proximity_domain, |
123 | (p->flags & ACPI_SRAT_MEM_ENABLED)? | 123 | (p->flags & ACPI_SRAT_MEM_ENABLED)? |
124 | "enabled" : "disabled", | 124 | "enabled" : "disabled", |
125 | (p->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE)? | 125 | (p->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE)? |
126 | " hot-pluggable" : "")); | 126 | " hot-pluggable" : "", |
127 | (p->flags & ACPI_SRAT_MEM_NON_VOLATILE)? | ||
128 | " non-volatile" : "")); | ||
127 | } | 129 | } |
128 | #endif /* ACPI_DEBUG_OUTPUT */ | 130 | #endif /* ACPI_DEBUG_OUTPUT */ |
129 | break; | 131 | break; |