| .. | .. |
|---|
| 3 | 3 | * |
|---|
| 4 | 4 | * Module Name: utdecode - Utility decoding routines (value-to-string) |
|---|
| 5 | 5 | * |
|---|
| 6 | | - * Copyright (C) 2000 - 2018, Intel Corp. |
|---|
| 6 | + * Copyright (C) 2000 - 2020, Intel Corp. |
|---|
| 7 | 7 | * |
|---|
| 8 | 8 | *****************************************************************************/ |
|---|
| 9 | 9 | |
|---|
| .. | .. |
|---|
| 78 | 78 | "IPMI", /* 0x07 */ |
|---|
| 79 | 79 | "GeneralPurposeIo", /* 0x08 */ |
|---|
| 80 | 80 | "GenericSerialBus", /* 0x09 */ |
|---|
| 81 | | - "PCC" /* 0x0A */ |
|---|
| 81 | + "PCC", /* 0x0A */ |
|---|
| 82 | + "PlatformRtMechanism" /* 0x0B */ |
|---|
| 82 | 83 | }; |
|---|
| 83 | 84 | |
|---|
| 84 | 85 | const char *acpi_ut_get_region_name(u8 space_id) |
|---|
| .. | .. |
|---|
| 239 | 240 | { |
|---|
| 240 | 241 | struct acpi_namespace_node *node = (struct acpi_namespace_node *)object; |
|---|
| 241 | 242 | |
|---|
| 242 | | - /* Must return a string of exactly 4 characters == ACPI_NAME_SIZE */ |
|---|
| 243 | + /* Must return a string of exactly 4 characters == ACPI_NAMESEG_SIZE */ |
|---|
| 243 | 244 | |
|---|
| 244 | 245 | if (!object) { |
|---|
| 245 | 246 | return ("NULL"); |
|---|
| .. | .. |
|---|
| 284 | 285 | |
|---|
| 285 | 286 | static const char *acpi_gbl_desc_type_names[] = { |
|---|
| 286 | 287 | /* 00 */ "Not a Descriptor", |
|---|
| 287 | | - /* 01 */ "Cached", |
|---|
| 288 | + /* 01 */ "Cached Object", |
|---|
| 288 | 289 | /* 02 */ "State-Generic", |
|---|
| 289 | 290 | /* 03 */ "State-Update", |
|---|
| 290 | 291 | /* 04 */ "State-Package", |
|---|
| .. | .. |
|---|
| 295 | 296 | /* 09 */ "State-Result", |
|---|
| 296 | 297 | /* 10 */ "State-Notify", |
|---|
| 297 | 298 | /* 11 */ "State-Thread", |
|---|
| 298 | | - /* 12 */ "Walk", |
|---|
| 299 | | - /* 13 */ "Parser", |
|---|
| 300 | | - /* 14 */ "Operand", |
|---|
| 301 | | - /* 15 */ "Node" |
|---|
| 299 | + /* 12 */ "Tree Walk State", |
|---|
| 300 | + /* 13 */ "Parse Tree Op", |
|---|
| 301 | + /* 14 */ "Operand Object", |
|---|
| 302 | + /* 15 */ "Namespace Node" |
|---|
| 302 | 303 | }; |
|---|
| 303 | 304 | |
|---|
| 304 | 305 | const char *acpi_ut_get_descriptor_name(void *object) |
|---|
| .. | .. |
|---|
| 430 | 431 | /* 0C */ "Reserved (was previously Shutdown Request)", |
|---|
| 431 | 432 | /* Reserved in ACPI 6.0 */ |
|---|
| 432 | 433 | /* 0D */ "System Resource Affinity Update", |
|---|
| 433 | | - /* 0E */ "Heterogeneous Memory Attributes Update" |
|---|
| 434 | + /* 0E */ "Heterogeneous Memory Attributes Update", |
|---|
| 434 | 435 | /* ACPI 6.2 */ |
|---|
| 436 | + /* 0F */ "Error Disconnect Recover" |
|---|
| 437 | + /* ACPI 6.3 */ |
|---|
| 435 | 438 | }; |
|---|
| 436 | 439 | |
|---|
| 437 | 440 | static const char *acpi_gbl_device_notify[5] = { |
|---|
| .. | .. |
|---|
| 461 | 464 | const char *acpi_ut_get_notify_name(u32 notify_value, acpi_object_type type) |
|---|
| 462 | 465 | { |
|---|
| 463 | 466 | |
|---|
| 464 | | - /* 00 - 0D are "common to all object types" (from ACPI Spec) */ |
|---|
| 467 | + /* 00 - 0F are "common to all object types" (from ACPI Spec) */ |
|---|
| 465 | 468 | |
|---|
| 466 | 469 | if (notify_value <= ACPI_GENERIC_NOTIFY_MAX) { |
|---|
| 467 | 470 | return (acpi_gbl_generic_notify[notify_value]); |
|---|
| 468 | 471 | } |
|---|
| 469 | 472 | |
|---|
| 470 | | - /* 0E - 7F are reserved */ |
|---|
| 473 | + /* 10 - 7F are reserved */ |
|---|
| 471 | 474 | |
|---|
| 472 | 475 | if (notify_value <= ACPI_MAX_SYS_NOTIFY) { |
|---|
| 473 | 476 | return ("Reserved"); |
|---|