|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v8 8/8] xen/arm: add dom0-less device assignment info to docs
Hi Stefano, On 03/10/2019 02:35, Stefano Stabellini wrote: Add info about the SPI used for the virtual pl011. Signed-off-by: Stefano Stabellini <stefanos@xxxxxxxxxx> --- Changes in v8: - remove sentence about xen,path being optional Changes in v7: - add xen,force-assign-without-iommu - clarify xen,reg and xen,path go together - remove acked-by due to changes Changes in v6: - fix nr_spis description - add ack Changes in v5: - improve wording Changes in v4: - fix spelling - add "multiboot,module" - improve commit message - improve doc - expand the nr_spis and vpl011 sections and include information about the vpl011 SPI - move passthrough information to docs/misc/arm/passthrough.txt Changes in v3: - add nr_spis - change description of interrupts and interrupt-parent Changes in v2: - device tree fragment loaded in cacheable memory - rename multiboot,dtb to multiboot,device-tree - rename "path" to "xen,path" - add a note about device memory mapping - introduce xen,reg - specify only the GIC is supported --- docs/misc/arm/device-tree/booting.txt | 44 ++++++++++- docs/misc/arm/passthrough.txt | 106 ++++++++++++++++++++++++++ 2 files changed, 149 insertions(+), 1 deletion(-) diff --git a/docs/misc/arm/device-tree/booting.txt b/docs/misc/arm/device-tree/booting.txt index 317a9e962a..649e00d09f 100644 --- a/docs/misc/arm/device-tree/booting.txt +++ b/docs/misc/arm/device-tree/booting.txt @@ -146,7 +146,18 @@ with the following properties:- vpl011 - An empty property to enable/disable a virtual pl011 for the guest to use.+ An empty property to enable/disable a virtual pl011 for the guest to + use. The virtual pl011 uses SPI number 0 (see GUEST_VPL011_SPI). + Please note that the SPI used for the virtual pl011 could clash with the + physical SPI of a physical device assigned to the guest. + +- nr_spis + + Optional. A 32-bit integer specifying the number of SPIs (Shared + Peripheral Interrupts) to allocate for the domain. If nr_spis is + missing, the max number of SPIs supported by the physical GIC is + used, or GUEST_VPL011_SPI+1 if vpl011 is enabled, whichever is + greater.- #address-cells and #size-cells @@ -226,3 +237,34 @@ chosen { Reading again, this suggest the option can be used to force assignment if a Device is behind an IOMMU but the setup failed. All IOMMUs should be configured to deny any transaction. So your device is not going to work. We should also probably state the consequence of using this option. It would be better to say:"If xen,force-assign-without-iommu is present, Xen will allow to assign a device even if it is not behind an IOMMU. This will render your platform *unsafe* if the device is DMA-capable". Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |