From: Andrew Cooper Subject: Re: [Xen-devel] [PATCH v7 2/3] * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64 Date: Fri, 5 May 2017 10:01:09 +0100 Message-ID: References: <20170502070627.11389-1-fu.wei@linaro.org> <20170502070627.11389-3-fu.wei@linaro.org> <680df766-68fa-4506-837b-48906594a6c2@citrix.com> Reply-To: The development of GNU GRUB Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: grub-devel-bounces+gcbgd-grub-devel=m.gmane.org@gnu.org Sender: "Grub-devel" To: Fu Wei , Stefano Stabellini Cc: The development of GNU GRUB , xen-devel@lists.xensource.com, arvidjaar@gmail.com, Jon Masters , Linaro UEFI Mailman List , Leif Lindholm , Julien Grall , Vladimir Serbinenko , Daniel Kiper List-Id: xen-devel@lists.xenproject.org On 05/05/17 09:57, Fu Wei wrote: > Hi Stefano, > > On 4 May 2017 at 04:53, Stefano Stabellini wrote: >> On Wed, 3 May 2017, Andrew Cooper wrote: >>> On 02/05/17 08:06, fu.wei@linaro.org wrote: >>>> From: Fu Wei >>>> >>>> This patch adds the support of xen_boot command for aarch64: >>>> xen_hypervisor >>>> xen_module >>>> These two commands are only for aarch64, since it has its own protocol and >>>> commands to boot xen hypervisor and Dom0, but not multiboot. >>>> >>>> For other architectures, they are still using multiboot and module >>>> commands. >>>> >>>> Signed-off-by: Fu Wei >>> Sorry if I am jumping in late and asking awkward questions, but what is >>> special about Xen/aarch64 here? Why is it using a non-standard entry >>> mechanism? >> Multiboot is not available on ARM. The boot protocol we have on ARM is >> FDT based: >> >> http://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=docs/misc/arm/device-tree/booting.txt >> >> We often refer to it as "multiboot for arm" but in fact it is not >> related to the x86 multiboot in any way. >> >> In Grub, the two protocols (multiboot and >> docs/misc/arm/device-tree/booting.txt) are kept clearly distinct >> (55A687E5.4070106@gmail.com). Hence, the need for this patch. > Exactly, great thanks for your explanation! :-) So it really is an entirely custom Xen booting protocol. It is unfortunate that this wasn't reviewed sensibly at the time (and implemented in a project-neutral way), but it looks like the time to fix that properly has long since passed. ~Andrew