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

[Xen-devel] Having a DOM-U guest with 1:1 mapping in the second stage MMU.


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jorge Pereira <jorge.pereira@xxxxxxx>
  • Date: Tue, 14 Jan 2020 21:39:14 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QwG1TlyKlL+DXarZSULG7JD1O0Y1uF4SZ0xk4/a9j7E=; b=Q3nCwU0sMGNrr6C7bYhX/COX59HjFWevo20jNRmDluocRqg7gEXpBNgfJN84IKN0joPx7PohRXlJRWcQFS50LQ8aq9BRdlwy0zBpB6uxhdyLWTLarXM2sXuweVTCyfRmuKcave56/3mWSveGNZg56Ve9wttKFsh8X94pS5SBva3Rm5k7TPOiFL9gpCaDgmubgFiKuIeE96SKJvYJP2ZiA7juapbQSmo2f3kAJcIaCttIucnYocKzde3GegV5FQVduwQG6wcVyClmql4YIGJRVFCjjsjiqfrNGTRpF2ibqQIzZ3t5pT1Ec00uGdwti66eAxSTezABEAQGs5ElJQK/Og==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dLLoKIaOeuCiy4bas4SUwnJ50CF2fgShzdQzoTEZ2RXUHNjt6TzrhpDArtOfqwBxwCN4E9Dj3pT3FUgb071gXFL1IzZMac2K/xQV5Se1jWzPEX2d8Ql6sm2HI3zjr1nai/O44Qo2JgGIlk6472bsgq/kcx9hyaeMsG3wrCIzx04OEtKGRPzpuD081/9U6zHDsodbQWpxP0+ba5Ju1g0TSR2URHQS3dUK21J3/fB7vQYEM1sEuQDGnKnKQ7zupPUIGMMi/5jG0xMJuCP30u4SFIJ8+IrVsvw5ibcEuJxW0fMlQHLRKBjeW64ERGqNvtyfuYSfrT5AmAq8r/8VKkIFfw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=jorge.pereira@xxxxxxx;
  • Delivery-date: Tue, 14 Jan 2020 21:39:46 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AdXLIqP6kZ9GrNU2S1+Q7w9nOZRIUw==
  • Thread-topic: Having a DOM-U guest with 1:1 mapping in the second stage MMU.

Hi Guys,

 

I’m currently using XEN in order to run side-by-side a DOM-0 with a DOM-U guest. My use-case scenario requires in the DOM-U direct access to some dma-capable devices such ethernet and some GPUs.

 

Since our target platform (i.MX8MM) does not support IOMMU, we can’t assign dma-capable devices to the DOM-U guest because XEN does not create 1:1 mapping for that guest in the 2nd stage MMU. So, guest-virtual addresses are different than the physical ones.

 

Is it possible to have 1:1 mapping for DOM-U guests? If not, I’m interested to know what would be the estimated effort to support this feature?

 

Thanks in advance,

 

Cheers,

Jorge

_______________________________________________
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®.