From patchwork Tue Feb 21 20:42:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Venu Busireddy X-Patchwork-Id: 9585637 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 D63E160578 for ; Tue, 21 Feb 2017 20:44:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBED62862E for ; Tue, 21 Feb 2017 20:44:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B09BF28639; Tue, 21 Feb 2017 20:44:27 +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, UNPARSEABLE_RELAY 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 4D60C28637 for ; Tue, 21 Feb 2017 20:44:27 +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 1cgHGT-0008Eh-7E; Tue, 21 Feb 2017 20:42:25 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cgHGR-0008EZ-4M for xen-devel@lists.xen.org; Tue, 21 Feb 2017 20:42:23 +0000 Received: from [193.109.254.147] by server-3.bemta-6.messagelabs.com id 4C/0A-13524-E26ACA85; Tue, 21 Feb 2017 20:42:22 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHLMWRWlGSWpSXmKPExsUyZ7p8oK7usjU RBlcvGlss+biYxYHR4+ju30wBjFGsmXlJ+RUJrBmr7nczFSzkqli23beB8TZHFyMXh5DAZCaJ Gyc/M0M4vxklvp75A+VsZJSYPvEII4TTzSjxt6eRtYuRk4NNwEDi6OEeMFtEQFbi7//tzCA2s 0Azs8SiR4pdjBwcwgJhEtf+eIGYLAKqEoe6JEAqeAU8JXZeOgdWLSEgJ7Fj9RMmiCl6Ehd/T2 GHiBtLtL+9yDaBkXcBI8MqRo3i1KKy1CJdQzO9pKLM9IyS3MTMHF1DAzO93NTi4sT01JzEpGK 95PzcTYzAcGAAgh2M9zcGHGKU5GBSEuVdPnNNhBBfUn5KZUZicUZ8UWlOavEhRhkODiUJ3qil QDnBotT01Iq0zBxgYMKkJTh4lER4DywBSvMWFyTmFmemQ6ROMSpKifMeAkkIgCQySvPg2mDRc IlRVkqYlxHoECGegtSi3MwSVPlXjOIcjErCvBwg23ky80rgpr8CWswEtPimx0qQxSWJCCmpBs YqBrXkKZrfv7nM2a57kYPxwCkFq19nnixbbeXaHHP47qW+1vDyOnYdZiX5j3WJrbH1r68m1Yh F75Lf8oVLQVZSmUOJZ9Wx24fv569Kcbo8Yes2t/k3oo9a7fl2kdnIzrBHbClf8uHZFaWzX56V 5LXzWPnXN3RL9yfxdc8sLqzW/tuhJTol5JUSS3FGoqEWc1FxIgAM6LPugQIAAA== X-Env-Sender: venu.busireddy@oracle.com X-Msg-Ref: server-9.tower-27.messagelabs.com!1487709739!88281346!1 X-Originating-IP: [156.151.31.81] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTU2LjE1MS4zMS44MSA9PiAyODgzMzk=\n X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 40299 invoked from network); 21 Feb 2017 20:42:21 -0000 Received: from userp1040.oracle.com (HELO userp1040.oracle.com) (156.151.31.81) by server-9.tower-27.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 21 Feb 2017 20:42:21 -0000 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v1LKgA2a016239 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Feb 2017 20:42:11 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v1LKgA7S007080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Feb 2017 20:42:10 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v1LKg9bD003567; Tue, 21 Feb 2017 20:42:09 GMT Received: from ovs342.us.oracle.com (/10.149.70.87) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 21 Feb 2017 12:42:08 -0800 From: Venu Busireddy To: venu.busireddy@oracle.com Date: Tue, 21 Feb 2017 14:42:01 -0600 Message-Id: <1487709721-18619-1-git-send-email-venu.busireddy@oracle.com> X-Mailer: git-send-email 1.7.1 To: Venu Busireddy X-Source-IP: aserv0022.oracle.com [141.146.126.234] Cc: Stefano Stabellini , Wei Liu , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Jan Beulich , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH] iommu: Elaborate the usage of RMRR specification on the command line. 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 As some users have suggested, elaborate the usage of RMRR specification on the command line, and provide a usage example. Signed-off-by: Venu Busireddy --- docs/misc/xen-command-line.markdown | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown index 3acbb33..77e0a20 100644 --- a/docs/misc/xen-command-line.markdown +++ b/docs/misc/xen-command-line.markdown @@ -1406,6 +1406,15 @@ If segment of the first device is not specified, segment zero will be used. If other segments are not specified, first device segment will be used. If a segment is specified for other than the first device and it does not match the one specified for the first one, an error will be reported. + +'start' and 'end' values are page numbers (not full physical addresses). +If the values are not preceded by "0x", they are treated as decimal. + +Usage example: If there are two devices 0:0:1d.0 and 0:0:1a.0 that require +pages 0xd5d45 and 0xd5d46 to be reserved respectively, use: + +rmrr=0xd5d45=0:0:1d.0;0xd5d46=0:0:1a.0 + Note: grub2 requires to escape or use quotations if special characters are used, namely ';', refer to the grub2 documentation if multiple ranges are specified.