From patchwork Fri Apr 28 16:01:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupinder Thakur X-Patchwork-Id: 98375 Delivered-To: patch@linaro.org Received: by 10.182.236.104 with SMTP id ut8csp392186obc; Fri, 28 Apr 2017 09:04:00 -0700 (PDT) X-Received: by 10.107.203.1 with SMTP id b1mr13036799iog.29.1493395440869; Fri, 28 Apr 2017 09:04:00 -0700 (PDT) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id c2si7374511iof.168.2017.04.28.09.04.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Apr 2017 09:04:00 -0700 (PDT) Received-SPF: neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=192.237.175.120; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=neutral (google.com: 192.237.175.120 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d48LU-0000P3-N5; Fri, 28 Apr 2017 16:02:12 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d48LT-0000Nl-Rg for xen-devel@lists.xenproject.org; Fri, 28 Apr 2017 16:02:11 +0000 Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id 04/53-02006-38763095; Fri, 28 Apr 2017 16:02:11 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrIIsWRWlGSWpSXmKPExsXiVRusq9uUzhx pcH+xgsX3LZOZHBg9Dn+4whLAGMWamZeUX5HAmrFz0zbmgi6+is/vf7E2MP7h7mLk4hASmM4o sXf5BWYQh0VgHrPEnxn7WEAcCYF+VonuK4eBMpxATpxE45+LjBB2lcTqk5PB4kICWhJHT81mh RjVzCTxtuERkMPBwSZgIjGrQwKkRkRASeLeqslMIDXMAm8ZJfo/nmIFSQgLRErsvXSeBcRmEV CV2DCrhx3E5hXwkVh8+gw7xDI5iZvnOsGWcQLFr/UvY4dY7C3R3TCPZQKjwAJGhlWMGsWpRWW pRbqG5npJRZnpGSW5iZk5uoYGpnq5qcXFiempOYlJxXrJ+bmbGIHBxQAEOxgvnvY8xCjJwaQk ylvpzhwpxJeUn1KZkVicEV9UmpNafIhRhoNDSYJ3ahpQTrAoNT21Ii0zBxjmMGkJDh4lEV4Jk DRvcUFibnFmOkTqFKMux6OVP94zCbHk5eelSonzRoAUCYAUZZTmwY2AxdwlRlkpYV5GoKOEeA pSi3IzS1DlXzGKczAqCfMqgUzhycwrgdv0CugIJqAjWFwYQI4oSURISTUwvr4ezLJmW+93s9M f7fSM37xr8zUMdlvzzO+j3fXo/0WOZ/u4n3RdZrrj7Vlp7WG5cnJHfC5/6ZvXiwuvykY7bbHg D1wX0qx47lKu/cxLDvvO5aoJ5Ru8CLfLVHdXfCYwTeFJQWBc9V+Fgm23zB8cmJkU6sIa9Xb9a av88JSsjlOJV5w2z5ioxFKckWioxVxUnAgAEJNgGrQCAAA= X-Env-Sender: bhupinder.thakur@linaro.org X-Msg-Ref: server-7.tower-206.messagelabs.com!1493395329!92736874!1 X-Originating-IP: [74.125.83.45] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.12; banners=-,-,- X-VirusChecked: Checked Received: (qmail 23305 invoked from network); 28 Apr 2017 16:02:10 -0000 Received: from mail-pg0-f45.google.com (HELO mail-pg0-f45.google.com) (74.125.83.45) by server-7.tower-206.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 28 Apr 2017 16:02:10 -0000 Received: by mail-pg0-f45.google.com with SMTP id t7so16936575pgt.3 for ; Fri, 28 Apr 2017 09:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=J8kraTfJtG96igPrU8pS6Z5yko0GHkWNAtxw1WmFUPM=; b=b6S5CYhl/8aVDiLG4rK4v8xiyLiqt6nXe3OyTeWg0IbTKuiJSgP2ofiT5+kVObIAqv Sib26BvEth8+e30AH6XItgx21gTf92RJGGs/zfcs2yg8OOz5Kfmb/sTeYHBc54q/5g2r j0ggTiUyURhK0g5aY3LY2lncStC/hXqOSf+QQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=J8kraTfJtG96igPrU8pS6Z5yko0GHkWNAtxw1WmFUPM=; b=ZB/+Menus8a1/k7Pivvu9vSV3G2XARwiyiJ2P04WapX8QEAegQkAHwlvyYDbnaIiXD Ra20iGU3XkiRCaj9vuvQhAvas+tmKbqIHufcwjwd0orZxNHYB7mXX/XJWR2E2AClOYU/ K4vy0m9OcsKY/DHKdF7PmtHp7PdfsOdhC+OwLUBF/xXyuFA4X+mEonLCd7tgmSuQ2omI sagTza0WEsgYX33j3PJfA1NBQjGRiG+Bzh6dCOvnVpsgTQZHWCasafjmeoHwRbbIwSj3 AKGmwActRJBacu3GuvzzBPxz9VRCg78Kw/xWGFyuiKxSHBQ34y7w6sVw/vBrP8tXaLFS yd/Q== X-Gm-Message-State: AN3rC/6iUmgSFS0IERvz8fGhwB2nGeSTArmWZo3x6BuDcb18xTvd2+n3 CAKhb9vQsfCBOMDK X-Received: by 10.98.80.156 with SMTP id g28mr12592697pfj.163.1493395329016; Fri, 28 Apr 2017 09:02:09 -0700 (PDT) Received: from blr-ubuntu-linaro.wlan.qualcomm.com ([103.5.19.18]) by smtp.gmail.com with ESMTPSA id n65sm9870239pga.8.2017.04.28.09.02.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Apr 2017 09:02:08 -0700 (PDT) From: Bhupinder Thakur To: xen-devel@lists.xenproject.org Date: Fri, 28 Apr 2017 21:31:24 +0530 Message-Id: <1493395284-18430-11-git-send-email-bhupinder.thakur@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1493395284-18430-1-git-send-email-bhupinder.thakur@linaro.org> References: <1493395284-18430-1-git-send-email-bhupinder.thakur@linaro.org> Cc: Stefano Stabellini , Wei Liu , Andrew Cooper , Ian Jackson , Julien Grall , Jan Beulich Subject: [Xen-devel] [PATCH 10/10 v2] xen/arm: vpl011: Update documentation for vuart console 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" 1. Update documentation for vuart = "pl011" option added. 2. Update documentation about SPI irq reserved for vpl011. Signed-off-by: Bhupinder Thakur --- docs/man/xl.cfg.pod.5.in | 8 ++++++++ docs/misc/console.txt | 14 +++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/man/xl.cfg.pod.5.in b/docs/man/xl.cfg.pod.5.in index 13167ff..44118a8 100644 --- a/docs/man/xl.cfg.pod.5.in +++ b/docs/man/xl.cfg.pod.5.in @@ -1085,6 +1085,14 @@ Allow a guest to access specific physical IRQs. It is recommended to use this option only for trusted VMs under administrator control. +If vuart console is enabled then irq 32 is reserved for vuart. By default +vuart console is disabled. If user specifies the following option in +the guest config file then vuart console is enabled. + +vuart = "pl011" + +vuart console is currently enabled only for ARM64. + =item B Limit the guest to using at most N event channels (PV interrupts). diff --git a/docs/misc/console.txt b/docs/misc/console.txt index 16da805..2455fc7 100644 --- a/docs/misc/console.txt +++ b/docs/misc/console.txt @@ -19,7 +19,19 @@ The first PV console path in xenstore remains: /local/domain/$DOMID/console -the other PV consoles follow the conventional xenstore device path and +The vuart console path in xenstore is defined as: + +/local/domain/$DOMID/console/vuart/0 + +The vuart console provides access to pl011 UART on ARM64 systems. To +enable vuart the following line has to be added the guest configuration +file: + +vuart = "pl011" + +Also the console should be set to "ttyAMA0" instead of "hvc0". + +The other PV consoles follow the conventional xenstore device path and live in: /local/domain/$DOMID/device/console/$DEVID.