[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] GPU passthrough on ARM





On 24/01/18 22:10, Martin Kelly wrote:
Hi,

Hello,

Does anyone know if GPU passthrough is supported on ARM? (e.g. for a GPU integrated into an ARM SoC). I checked documentation and the code, but I couldn't tell for sure.

If so, what are the hardware requirements for it? If not, is it feasible to do in the future?

Xen Arm supports device integrated into an ARM SoC. In general we highly recommend to have the GPU behind an IOMMU. So passthrough would be fully secure.

Does your platform has an IOMMU? If so which one? Do you know if the GPU is behind it?

It would be possible to do passthrough without IOMMU, but that's more complex and would require some hack in Xen to make sure the guest memory is direct mapped (e.g guest physical address = host physical address).

For more documentation on how to do it (see [1] and [2]).

Cheers,

[1] https://events.static.linuxfound.org/sites/events/files/slides/talk_5.pdf
[2] https://wiki.xen.org/images/1/17/Device_passthrough_xen.pdf


Thanks,
Martin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.