[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH][RFC] IOMMU: Add Support to VFIO devices with vI
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH][RFC] IOMMU: Add Support to VFIO devices with vIOMMU present |
Date: |
Mon, 21 Mar 2016 10:30:12 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Sat, Mar 19, 2016 at 11:40:04AM +0200, Aviv B.D. wrote:
[...]
> As far as I understand the code, currently there is no way to turn off the
> IOTLB.
> Furthermore. the IOTLB is not implemented as LRU, and actually caches
> (indefinitely)
> any accessed address, without any size constrains. I use those assumptions
> to know
> whether the current invalidation is for unmap operation or map operation.
Please have a look at VTD_IOTLB_MAX_SIZE. It seems to be the size of
the hash.
Btw, I guess it's a much bigger problem if IOTLB has unlimited cache
size...
Thanks.
-- peterx
Re: [Qemu-devel] [PATCH][RFC] IOMMU: Add Support to VFIO devices with vIOMMU present, Michael S. Tsirkin, 2016/03/15
Re: [Qemu-devel] [PATCH][RFC] IOMMU: Add Support to VFIO devices with vIOMMU present, Michael S. Tsirkin, 2016/03/23