qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL v5 26/57] x86-iommu: introduce IEC notifiers


From: Peter Xu
Subject: Re: [Qemu-devel] [PULL v5 26/57] x86-iommu: introduce IEC notifiers
Date: Sun, 31 Jul 2016 20:51:51 +0800
User-agent: Mutt/1.5.24 (2015-08-30)

On Sun, Jul 31, 2016 at 02:01:26PM +0200, Jan Kiszka wrote:

[...]

> Yes, there has to be a generic handle for each translation result an
> IOMMU generated. This handle can be stored on the consumer side along
> with the translation request. How a handle is generated should be
> completely up to the IOMMU.
> 
> The consumer should receive a 32-bit (or more) opaque value with each
> translation request (separate parameter) and then again on specific
> invalidation. The latter case may also report a range of handles, to
> make things more efficient (provided the consumer store those handles
> close to each other).

Agreed. So I think masking can still survive to describe "a range of
handles" for AMD IOMMUs, as long as we are sure the masked range
covers the maximum index number of IRTE entry for specific device.

Thanks,

-- peterx



reply via email to

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