]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / init: Invoke early ACPI initialization later
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 12 Mar 2014 23:22:58 +0000 (00:22 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 12 Mar 2014 23:53:51 +0000 (00:53 +0100)
commit54eb95eda0012893807f247a4140baedbf2f4f80
treea1c39bc35bfcb8a07443e4b4b0cf3bc31c7bb333
parent16d43e4e459369e0b109d72ce3cce0439be325e1
ACPI / init: Invoke early ACPI initialization later

Commit e6c0180de17b (ACPI / init: Run acpi_early_init() before
timekeeping_init()) optimistically moved the early ACPI initialization
before timekeeping_init(), but that didn't work, because it broke fast
TSC calibration for Julian Wollrath on Thinkpad x121e (and most likely
for others too).  The reason is that acpi_early_init() enables the SCI
and that interferes with the fast TSC calibration mechanism.

Thus follow the original idea to execute acpi_early_init() before
efi_enter_virtual_mode() to help the EFI people for now and we can
revisit the other problem that commit e6c0180de17b attempted to
address in the future (if really necessary).

Fixes: e6c0180de17b (ACPI / init: Run acpi_early_init() before timekeeping_init())
Reported-by: Julian Wollrath <jwollrath@web.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
init/main.c