Re: [Qemu-devel] [PATCH] intel_iommu: large page support

2016-01-14 Thread Michael S. Tsirkin
On Thu, Jan 14, 2016 at 12:47:24AM -0500, Jason Wang wrote: > Current intel_iommu only supports 4K page which may not be sufficient > to cover guest working set. This patch tries to enable 2M and 1G mapping > for intel_iommu. This is also useful for future device IOTLB > implementation to have a

Re: [Qemu-devel] [PATCH] intel_iommu: large page support

2016-01-14 Thread Jason Wang
On 01/14/2016 05:28 PM, Michael S. Tsirkin wrote: > On Thu, Jan 14, 2016 at 12:47:24AM -0500, Jason Wang wrote: >> > Current intel_iommu only supports 4K page which may not be sufficient >> > to cover guest working set. This patch tries to enable 2M and 1G mapping >> > for intel_iommu. This is

[Qemu-devel] [PATCH] intel_iommu: large page support

2016-01-13 Thread Jason Wang
Current intel_iommu only supports 4K page which may not be sufficient to cover guest working set. This patch tries to enable 2M and 1G mapping for intel_iommu. This is also useful for future device IOTLB implementation to have a better hit rate. Major work is adding a page mask field on IOTLB