Re: [Xen-devel] [RFC] Xen PV IOMMU interface draft B

2015-06-17 Thread Malcolm Crossley
On 17/06/15 13:48, Yu, Zhang wrote: > Hi Malcolm, > > Thank you very much for accommodate our XenGT requirement in your > design. Following are some XenGT related questions. :) > > On 6/13/2015 12:43 AM, Malcolm Crossley wrote: >> Hi All, >> >> IOMMUOP_map_foreign_page >> >> T

Re: [Xen-devel] [RFC] Xen PV IOMMU interface draft B

2015-06-17 Thread Jan Beulich
>>> On 17.06.15 at 14:48, wrote: >Thank you very much for accommodate our XenGT requirement in your > design. Following are some XenGT related questions. :) Please trim your replies. Jan ___ Xen-devel mailing list Xen-devel@lists.xen.org http://l

Re: [Xen-devel] [RFC] Xen PV IOMMU interface draft B

2015-06-17 Thread Yu, Zhang
Hi Malcolm, Thank you very much for accommodate our XenGT requirement in your design. Following are some XenGT related questions. :) On 6/13/2015 12:43 AM, Malcolm Crossley wrote: Hi All, Here is a design for allowing guests to control the IOMMU. This allows for the guest GFN mapping to be p

Re: [Xen-devel] [RFC] Xen PV IOMMU interface draft B

2015-06-16 Thread Jan Beulich
>>> On 16.06.15 at 16:47, wrote: > On 16/06/15 14:19, Jan Beulich wrote: > On 12.06.15 at 18:43, wrote: >>> IOMMU_QUERY_map_all_gfns 1IOMMUOP_map_page subop can map any MFN >>> not used by Xen >> >> "gfns" or "MFN"? > > gfns . This is meant

Re: [Xen-devel] [RFC] Xen PV IOMMU interface draft B

2015-06-16 Thread Malcolm Crossley
On 16/06/15 14:19, Jan Beulich wrote: On 12.06.15 at 18:43, wrote: >> IOMMUOP_query_caps >> -- >> >> This subop queries the runtime capabilities of the PV-IOMMU interface for >> the >> specific called domain. This subop uses `struct pv_iommu_op` directly. > > "calling domain

Re: [Xen-devel] [RFC] Xen PV IOMMU interface draft B

2015-06-16 Thread Jan Beulich
>>> On 12.06.15 at 18:43, wrote: > IOMMUOP_query_caps > -- > > This subop queries the runtime capabilities of the PV-IOMMU interface for > the > specific called domain. This subop uses `struct pv_iommu_op` directly. "calling domain" perhaps? > --

[Xen-devel] [RFC] Xen PV IOMMU interface draft B

2015-06-12 Thread Malcolm Crossley
Hi All, Here is a design for allowing guests to control the IOMMU. This allows for the guest GFN mapping to be programmed into the IOMMU and avoid using the SWIOTLB bounce buffer technique in the Linux kernel (except for legacy 32 bit DMA IO devices). Draft B has been expanded to include Bus Addr