Re: [PATCH v2 1/9] hw/arm/smmu-common: Factorize some code in smmu_ptw_64()

2020-07-06 Thread Peter Maydell
On Thu, 2 Jul 2020 at 16:27, Eric Auger wrote: > > Page and block PTE decoding can share some code. Let's > first handle table PTE and factorize some code shared by > page and block PTEs. > > Signed-off-by: Eric Auger > > --- > > v1 -> v2: > - restore goto error in case get_pte() fails > ---

[PATCH v2 1/9] hw/arm/smmu-common: Factorize some code in smmu_ptw_64()

2020-07-02 Thread Eric Auger
Page and block PTE decoding can share some code. Let's first handle table PTE and factorize some code shared by page and block PTEs. Signed-off-by: Eric Auger --- v1 -> v2: - restore goto error in case get_pte() fails --- hw/arm/smmu-common.c | 48