linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robherring2@gmail.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: arnd@arndb.de, linux@arm.linux.org.uk,
	linaro-dev@lists.linaro.org,
	linux-arm-kernel@lists.infradead.org, tim@xen.org,
	Ian.Campbell@citrix.com, konrad.wilk@oracle.com,
	xen-devel@lists.xensource.com, linux-kernel@vger.kernel.org,
	devicetree-discuss@lists.ozlabs.org,
	David Vrabel <david.vrabel@citrix.com>,
	Dave Martin <dave.martin@linaro.org>
Subject: Re: [PATCH v5 06/17] docs: Xen ARM DT bindings
Date: Mon, 17 Sep 2012 21:59:01 -0500	[thread overview]
Message-ID: <5057E375.2050103@gmail.com> (raw)
In-Reply-To: <1347903543-2135-6-git-send-email-stefano.stabellini@eu.citrix.com>

On 09/17/2012 12:38 PM, Stefano Stabellini wrote:
> Add a doc to describe the Xen ARM device tree bindings
> 
> 
> Changes in v5:
> 
> - add a comment about the size of the grant table memory region;
> - add a comment about the required presence of a GIC node;
> - specify that the described properties are part of a top-level
> "hypervisor" node;
> - specify #address-cells and #size-cells for the example.
> 
> 
> Changes in v4:
> 
> - "xen,xen" should be last as it is less specific;
> - update reg property using 2 address-cells and 2 size-cells.
> 
> 
> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> CC: devicetree-discuss@lists.ozlabs.org
> CC: David Vrabel <david.vrabel@citrix.com>
> CC: Rob Herring <robherring2@gmail.com>
> CC: Dave Martin <dave.martin@linaro.org>

This is so minimal now and it doesn't seem to have any overlap with kvm, so:

Acked-by: Rob Herring <rob.herring@calxeda.com>

> ---
>  Documentation/devicetree/bindings/arm/xen.txt |   25 +++++++++++++++++++++++++
>  1 files changed, 25 insertions(+), 0 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/arm/xen.txt
> 
> diff --git a/Documentation/devicetree/bindings/arm/xen.txt b/Documentation/devicetree/bindings/arm/xen.txt
> new file mode 100644
> index 0000000..0f7b9c2
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/xen.txt
> @@ -0,0 +1,25 @@
> +* Xen hypervisor device tree bindings
> +
> +Xen ARM virtual platforms shall have a top-level "hypervisor" node with
> +the following properties:
> +
> +- compatible:
> +	compatible = "xen,xen-<version>", "xen,xen";
> +  where <version> is the version of the Xen ABI of the platform.
> +
> +- reg: specifies the base physical address and size of a region in
> +  memory where the grant table should be mapped to, using an
> +  HYPERVISOR_memory_op hypercall. The memory region is large enough to map
> +  the whole grant table (it is larger or equal to gnttab_max_grant_frames()).
> +
> +- interrupts: the interrupt used by Xen to inject event notifications.
> +  A GIC node is also required.
> +
> +
> +Example (assuming #address-cells = <2> and #size-cells = <2>):
> +
> +hypervisor {
> +	compatible = "xen,xen-4.3", "xen,xen";
> +	reg = <0 0xb0000000 0 0x20000>;
> +	interrupts = <1 15 0xf08>;
> +};
> 


  reply	other threads:[~2012-09-18  2:59 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 17:37 [PATCH v5 00/17] Introduce Xen support on ARM (based on 3.6-rc5) Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 01/17] arm: initial Xen support Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 02/17] xen/arm: hypercalls Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 03/17] xen/arm: page.h definitions Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 04/17] xen/arm: sync_bitops Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 05/17] xen/arm: empty implementation of grant_table arch specific functions Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 06/17] docs: Xen ARM DT bindings Stefano Stabellini
2012-09-18  2:59   ` Rob Herring [this message]
2012-09-17 17:38 ` [PATCH v5 07/17] xen/arm: Xen detection and shared_info page mapping Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 08/17] xen/arm: Introduce xen_ulong_t for unsigned long Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 09/17] xen: do not compile manage, balloon, pci, acpi, pcpu and cpu_hotplug on ARM Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 10/17] xen/arm: introduce CONFIG_XEN " Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 11/17] xen/arm: get privilege status Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 12/17] xen/arm: initialize grant_table on ARM Stefano Stabellini
2012-09-17 17:38 ` [PATCH v5 13/17] xen/arm: receive Xen events " Stefano Stabellini
2012-09-17 17:39 ` [PATCH v5 14/17] xen/arm: implement alloc/free_xenballooned_pages with alloc_pages/kfree Stefano Stabellini
2012-09-17 17:39 ` [PATCH v5 15/17] xen/arm: compile blkfront and blkback Stefano Stabellini
2012-09-17 17:39 ` [PATCH v5 16/17] xen/arm: compile netback Stefano Stabellini
2012-09-17 17:39 ` [PATCH v5 17/17] MAINTAINERS: add myself as Xen ARM maintainer Stefano Stabellini
2012-09-18 12:34 ` [PATCH v5 00/17] Introduce Xen support on ARM (based on 3.6-rc5) Arnd Bergmann
2012-09-18 13:53   ` Konrad Rzeszutek Wilk
2012-09-18 13:57   ` Stefano Stabellini
2012-09-18 14:37     ` Konrad Rzeszutek Wilk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5057E375.2050103@gmail.com \
    --to=robherring2@gmail.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=arnd@arndb.de \
    --cc=dave.martin@linaro.org \
    --cc=david.vrabel@citrix.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=konrad.wilk@oracle.com \
    --cc=linaro-dev@lists.linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).