Re: [PATCH v4 07/19] hw/arm/smmu: Introduce CACHED_ENTRY_TO_ADDR

2024-07-08 Thread Eric Auger
Hi Mostafa, On 7/4/24 20:04, Jean-Philippe Brucker wrote: > On Mon, Jul 01, 2024 at 11:02:29AM +, Mostafa Saleh wrote: >> Soon, smmuv3_do_translate() will be used to translate the CD and the >> TTBx, instead of re-writting the same logic to convert the returned >> cached entry to an address, a

Re: [PATCH v4 07/19] hw/arm/smmu: Introduce CACHED_ENTRY_TO_ADDR

2024-07-04 Thread Jean-Philippe Brucker
On Mon, Jul 01, 2024 at 11:02:29AM +, Mostafa Saleh wrote: > Soon, smmuv3_do_translate() will be used to translate the CD and the > TTBx, instead of re-writting the same logic to convert the returned > cached entry to an address, add a new macro CACHED_ENTRY_TO_ADDR. > > Signed-off-by: Mostafa

[PATCH v4 07/19] hw/arm/smmu: Introduce CACHED_ENTRY_TO_ADDR

2024-07-01 Thread Mostafa Saleh
Soon, smmuv3_do_translate() will be used to translate the CD and the TTBx, instead of re-writting the same logic to convert the returned cached entry to an address, add a new macro CACHED_ENTRY_TO_ADDR. Signed-off-by: Mostafa Saleh --- hw/arm/smmuv3.c | 3 +-- include/hw/arm/smmu-co