Re: [PATCH V3 2/2] iommu/arm: Remove code duplication in all IOMMU drivers

2022-01-28 Thread Volodymyr Babchuk
Hi Julien, Julien Grall writes: > Hi, > > On 27/01/2022 19:55, Oleksandr Tyshchenko wrote: >> From: Oleksandr Tyshchenko >> All IOMMU drivers on Arm perform almost the same generic actions in >> hwdom_init callback. Move this code to common arch_iommu_hwdom_init() >> in order to get rid of

Re: [PATCH V3 2/2] iommu/arm: Remove code duplication in all IOMMU drivers

2022-01-28 Thread Rahul Singh
Hi Oleksandr, > On 27 Jan 2022, at 7:55 pm, Oleksandr Tyshchenko wrote: > > From: Oleksandr Tyshchenko > > All IOMMU drivers on Arm perform almost the same generic actions in > hwdom_init callback. Move this code to common arch_iommu_hwdom_init() > in order to get rid of code duplication. >

Re: [PATCH V3 2/2] iommu/arm: Remove code duplication in all IOMMU drivers

2022-01-27 Thread Oleksandr
On 27.01.22 22:03, Julien Grall wrote: Hi, Hi Julien On 27/01/2022 19:55, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko All IOMMU drivers on Arm perform almost the same generic actions in hwdom_init callback. Move this code to common arch_iommu_hwdom_init() in order to get

Re: [PATCH V3 2/2] iommu/arm: Remove code duplication in all IOMMU drivers

2022-01-27 Thread Julien Grall
Hi, On 27/01/2022 19:55, Oleksandr Tyshchenko wrote: From: Oleksandr Tyshchenko All IOMMU drivers on Arm perform almost the same generic actions in hwdom_init callback. Move this code to common arch_iommu_hwdom_init() in order to get rid of code duplication. Signed-off-by: Oleksandr

[PATCH V3 2/2] iommu/arm: Remove code duplication in all IOMMU drivers

2022-01-27 Thread Oleksandr Tyshchenko
From: Oleksandr Tyshchenko All IOMMU drivers on Arm perform almost the same generic actions in hwdom_init callback. Move this code to common arch_iommu_hwdom_init() in order to get rid of code duplication. Signed-off-by: Oleksandr Tyshchenko Reviewed-by: Volodymyr Babchuk Reviewed-by: