From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by kanga.kvack.org (Postfix) with ESMTP id B6B5D6B0253 for ; Thu, 8 Oct 2015 05:41:14 -0400 (EDT) Received: by wiclk2 with SMTP id lk2so19914010wic.0 for ; Thu, 08 Oct 2015 02:41:14 -0700 (PDT) Received: from pandora.arm.linux.org.uk (pandora.arm.linux.org.uk. [2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by mx.google.com with ESMTPS id v12si13368160wjr.183.2015.10.08.02.41.12 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 08 Oct 2015 02:41:12 -0700 (PDT) Date: Thu, 8 Oct 2015 10:40:55 +0100 From: Russell King - ARM Linux Subject: Re: [PATCH V4 2/3] arm64: support initrd outside kernel linear map Message-ID: <20151008094055.GC32532@n2100.arm.linux.org.uk> References: <1439830867-14935-1-git-send-email-msalter@redhat.com> <1439830867-14935-3-git-send-email-msalter@redhat.com> <20150908113113.GA20562@leverpostej> <20151006171140.GE26433@leverpostej> <1444151812.10788.14.camel@redhat.com> <20151008084953.GA20114@cbox> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: yalin wang Cc: Christoffer Dall , Mark Rutland , "linux-arch@vger.kernel.org" , Arnd Bergmann , Ard Biesheuvel , Catalin Marinas , "x86@kernel.org" , Will Deacon , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , Mark Salter , Andrew Morton , "linux-arm-kernel@lists.infradead.org" On Thu, Oct 08, 2015 at 05:18:14PM +0800, yalin wang wrote: > is it also possible to implement it on ARM platforms? > ARM64 platform dona??t have HIGH_MEM zone . > but ARM platform have . > i remember boot loader must put init rd into low memory region, > so if some boot loader put init rd into HIGH men zone > we can also relocate it to low men region ? > then boot loader dona??t need care about this , > and since vmalloc= boot option will change HIGH mem region size, > if we can relocate init rd , boot loader dona??t need care about init rd load address, > when change vmalloc= boot options . I'd be more inclined to say yes if the kernel wasn't buggering around passing virtual addresses (initrd_start) of the initrd image around, but instead used a physical address. initrd_start must be a lowmem address. -- FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org