diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-07-04 00:59:15 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-07-04 00:59:15 +0200 |
commit | d4ca763eed3bcc227f220beb11ff4eb2fa548755 (patch) | |
tree | 14a2669a4a5007babd4dea7f0763cc6f67e9ed68 /drivers/acpi/acpica | |
parent | ACPICA: Clear status of GPEs on first direct enable (diff) | |
parent | ACPI: configfs: Resolve objects on host-directed table loads (diff) | |
download | linux-d4ca763eed3bcc227f220beb11ff4eb2fa548755.tar.xz linux-d4ca763eed3bcc227f220beb11ff4eb2fa548755.zip |
Merge ACPI tables handling changes for v5.3.
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r-- | drivers/acpi/acpica/tbxfload.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/tbxfload.c b/drivers/acpi/acpica/tbxfload.c index 4f30f06a6f78..ef8f8a9f3c9c 100644 --- a/drivers/acpi/acpica/tbxfload.c +++ b/drivers/acpi/acpica/tbxfload.c @@ -297,6 +297,17 @@ acpi_status acpi_load_table(struct acpi_table_header *table) status = acpi_tb_install_and_load_table(ACPI_PTR_TO_PHYSADDR(table), ACPI_TABLE_ORIGIN_EXTERNAL_VIRTUAL, FALSE, &table_index); + + if (ACPI_SUCCESS(status)) { + /* Complete the initialization/resolution of package objects */ + + status = acpi_ns_walk_namespace(ACPI_TYPE_PACKAGE, + ACPI_ROOT_OBJECT, + ACPI_UINT32_MAX, 0, + acpi_ns_init_one_package, + NULL, NULL, NULL); + } + return_ACPI_STATUS(status); } |