Skip to content

Commit 7aa8a23

Browse files
acpibobrafaeljw
authored andcommitted
ACPICA: Interpreter: Begin deprecation of Unload operator
The Unload AML operator is no longer supported for the reasons below. An AE_NOT_IMPLEMENTED exception is returned. 1) A correct implementation on at least some hosts may not be possible. 2) Other ACPI implementations do not correctly/fully support it. 3) It requires host device driver support which is not known to exist. (To properly support namespace unload out from underneath.) 4) This AML operator has never been seen in the field. Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Erik Schmauss <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 5088814 commit 7aa8a23

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/acpi/acpica/exconfig.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,17 @@ acpi_status acpi_ex_unload_table(union acpi_operand_object *ddb_handle)
489489
*/
490490
ACPI_WARNING((AE_INFO, "Received request to unload an ACPI table"));
491491

492+
/*
493+
* May 2018: Unload is no longer supported for the following reasons:
494+
* 1) A correct implementation on some hosts may not be possible.
495+
* 2) Other ACPI implementations do not correctly/fully support it.
496+
* 3) It requires host device driver support which does not exist.
497+
* (To properly support namespace unload out from underneath.)
498+
* 4) This AML operator has never been seen in the field.
499+
*/
500+
ACPI_EXCEPTION((AE_INFO, AE_NOT_IMPLEMENTED,
501+
"AML Unload operator is not supported"));
502+
492503
/*
493504
* Validate the handle
494505
* Although the handle is partially validated in acpi_ex_reconfiguration()

0 commit comments

Comments
 (0)