Re: [RFC PATCH v3 00/18] SMMUv3 nested translation support

2024-05-27 Thread Mostafa Saleh
Hi Eric, On Tue, May 21, 2024 at 10:47 AM Eric Auger wrote: > > Hi Mostafa, > > On 4/29/24 05:23, Mostafa Saleh wrote: > > Currently, QEMU supports emulating either stage-1 or stage-2 SMMUs > > but not nested instances. > > This patch series adds support for nested translation in SMMUv3, > >

Re: [RFC PATCH v3 00/18] SMMUv3 nested translation support

2024-05-21 Thread Eric Auger
Hi Mostafa, On 4/29/24 05:23, Mostafa Saleh wrote: > Currently, QEMU supports emulating either stage-1 or stage-2 SMMUs > but not nested instances. > This patch series adds support for nested translation in SMMUv3, > this is controlled by property “arm-smmuv3.stage=nested”, and > advertised to

Re: [RFC PATCH v3 00/18] SMMUv3 nested translation support

2024-05-13 Thread Julien Grall
Hi Mostafa, On 29/04/2024 04:23, Mostafa Saleh wrote: Future improvements: = 1) One small improvement, that I don’t think it’s worth the extra complexity, is in case of Stage-1 TLB miss for nested translation, we can do stage-1 walk and lookup for stage-2 TLBs,

[RFC PATCH v3 00/18] SMMUv3 nested translation support

2024-04-28 Thread Mostafa Saleh
Currently, QEMU supports emulating either stage-1 or stage-2 SMMUs but not nested instances. This patch series adds support for nested translation in SMMUv3, this is controlled by property “arm-smmuv3.stage=nested”, and advertised to guests as (IDR0.S1P == 1 && IDR0.S2P == 2) Main