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

2020-11-17 Thread David Gibson
On Mon, Nov 16, 2020 at 05:55:03PM +0100, 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

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

2020-11-16 Thread Matthew Rosato
On 11/16/20 11:55 AM, 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 them. Signed-off-by: Eugenio

[PATCH v3 2/5] memory: Add IOMMUTLBEvent

2020-11-16 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