Re: [PATCH v4 15/19] hw/arm/smmuv3: Support nested SMMUs in smmuv3_notify_iova()

2024-07-09 Thread Mostafa Saleh
Hi Jean, On Thu, Jul 04, 2024 at 07:35:03PM +0100, Jean-Philippe Brucker wrote: > On Mon, Jul 01, 2024 at 11:02:37AM +, Mostafa Saleh wrote: > > IOMMUTLBEvent only understands IOVA, for stage-1 or stage-2 > > SMMU instances we consider the input address as the IOVA, but when > > nesting is use

Re: [PATCH v4 15/19] hw/arm/smmuv3: Support nested SMMUs in smmuv3_notify_iova()

2024-07-04 Thread Jean-Philippe Brucker
On Mon, Jul 01, 2024 at 11:02:37AM +, Mostafa Saleh wrote: > IOMMUTLBEvent only understands IOVA, for stage-1 or stage-2 > SMMU instances we consider the input address as the IOVA, but when > nesting is used, we can't mix stage-1 and stage-2 addresses, so for > nesting only stage-1 is considere

[PATCH v4 15/19] hw/arm/smmuv3: Support nested SMMUs in smmuv3_notify_iova()

2024-07-01 Thread Mostafa Saleh
IOMMUTLBEvent only understands IOVA, for stage-1 or stage-2 SMMU instances we consider the input address as the IOVA, but when nesting is used, we can't mix stage-1 and stage-2 addresses, so for nesting only stage-1 is considered the IOVA and would be notified. Signed-off-by: Mostafa Saleh --- h