Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751797AbaANUic (ORCPT ); Tue, 14 Jan 2014 15:38:32 -0500 Received: from g4t0016.houston.hp.com ([15.201.24.19]:13797 "EHLO g4t0016.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751472AbaANUia (ORCPT ); Tue, 14 Jan 2014 15:38:30 -0500 Message-ID: <1389731547.1792.296.camel@misato.fc.hp.com> Subject: Re: [RFT][PATCH] ACPI / init: Run acpi_early_init() before efi_enter_virtual_mode() From: Toshi Kani To: "H. Peter Anvin" Cc: joeyli , "Rafael J. Wysocki" , Matt Fleming , Alessandro Zummo , 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, Borislav Petkov Date: Tue, 14 Jan 2014 13:32:27 -0700 In-Reply-To: <52D57B54.7080509@zytor.com> References: <1387439053-8711-1-git-send-email-jlee@suse.com> <3476450.BMEcId2Lgj@vostro.rjw.lan> <20131221122148.GB29501@console-pimps.org> <2530951.HFPX8MI38t@vostro.rjw.lan> <1389672548.24105.252.camel@linux-s257.site> <52D57B54.7080509@zytor.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.5 (3.8.5-2.fc19) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2014-01-14 at 10:00 -0800, H. Peter Anvin wrote: > On 01/13/2014 08:09 PM, joeyli wrote: > > > > This patch works to me on Acer Gateway Z5WT2 UEFI notebook and Intel > > UEFI development board. > > > > Does it possible move acpi_early_init() to before timekeeping_init()? > > The position is also before efi_enter_virtual_mode() and that will be > > useful for parsing ACPI TAD to set system clock: > > > > 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)) { > > > > Hi Toshi, > > Could you try this variant, too? If this works as well then we end up > solving two problems in one patch... Hi Peter, Yes, this version works fine as well. Tested-by: Toshi Kani Thanks, -Toshi -- 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/