mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-09 07:54:00 +00:00
ACPI / init: Invoke early ACPI initialization later
Commit73f7d1ca32
(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 commit73f7d1ca32
attempted to address in the future (if really necessary). Fixes:73f7d1ca32
(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>
This commit is contained in:
parent
fa389e2202
commit
c4e1acbb35
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,6 @@ asmlinkage void __init start_kernel(void)
|
||||||
init_timers();
|
init_timers();
|
||||||
hrtimers_init();
|
hrtimers_init();
|
||||||
softirq_init();
|
softirq_init();
|
||||||
acpi_early_init();
|
|
||||||
timekeeping_init();
|
timekeeping_init();
|
||||||
time_init();
|
time_init();
|
||||||
sched_clock_postinit();
|
sched_clock_postinit();
|
||||||
|
@ -613,6 +612,7 @@ asmlinkage void __init start_kernel(void)
|
||||||
calibrate_delay();
|
calibrate_delay();
|
||||||
pidmap_init();
|
pidmap_init();
|
||||||
anon_vma_init();
|
anon_vma_init();
|
||||||
|
acpi_early_init();
|
||||||
#ifdef CONFIG_X86
|
#ifdef CONFIG_X86
|
||||||
if (efi_enabled(EFI_RUNTIME_SERVICES))
|
if (efi_enabled(EFI_RUNTIME_SERVICES))
|
||||||
efi_enter_virtual_mode();
|
efi_enter_virtual_mode();
|
||||||
|
|
Loading…
Add table
Reference in a new issue