Re: [PATCH 3/5] hw/arm/smmuv3: Align stream table base address to table size

2019-12-05 Thread Auger Eric
Hi Simon, On 12/4/19 2:55 PM, Simon Veith wrote: > Per the specification, and as observed in hardware, the SMMUv3 aligns > the SMMU_STRTAB_BASE address to the size of the table by masking out the > respective least significant bits in the ADDR field. > > Apply this masking logic to our

[PATCH 3/5] hw/arm/smmuv3: Align stream table base address to table size

2019-12-04 Thread Simon Veith
Per the specification, and as observed in hardware, the SMMUv3 aligns the SMMU_STRTAB_BASE address to the size of the table by masking out the respective least significant bits in the ADDR field. Apply this masking logic to our smmu_find_ste() lookup function per the specification. ref. ARM IHI