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

Re: Armv8A - use of Xen and hypervisor EL2 translation tables to extend bridge address span


  • To: xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Kris Chaplin <kris.chaplin@xxxxxxxxxxxxxxx>
  • Date: Thu, 21 Jan 2021 11:34:26 +0000
  • Delivery-date: Thu, 21 Jan 2021 11:35:26 +0000
  • Ironport-sdr: O4ABwv7LpuinPhFTti50v+MCrFjiDPwzwxxc/VWJD9WA2sTisirdj02MswhcbCZGwz9uNz7tAf N1V6s6U3ab4Q==
  • Ironport-sdr: UvzC67IlCtqI3Hxd/MmWNqeTOFmRSixQxy11UtbRmNpjCejuu5jhvSsvb60qiipzJb1iAcUP1d At64gxnT9wQw==
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>

Hello Bertrand


You will need to implement a driver in Xen to do that and catch some accesses 
and play with mappings inside Xen.
There is not something doing exactly that in Xen but you could look at what the 
vPCI driver for Arm under development right now is doing:
https://gitlab.com/xen-project/fusa/xen-integration/-/tree/integration/pci-passthrough

In this the vpci is catching accesses from guest to the pci configuration space 
and is emulating them.

You might find some other examples of parts of Xen doing things like that in 
other places (like the GIC driver emulating accesses to part of the interrupt 
controller).

Hope that can help you start even though it does not fully do exactly the stuff 
you want.

Cheers
Bertrand

Brilliant - thank you.  I'll look into this.  Appreciate the pointers.


Regards

Kris





 


Rackspace

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