Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753547Ab3FRAdT (ORCPT ); Mon, 17 Jun 2013 20:33:19 -0400 Received: from mail-ye0-f182.google.com ([209.85.213.182]:42165 "EHLO mail-ye0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753492Ab3FRAdR (ORCPT ); Mon, 17 Jun 2013 20:33:17 -0400 Date: Mon, 17 Jun 2013 17:33:08 -0700 From: Tejun Heo To: Tang Chen Cc: tglx@linutronix.de, mingo@elte.hu, hpa@zytor.com, akpm@linux-foundation.org, trenn@suse.de, yinghai@kernel.org, jiang.liu@huawei.com, wency@cn.fujitsu.com, laijs@cn.fujitsu.com, isimatu.yasuaki@jp.fujitsu.com, mgorman@suse.de, minchan@kernel.org, mina86@mina86.com, gong.chen@linux.intel.com, vasilis.liaskovitis@profitbricks.com, lwoodman@redhat.com, riel@redhat.com, jweiner@redhat.com, prarit@redhat.com, x86@kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Pekka Enberg , Jacob Shin , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org Subject: Re: [Part1 PATCH v5 09/22] x86, ACPI: Find acpi tables in initrd early from head_32.S/head64.c Message-ID: <20130618003308.GS32663@mtj.dyndns.org> References: <1371128589-8953-1-git-send-email-tangchen@cn.fujitsu.com> <1371128589-8953-10-git-send-email-tangchen@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1371128589-8953-10-git-send-email-tangchen@cn.fujitsu.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1529 Lines: 43 On Thu, Jun 13, 2013 at 09:02:56PM +0800, Tang Chen wrote: > From: Yinghai Lu Ditto for the opening. Probably not a must, I suppose, but would be very nice. > head64.c could use #PF handler setup page table to access initrd before > init mem mapping and initrd relocating. > > head_32.S could use 32bit flat mode to access initrd before init mem > mapping initrd relocating. > > This patch introduces x86_acpi_override_find(), which is called from > head_32.S/head64.c, to replace acpi_initrd_override_find(). So that we > can makes 32bit and 64 bit more consistent. > > -v2: use inline function in header file instead according to tj. > also still need to keep #idef head_32.S to avoid compiling error. > -v3: need to move down reserve_initrd() after acpi_initrd_override_copy(), > to make sure we are using right address. > > Signed-off-by: Yinghai Lu > Cc: Pekka Enberg > Cc: Jacob Shin > Cc: Rafael J. Wysocki > Cc: linux-acpi@vger.kernel.org > Tested-by: Thomas Renninger > Reviewed-by: Tang Chen > Tested-by: Tang Chen Other than that, Acked-by: Tejun Heo Thanks. -- tejun -- 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/