Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752054AbaAONKN (ORCPT ); Wed, 15 Jan 2014 08:10:13 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:51543 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752027AbaAONKG (ORCPT ); Wed, 15 Jan 2014 08:10:06 -0500 From: "Rafael J. Wysocki" To: "H. Peter Anvin" Cc: "Lee, Chun-Yi" , Alessandro Zummo , Matt Fleming , Matthew Garrett , Elliott@hp.com, samer.el-haj-mahmoud@hp.com, Oliver Neukum , werner@suse.com, trenn@suse.de, JBeulich@suse.com, linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com, x86@kernel.org, "linux-efi@vger.kernel.org" , linux-acpi@vger.kernel.org, "Lee, Chun-Yi" , Borislav Petkov Subject: Re: [PATCH] ACPI / init: Run acpi_early_init() before timekeeping_init() Date: Wed, 15 Jan 2014 14:24:04 +0100 Message-ID: <3042669.sJyHAYrJIM@vostro.rjw.lan> User-Agent: KMail/4.11.3 (Linux/3.13.0-rc8+; KDE/4.11.3; x86_64; ; ) In-Reply-To: <52D67C3B.4050503@zytor.com> References: <1389770748-32698-1-git-send-email-jlee@suse.com> <52D67C3B.4050503@zytor.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, January 15, 2014 04:16:59 AM H. Peter Anvin wrote: > Rafael, you want to take this one? Yes, I can take it. Thanks! > On 01/14/2014 11:25 PM, Lee, Chun-Yi wrote: > > This is a variant patch from Rafael J. Wysocki's > > ACPI / init: Run acpi_early_init() before efi_enter_virtual_mode() > > > > According to Matt Fleming, if acpi_early_init() was executed before > > efi_enter_virtual_mode(), the EFI initialization could benefit from > > it, so Rafael's patch makes that happen. > > > > And, we want accessing ACPI TAD device to set system clock, so move > > acpi_early_init() before timekeeping_init(). This final position is > > also before efi_enter_virtual_mode(). > > > > v2: > > Move acpi_early_init() before timekeeping_init() to prepare setting > > system clock with ACPI TAD. > > > > v1: > > Rafael J. Wysocki > > ACPI / init: Run acpi_early_init() before efi_enter_virtual_mode() > > > > Cc: Rafael J. Wysocki > > Cc: Matt Fleming > > Cc: H. Peter Anvin > > Cc: Borislav Petkov > > Cc: Matthew Garrett > > Tested-by: Toshi Kani > > Signed-off-by: Lee, Chun-Yi > > --- > > init/main.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/init/main.c b/init/main.c > > index febc511..b6d93c8 100644 > > --- a/init/main.c > > +++ b/init/main.c > > @@ -565,6 +565,7 @@ asmlinkage void __init start_kernel(void) > > init_timers(); > > hrtimers_init(); > > softirq_init(); > > + acpi_early_init(); > > timekeeping_init(); > > time_init(); > > sched_clock_postinit(); > > @@ -641,7 +642,6 @@ asmlinkage void __init start_kernel(void) > > > > check_bugs(); > > > > - acpi_early_init(); /* before LAPIC and SMP init */ > > sfi_init_late(); > > > > if (efi_enabled(EFI_RUNTIME_SERVICES)) { > > > -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/