]> 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)
commit122652acffe8f78329aec1f2de2dbc8f70335fb9
tree18bc2593f0bc15ef1f57e2a0b80d29fc3f2685ef
parent4de72ee7be6cb13b2b7a3d75ec606f8ab1765518
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