From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ZEZVj-0005Gc-2O for mharc-grub-devel@gnu.org; Mon, 13 Jul 2015 04:54:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEZVh-0005GN-4X for grub-devel@gnu.org; Mon, 13 Jul 2015 04:54:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZEZVc-0008T0-0k for grub-devel@gnu.org; Mon, 13 Jul 2015 04:54:49 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:35356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZEZVb-0008Sg-Qo for grub-devel@gnu.org; Mon, 13 Jul 2015 04:54:43 -0400 Received: by pdrg1 with SMTP id g1so88801256pdr.2 for ; Mon, 13 Jul 2015 01:54:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=sbAf6/tT4sALtfaJNUiNLqW5cLScTOgrAdSSUSP8qKE=; b=h0MXCPeHSVxH/hzHIh92MrVxE88zqdxGxQUQIvtL6cm8pHaZrh36YX2kvuMj4XjBCp j4V0L6SIBiJ0fnxz6nWt/NSA7IFJh9pBHZTCNU46NpqDciNDq8edtv+H8oQqc3G98V+w gIi5Wwj050tiz3ZPWmxpc22zjEjZeVYK0NrWqnNvfLlpq8nArNlM1FiFCQOvvfD+u7Ne FeNfhBKUqn1SRooDprADLTNn4+9E35hO2zJRrCyUsKsCzfsDMC/s6qUhBPpHpf897AKu O1n6e/xNo3rEr9KSM4C9Wy89TfnAC65swZ4d/uh8Ze2XguUIeYBSFHjuUvk9pFJJpwnf wIaA== X-Gm-Message-State: ALoCoQkYhvkBcaW3L1uQIsdYOn97DzfCdsUe/gBZXZUKIPbSpZHrlP3QtwYGKdgAUbXRPkgWF3N9 X-Received: by 10.70.102.11 with SMTP id fk11mr67092063pdb.144.1436777682118; Mon, 13 Jul 2015 01:54:42 -0700 (PDT) Received: from localhost.localdomain (li400-65.members.linode.com. [106.187.50.65]) by smtp.googlemail.com with ESMTPSA id g10sm18109895pat.35.2015.07.13.01.54.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Jul 2015 01:54:40 -0700 (PDT) From: fu.wei@linaro.org To: grub-devel@gnu.org, arvidjaar@gmail.com, phcoder@gmail.com Subject: [PATCH v2 0/3] arm64: Add multiboot support (via fdt) for Xen boot Date: Mon, 13 Jul 2015 16:53:57 +0800 Message-Id: <1436777640-31871-1-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <=fu.wei@linaro.org> References: <=fu.wei@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.171 Cc: xen-devel@lists.xensource.com, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com, jcm@redhat.com, leif.lindholm@linaro.org, ryan.harkin@linaro.org, linaro-uefi@lists.linaro.org, Fu Wei X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2015 08:54:50 -0000 From: Fu Wei - This adds support for the Xen boot on ARM specification for arm64. - The implementation for Xen is following : http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/Multiboot and xen/docs/misc/arm/device-tree/booting.txt in Xen source code. - The multiboot/module commands have existed, so we use xen_hypervisor/xen_module instead. - This Xen boot support is built into linux module for aarch64, and can not be used alone. - Adding this functionality to the existing "linux" module is for reusing the existing code of devicetree. - Add the support of xen_hypervisor/xen_module commands in util/grub.d/20_linux_xen.in - Add the introduction of xen_hypervisor/xen_module commands in docs/grub.texi - The example of this support is https://wiki.linaro.org/LEG/Engineering/Grub2/Xen_booting_on_Foundation_FVP_model_by_GRUB Changelog: v2: remove the patches which have been accepted. according to Vladimir's suggestion, change the command manes and relevant code: multiboot-->xen_hypervisor module-->xen_module improve the option parsing support for xen_hypervisor/xen_module commands. add a patch for adding xen_hypervisor/xen_module support in util/grub.d/20_linux_xen.in. update docs/grub.texi patch for the new command names. v1: The first version upstream patchset to grub-devel mailing list Fu Wei (3): arm64: Add Xen boot support file * util/grub.d/20_linux_xen.in: Add support of the XEN boot on aarch64 arm64: Add the introduction of xen_hypervisor/xen_module command in docs/grub.texi docs/grub.texi | 27 ++ grub-core/Makefile.core.def | 1 + grub-core/loader/arm64/linux.c | 6 + grub-core/loader/arm64/xen_boot.c | 615 ++++++++++++++++++++++++++++++++++++++ include/grub/arm64/xen_boot.h | 115 +++++++ util/grub.d/20_linux_xen.in | 14 +- 6 files changed, 775 insertions(+), 3 deletions(-) create mode 100644 grub-core/loader/arm64/xen_boot.c create mode 100644 include/grub/arm64/xen_boot.h -- 1.8.3.1