From patchwork Sun May 14 07:43:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fu Wei Fu X-Patchwork-Id: 99756 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp1037957qge; Sun, 14 May 2017 00:44:28 -0700 (PDT) X-Received: by 10.107.6.234 with SMTP id f103mr287809ioi.198.1494747868498; Sun, 14 May 2017 00:44:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494747868; cv=none; d=google.com; s=arc-20160816; b=KPfeIQLjV6LATIY5GPDqLDQg5fsM2g0tfNvodv/N2k8t5nDDEuGBKfRZMqZujb2Jbv k2Z93tlvCYUVLd5cYXSHANvhRSU+QeqF+79td1ChHlIc9Xsa/tPdILS/R9FYkGplApun +QSCZreV3c1C+2qW3MrS3kk9cxG6uMUWoqs+H8xSpMDxWYhmBPifcFGmx93D3IYQ1HQq VLE5DYBZfupq257+AG2UbP854cHnb6/eM7/jhFlM65B/2jeW3xj6Orecs7itCMZ4GBB9 d9ovOjsbC7iQwCEntfhvygMAdXpdWqrA7EUidj7y9oNroopoEtxN+v7XOgPXUTgAfphs Oqpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:dkim-filter :dmarc-filter:delivered-to:arc-authentication-results; bh=QrolENPqWYB6icA+4zpfiVbANUqtkxWMvgPMs2pTvO0=; b=eJoVj9X31QhnAGx7mx1OhMrWKiZQFVaMCM+OnWe3/Af60I5MB5jqZF19X3aqi/XhGx jvXpTQFfZu8WpSK69f/j0eP+HUHQvTDJaseR6J/5803A4jXCGW2mRRAEyTNSRnEMrF14 IOMUPLFRsGMMQ+btQUBeqk5V+7Jsow2HJfIb8JM3NTJebcBb4ftnjsFCHPTa0sq43dN9 Hsqh2Rq478ADxLSIiaij4CG5Pa/ixNbWfgniOgaASMkTjmMqn2Eb9vMbiVbW/JK8QHsk H7W26+DMWChTK92RFrUNzrbPpck0QPuGHnievVnNU+VIuMyFLjZdOgxmXVf88beDwjuV BAKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 21si7633944iot.213.2017.05.14.00.44.26; Sun, 14 May 2017 00:44:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D0288609ED; Sun, 14 May 2017 07:44:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id A69146081D; Sun, 14 May 2017 07:44:21 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 5BCBA608B6; Sun, 14 May 2017 07:44:19 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by lists.linaro.org (Postfix) with ESMTPS id BCA5E60816 for ; Sun, 14 May 2017 07:44:15 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 60F038123D; Sun, 14 May 2017 07:44:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 60F038123D DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 60F038123D Received: from Rei-Ayanami.localdomain.com (vpn1-4-19.pek2.redhat.com [10.72.4.19]) by smtp.corp.redhat.com (Postfix) with ESMTP id C10A41710F; Sun, 14 May 2017 07:44:04 +0000 (UTC) From: fu.wei@linaro.org To: dkiper@net-space.pl, grub-devel@gnu.org, arvidjaar@gmail.com, phcoder@gmail.com Date: Sun, 14 May 2017 15:43:44 +0800 Message-Id: <20170514074347.18787-1-fu.wei@linaro.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Sun, 14 May 2017 07:44:14 +0000 (UTC) Cc: xen-devel@lists.xensource.com, jcm@redhat.com, ian.campbell@docker.com, julien.grall@arm.com, sstabellini@kernel.org, linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] [PATCH v8 0/3] arm64, xen: add xen_boot support into grub-mkconfig X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "For discussions about Linaro-related UEFI development. Not a substitute for edk2-devel." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" From: Fu Wei This patchset add xen_boot support into grub-mkconfig for generating xen boot entrances automatically Also update the docs/grub.texi for new xen_boot commands. ChangeLog: v8: http://lists.gnu.org/archive/html/grub-devel/2017-05/ Delete the redundant "#include " in patch 0001. Use $grub_file instead of "feature_xen_boot" mechanism to determine which xen boot commands we should use. v7: http://lists.gnu.org/archive/html/grub-devel/2017-05/msg00000.html Delete patch 0001(v6) which is wrong. Improve the commit message of 0002(v6). Use "machine" variable instead of "feature_xen_boot" mechanism to determine which xen boot commands we should use. Update the introduction of xen_module commands in docs/grub.texi, emphasize xen_hypervisor and xen_module are only for AArch64. v6: http://lists.gnu.org/archive/html/grub-devel/2016-07/msg00034.html Fix Coding style of util/grub.d/20_linux_xen.in, use soft tab. v5: http://lists.gnu.org/archive/html/grub-devel/2016-07/msg00008.html Update the introduction of xen_module commands in docs/grub.texi, according to the suggestion from Julien Grall v4: http://lists.gnu.org/archive/html/grub-devel/2016-05/ according to the XSM loading mechanism of Xen(upstreamed), update the introduction of xen_module commands in docs/grub.texi v3: http://lists.gnu.org/archive/html/grub-devel/2016-02/msg00314.html reorder the patches update the introduction of xen_module commands in docs/grub.texi v2: http://lists.gnu.org/archive/html/grub-devel/2016-02/msg00282.html add "--nounzip" option support in xen_module use "feature_xen_boot" instead of "grub_xen_boot" update the introduction of xen boot commands in docs/grub.texi v1 :first upstream patchset: http://lists.gnu.org/archive/html/grub-devel/2016-02/msg00264.html Fu Wei (3): arm64: add "--nounzip" option support in xen_module command * util/grub.d/20_linux_xen.in: Add xen_boot command support for aarch64 arm64: update the introduction of xen boot commands in docs/grub.texi docs/grub.texi | 38 +++++++++++++------------------------- grub-core/loader/arm64/xen_boot.c | 16 ++++++++++++++++ util/grub.d/20_linux_xen.in | 14 +++++++++++--- 3 files changed, 40 insertions(+), 28 deletions(-)