]> git.baikalelectronics.ru Git - kernel.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)
commit994db0a3c329ee27ef88b368a5661a7f370e1402
tree18bc2593f0bc15ef1f57e2a0b80d29fc3f2685ef
parent0b1b8dfb2c8c06a9d5f5a6f7e74014d29beeaec0
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