Re: [PATCH v2 4/9] hw/arm/smmu: Simplify the IOTLB key format

2020-07-06 Thread Auger Eric
Hi Peter, On 7/6/20 3:26 PM, Peter Maydell wrote: > On Thu, 2 Jul 2020 at 16:27, Eric Auger wrote: >> >> Instead of using a Jenkins hash function to generate >> the key let's just use a 64 bit unsigned integer that >> contains the asid and the 40 upper bits of the iova. >> A maximum of 52-bit

Re: [PATCH v2 4/9] hw/arm/smmu: Simplify the IOTLB key format

2020-07-06 Thread Peter Maydell
On Thu, 2 Jul 2020 at 16:27, Eric Auger wrote: > > Instead of using a Jenkins hash function to generate > the key let's just use a 64 bit unsigned integer that > contains the asid and the 40 upper bits of the iova. > A maximum of 52-bit IOVA is supported. This change in the > key format also

[PATCH v2 4/9] hw/arm/smmu: Simplify the IOTLB key format

2020-07-02 Thread Eric Auger
Instead of using a Jenkins hash function to generate the key let's just use a 64 bit unsigned integer that contains the asid and the 40 upper bits of the iova. A maximum of 52-bit IOVA is supported. This change in the key format also prepares for the addition of new fields in subsequent patches