]> asedeno.scripts.mit.edu Git - linux.git/commit
ACPI: probe ECDT before loading AML tables regardless of module-level code flag
authorErik Schmauss <erik.schmauss@intel.com>
Wed, 17 Oct 2018 22:41:21 +0000 (15:41 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 18 Oct 2018 07:19:17 +0000 (09:19 +0200)
commitd737f333b211361b6e239fc753b84c3be2634aaa
tree18bc2593f0bc15ef1f57e2a0b80d29fc3f2685ef
parent08930d56c76a69716ba56eb111379a559a9b9f42
ACPI: probe ECDT before loading AML tables regardless of module-level code flag

It was discovered that AML tables were loaded before or after the
ECDT depending on acpi_gbl_execute_tables_as_methods. According to
the ACPI spec, the ECDT should be loaded before the namespace is
populated by loading AML tables (DSDT and SSDT). Since the ECDT
should be loaded early in the boot process, this change moves the
ECDT probing to acpi_early_init.

Signed-off-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c