[Top][All Lists]

[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: Aviv B.D.
Subject: Re: [Qemu-devel] [PATCH][RFC] IOMMU: Add Support to VFIO devices with vIOMMU present
Date: Tue, 22 Mar 2016 10:13:18 +0200

On Mon, Mar 21, 2016 at 4:30 AM, Peter Xu <address@hidden> wrote:
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
> 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

-- peterx

You are correct, VTD_IOTLB_MAX_SIZE limits the cache size (and reset the whole cache 
if this threshold exceeds...) I will think on another mechanism to identify the correct 
action for each invalidation.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]