From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 3/6] xen/arm: kernel: Move kernel loading code in init section Date: Mon, 19 Jan 2015 10:31:23 +0000 Message-ID: <1421663483.10440.32.camel@citrix.com> References: <1421425248-8727-1-git-send-email-julien.grall@linaro.org> <1421425248-8727-4-git-send-email-julien.grall@linaro.org> <87vbk63a27.fsf@vitty.brq.redhat.com> <54B94F1D.1050306@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YD9cR-00021O-0p for xen-devel@lists.xenproject.org; Mon, 19 Jan 2015 10:31:39 +0000 In-Reply-To: <54B94F1D.1050306@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, Vitaly Kuznetsov , stefano.stabellini@citrix.com, tim@xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2015-01-16 at 17:49 +0000, Julien Grall wrote: > Hello, > > On 16/01/15 17:33, Vitaly Kuznetsov wrote: > > Julien Grall writes: > > > >> The code to load the kernel is only used when Xen builds dom0. It > >> happens during the boot. > > > > I suppose we don't have dom0 kexec for ARM now or this code is not > > (won't be) required? > > We don't have support for DOM0 Kexec and this code is only able to load > kernel from the physical RAM (not from a guest memory). I don't think you would want to rerun any of this sort of thing again for kexec anyway, it is somewhat like a bootloader, which kexec doesn't rely on AFAIK. Ian.