From patchwork Sun May 14 07:43:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: fu.wei@linaro.org X-Patchwork-Id: 9725557 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 32835601E7 for ; Sun, 14 May 2017 07:47:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17835283F5 for ; Sun, 14 May 2017 07:47:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0977A2842B; Sun, 14 May 2017 07:47:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6E0C3283F5 for ; Sun, 14 May 2017 07:47:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9oCo-0000i2-AH; Sun, 14 May 2017 07:44:42 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9oCm-0000hS-O1 for xen-devel@lists.xensource.com; Sun, 14 May 2017 07:44:40 +0000 Received: from [85.158.143.35] by server-9.bemta-6.messagelabs.com id 77/C8-03557-8EA08195; Sun, 14 May 2017 07:44:40 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprHIsWRWlGSWpSXmKPExsVysWW7jO5zLol Ig6mbFC3uTXnP7sDosb1vF3sAYxRrZl5SfkUCa8b1Zb1sBWckKg5MNm9gPCLcxcjFISQwm0li 6YKfjF2MHBwsAvYSd5YKgJiMAmUS9/uBopxAZrbEwzOXWUFsFgE7iX0nmhghWrczSvxZNx+si E1AXOJM51ewIhGBMIkX71+zgRQxC1xmlHj8/x5YQlggVuL0pE/MEJNUJR6teMkEYvMKmEncWb 8ArIZTwFyiu38xWFwIKN69+hWYLSGgLfH49HSwzRICfYwSSy6cZZrAKLCAkWEVo0ZxalFZapG ukYVeUlFmekZJbmJmjq6hgZlebmpxcWJ6ak5iUrFecn7uJkZgWDEAwQ7G82sDDzFKcjApifK6 vhSPFOJLyk+pzEgszogvKs1JLT7EKMPBoSTBu4lTIlJIsCg1PbUiLTMHGOAwaQkOHiUR3hkga d7igsTc4sx0iNQpRl2Ovo6P75mEWPLy81KlxHn/gRQJgBRllObBjYBF2yVGWSlhXkago4R4Cl KLcjNLUOVfMYpzMCoJ804EmcKTmVcCt+kV0BFMQEeEgdzPW1ySiJCSamBUD35y3ilv+ve64vr bUnO0OW/sOsi7u0HZ2WD90zXLq5l8Es5b/GfUu6B998z8n7N8mmoFrCPyBMxMs0PeN4Qv+H7j SFj812+H1nNfa3xgZ/VaXmOp5o7DjdXst1PnKLw8dDg0qOjI2qZ3520m/b8ccOK001bjs5rix /1OiE3cdyzYyP/1SY0SJZbijERDLeai4kQARAAL87ECAAA= X-Env-Sender: fu.wei@linaro.org X-Msg-Ref: server-8.tower-21.messagelabs.com!1494747878!68303486!1 X-Originating-IP: [209.132.183.28] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMjA5LjEzMi4xODMuMjggPT4gNTQwNjQ=\n X-StarScan-Received: X-StarScan-Version: 9.4.12; banners=-,-,- X-VirusChecked: Checked Received: (qmail 36496 invoked from network); 14 May 2017 07:44:39 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by server-8.tower-21.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 14 May 2017 07:44:39 -0000 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 7AF2581240; Sun, 14 May 2017 07:44:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7AF2581240 DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 7AF2581240 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 0521217140; Sun, 14 May 2017 07:44:30 +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:47 +0800 Message-Id: <20170514074347.18787-4-fu.wei@linaro.org> In-Reply-To: <20170514074347.18787-1-fu.wei@linaro.org> References: <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:37 +0000 (UTC) Cc: xen-devel@lists.xensource.com, jcm@redhat.com, ian.campbell@docker.com, leif.lindholm@linaro.org, julien.grall@arm.com, sstabellini@kernel.org, linaro-uefi@lists.linaro.org, Fu Wei Subject: [Xen-devel] [PATCH v8 3/3] arm64: update the introduction of xen boot commands in docs/grub.texi X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Fu Wei delete: xen_linux, xen_initrd, xen_xsm add: xen_module This update bases on commit 0edd750e50698854068358ea53528100a9192902 Author: Vladimir Serbinenko Date: Fri Jan 22 10:18:47 2016 +0100 xen_boot: Remove obsolete module type distinctions. Also bases on the module loading mechanism of Xen code: 488c2a8 docs/arm64: clarify the documention for loading XSM support 67831c4 docs/arm64: update the documentation for loading XSM support ca32012 xen/arm64: check XSM Magic from the second unknown module. Signed-off-by: Fu Wei Reviewed-by: Julien Grall --- docs/grub.texi | 38 +++++++++++++------------------------- 1 file changed, 13 insertions(+), 25 deletions(-) diff --git a/docs/grub.texi b/docs/grub.texi index e935af3..a0c4b9e 100644 --- a/docs/grub.texi +++ b/docs/grub.texi @@ -3873,11 +3873,9 @@ you forget a command, you can run the command @command{help} @comment * vbeinfo:: List available video modes * verify_detached:: Verify detached digital signature * videoinfo:: List available video modes -@comment * xen_*:: Xen boot commands -* xen_hypervisor:: Load xen hypervisor binary -* xen_linux:: Load dom0 kernel for xen hypervisor -* xen_initrd:: Load dom0 initrd for dom0 kernel -* xen_xsm:: Load xen security module for xen hypervisor +@comment * xen_*:: Xen boot commands for AArch64 +* xen_hypervisor:: Load xen hypervisor binary (only on AArch64) +* xen_module:: Load xen modules for xen hypervisor (only on AArch64) @end menu @@ -5153,32 +5151,22 @@ List available video modes. If resolution is given, show only matching modes. Load a Xen hypervisor binary from @var{file}. The rest of the line is passed verbatim as the @dfn{kernel command-line}. Any other binaries must be reloaded after using this command. +This command is only available on AArch64 systems. @end deffn -@node xen_linux -@subsection xen_linux +@node xen_module +@subsection xen_module -@deffn Command xen_linux file [arguments] -Load a dom0 kernel image for xen hypervisor at the booting process of xen. +@deffn Command xen_module [--nounzip] file [arguments] +Load a module for xen hypervisor at the booting process of xen. The rest of the line is passed verbatim as the module command line. +Modules should be loaded in the following order: + - dom0 kernel image + - dom0 ramdisk if present + - XSM policy if present +This command is only available on AArch64 systems. @end deffn -@node xen_initrd -@subsection xen_initrd - -@deffn Command xen_initrd file -Load a initrd image for dom0 kernel at the booting process of xen. -@end deffn - -@node xen_xsm -@subsection xen_xsm - -@deffn Command xen_xsm file -Load a xen security module for xen hypervisor at the booting process of xen. -See @uref{http://wiki.xen.org/wiki/XSM} for more detail. -@end deffn - - @node Networking commands @section The list of networking commands