Re: [RFC PATCH 03/12] hw/arm/smmu: Add stage to TLB

2024-04-03 Thread Mostafa Saleh
On Wed, Apr 03, 2024 at 09:22:03AM +0200, Eric Auger wrote: > Hi Mostafa, > > On 4/2/24 20:47, Mostafa Saleh wrote: > > Hi Eric, > > > > On Tue, Apr 02, 2024 at 07:15:20PM +0200, Eric Auger wrote: > >> Hi Mostafa, > >> > >> On 3/25/24 11:13, Mostafa Saleh wrote: > >>> TLBs for nesting will be exte

Re: [RFC PATCH 03/12] hw/arm/smmu: Add stage to TLB

2024-04-03 Thread Eric Auger
Hi Mostafa, On 4/2/24 20:47, Mostafa Saleh wrote: > Hi Eric, > > On Tue, Apr 02, 2024 at 07:15:20PM +0200, Eric Auger wrote: >> Hi Mostafa, >> >> On 3/25/24 11:13, Mostafa Saleh wrote: >>> TLBs for nesting will be extended to be combined, a new index is added >>> "stage", with 2 valid values: >>>

Re: [RFC PATCH 03/12] hw/arm/smmu: Add stage to TLB

2024-04-02 Thread Mostafa Saleh
Hi Eric, On Tue, Apr 02, 2024 at 07:15:20PM +0200, Eric Auger wrote: > Hi Mostafa, > > On 3/25/24 11:13, Mostafa Saleh wrote: > > TLBs for nesting will be extended to be combined, a new index is added > > "stage", with 2 valid values: > > - SMMU_STAGE_1: Meaning this translates VA to PADDR, this

Re: [RFC PATCH 03/12] hw/arm/smmu: Add stage to TLB

2024-04-02 Thread Eric Auger
Hi Mostafa, On 3/25/24 11:13, Mostafa Saleh wrote: > TLBs for nesting will be extended to be combined, a new index is added > "stage", with 2 valid values: > - SMMU_STAGE_1: Meaning this translates VA to PADDR, this entry can >be cached from fully nested configuration or from stage-1 only. >

[RFC PATCH 03/12] hw/arm/smmu: Add stage to TLB

2024-03-25 Thread Mostafa Saleh
TLBs for nesting will be extended to be combined, a new index is added "stage", with 2 valid values: - SMMU_STAGE_1: Meaning this translates VA to PADDR, this entry can be cached from fully nested configuration or from stage-1 only. We don't support separate cached entries (VA to IPA) - SM