|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [RFC PATCH] libxl/arm: Insert "xen,dev-domid" property to virtio-mmio device node
On 19.04.22 00:47, Stefano Stabellini wrote: Hello Stefano On Thu, 14 Apr 2022, Oleksandr Tyshchenko wrote:From: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx> This is needed for grant table based DMA ops layer (CONFIG_XEN_VIRTIO) at the guest side to retrieve the ID of Xen domain where the corresponding backend resides (it is used as an argument to the grant table APIs). This is a part of restricted memory access under Xen feature. Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>I think this looks good overall. thank you Instead of mentioning details of the Linux implementation, we should mention the device tree binding instead, including a link to it. The device tree binding is the relevant spec in this case. I got it, while new device tree binding is not approved yet, I should have inserted a link to the corresponding Linux commit. https://lore.kernel.org/xen-devel/1649963973-22879-4-git-send-email-olekstysh@xxxxxxxxx/ --- !!! This patch is based on non upstreamed yet “Virtio support for toolstack on Arm” series which is on review now: https://lore.kernel.org/xen-devel/1649442065-8332-1-git-send-email-olekstysh@xxxxxxxxx/ All details are at: https://lore.kernel.org/xen-devel/1649963973-22879-1-git-send-email-olekstysh@xxxxxxxxx/ --- tools/libs/light/libxl_arm.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tools/libs/light/libxl_arm.c b/tools/libs/light/libxl_arm.c index 8132a47..d9b26fc 100644 --- a/tools/libs/light/libxl_arm.c +++ b/tools/libs/light/libxl_arm.c @@ -875,7 +875,8 @@ static int make_vpci_node(libxl__gc *gc, void *fdt,static int make_virtio_mmio_node(libxl__gc *gc, void *fdt, -- Regards, Oleksandr Tyshchenko
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |