From patchwork Thu Apr 14 17:06:05 2016 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: 8839711 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 54100C0553 for ; Thu, 14 Apr 2016 17:08:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7F235202E9 for ; Thu, 14 Apr 2016 17:08:15 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id A4AF62020F for ; Thu, 14 Apr 2016 17:08:14 +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 1aqkig-0003sk-Ev; Thu, 14 Apr 2016 17:06:18 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqkie-0003sH-Pt for xen-devel@lists.xensource.com; Thu, 14 Apr 2016 17:06:16 +0000 Received: from [85.158.137.68] by server-13.bemta-3.messagelabs.com id 94/4A-03443-70ECF075; Thu, 14 Apr 2016 17:06:15 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFLMWRWlGSWpSXmKPExsVysWW7jC77Of5 wg1sLpS3uTXnP7sDosb1vF3sAYxRrZl5SfkUCa8ath0tYChr5KrZ85G9gfMXdxcjJISSwm0ni 1x37LkYuIPsUo8TZF8dYQBJsAuISZzq/soLYIgI/GCW23q3pYuTgYBbIk1iwXAskLCzgLbHk+ TMmEJtFQFXiy+M2dpASXgFHiUUNXCBhCQFtiY/fjzFOYORcwMiwilG9OLWoLLVI11AvqSgzPa MkNzEzR9fQwFgvN7W4ODE9NScxqVgvOT93EyPQTwxAsINx+UenQ4ySHExKoryme/jDhfiS8lM qMxKLM+KLSnNSiw8xynBwKEnw9p4BygkWpaanVqRl5gADBiYtwcGjJML7ESTNW1yQmFucmQ6R OsWoKCXO2wmSEABJZJTmwbXBgvQSo6yUMC8j0CFCPAWpRbmZJajyrxjFORiVhHn3g0zhycwrg Zv+CmgxE9Disne8IItLEhFSUg2M5TeYPBbNjYyPSdvlGbXsiOs0OUV2r0VNuxflRR7LUWrfW7 EnwFFcSspMs39SgrZfy8fEEzbXtyusyw/znHOS/8+N5buXXi4qalnz6+3qz/1Psv7vltv25N2 qCLZW4dn2Yll7yw0Zc1Rc3vZx7I0tsW7n+bloVuK2Q4c8NHPff5ETbr4kEBeqxFKckWioxVxU nAgA8/E54k0CAAA= X-Env-Sender: fu.wei@linaro.org X-Msg-Ref: server-10.tower-31.messagelabs.com!1460653574!34202898!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: 8.28; banners=-,-,- X-VirusChecked: Checked Received: (qmail 45579 invoked from network); 14 Apr 2016 17:06:15 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by server-10.tower-31.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 14 Apr 2016 17:06:15 -0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 473987F084; Thu, 14 Apr 2016 17:06:13 +0000 (UTC) Received: from magi-f23.redhat.com (vpn1-4-216.pek2.redhat.com [10.72.4.216]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u3EH6722019790; Thu, 14 Apr 2016 13:06:08 -0400 From: fu.wei@linaro.org To: xen-devel@lists.xensource.com, julien.grall@arm.com, sstabellini@kernel.org, dgdegra@tycho.nsa.gov, konrad.wilk@oracle.com, ian.jackson@eu.citrix.com, jbeulich@suse.com, keir@xen.org, tim@xen.org, xen-devel@lists.xen.org Date: Fri, 15 Apr 2016 01:06:05 +0800 Message-Id: <1460653565-17759-1-git-send-email-fu.wei@linaro.org> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 Cc: jcm@redhat.com, Fu Wei , leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org Subject: [Xen-devel] [PATCH] docs/arm64: update the documention for loading XSM support 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fu Wei This patch updates the documention for loading XSM by the module which lacks a specific compatible string. This mechanism has been added by the commit ca32012341f3de7d3975407fb963e6028f0d0c8b Signed-off-by: Fu Wei --- docs/misc/arm/device-tree/booting.txt | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/misc/arm/device-tree/booting.txt b/docs/misc/arm/device-tree/booting.txt index ad98bf3..f45a9c4 100644 --- a/docs/misc/arm/device-tree/booting.txt +++ b/docs/misc/arm/device-tree/booting.txt @@ -24,10 +24,19 @@ Each node contains the following properties: string (which must always be present). Xen will assume that the first module which lacks a more - specific compatible string is a "multiboot,kernel" and that - the second such is a "multiboot,ramdisk". Any subsequent - modules which lack a specific compatiblity string will not - receive any special treatment. + specific compatible string is a "multiboot,kernel". Xen will + detect the XSM magic from the second module which lacks of + a specific compatiblity string: + - if it's XSM, Xen will assume that the second such is a + "xen,xsm-policy". and also assume user won't load ramdisk; + - if it's not XSM, Xen will assume that the second such is a + "multiboot,ramdisk". + So if user want to load ramdisk without a specific compatiblity, + it must be the 2nd one. + Xen will also detect the XSM Magic for the following modules + which lack of a specific compatiblity, and assume that the module + is a "xen,xsm-policy" or "multiboot,module", according to the + result of detection. Xen 4.4 supported a different set of legacy compatible strings which remain supported such that systems supporting both 4.4