Re: [PATCH v2 2/5] memory: Add IOMMUTLBEvent

2020-11-16 Thread Eugenio Perez Martin
On Fri, Oct 30, 2020 at 11:50 AM Michael S. Tsirkin wrote: > > On Mon, Oct 19, 2020 at 12:43:29PM +0200, Eugenio Pérez wrote: > > This way we can tell between regular IOMMUTLBEntry (entry of IOMMU > > hardware) and notifications. > > > > In the notifications, we set explicitly if it is a MAPs or a

Re: [PATCH v2 2/5] memory: Add IOMMUTLBEvent

2020-10-30 Thread Michael S. Tsirkin
On Mon, Oct 19, 2020 at 12:43:29PM +0200, Eugenio Pérez wrote: > This way we can tell between regular IOMMUTLBEntry (entry of IOMMU > hardware) and notifications. > > In the notifications, we set explicitly if it is a MAPs or an UNMAP, > instead of trusting in entry permissions to differentiate th

[PATCH v2 2/5] memory: Add IOMMUTLBEvent

2020-10-19 Thread Eugenio Pérez
This way we can tell between regular IOMMUTLBEntry (entry of IOMMU hardware) and notifications. In the notifications, we set explicitly if it is a MAPs or an UNMAP, instead of trusting in entry permissions to differentiate them. Signed-off-by: Eugenio Pérez Reviewed-by: Peter Xu Reviewed-by: Ju