Re: [PATCH] iommu: rockchip: Free domain on .domain_free

2019-10-16 Thread Joerg Roedel
On Wed, Oct 02, 2019 at 02:29:23PM -0300, Ezequiel Garcia wrote: > IOMMU domain resource life is well-defined, managed > by .domain_alloc and .domain_free. > > Therefore, domain-specific resources shouldn't be tied to > the device life, but instead to its domain. > > Signed-off-by: Ezequiel Garci

Re: [PATCH] iommu: rockchip: Free domain on .domain_free

2019-10-15 Thread Heiko Stuebner
Am Mittwoch, 2. Oktober 2019, 19:29:23 CEST schrieb Ezequiel Garcia: > IOMMU domain resource life is well-defined, managed > by .domain_alloc and .domain_free. > > Therefore, domain-specific resources shouldn't be tied to > the device life, but instead to its domain. > > Signed-off-by: Ezequiel G

Re: [PATCH] iommu: rockchip: Free domain on .domain_free

2019-10-15 Thread Robin Murphy
On 02/10/2019 18:29, Ezequiel Garcia wrote: IOMMU domain resource life is well-defined, managed by .domain_alloc and .domain_free. Therefore, domain-specific resources shouldn't be tied to the device life, but instead to its domain. FWIW, Reviewed-by: Robin Murphy Signed-off-by: Ezequiel G

Re: [PATCH] iommu: rockchip: Free domain on .domain_free

2019-10-15 Thread Joerg Roedel
On Wed, Oct 02, 2019 at 02:29:23PM -0300, Ezequiel Garcia wrote: > IOMMU domain resource life is well-defined, managed > by .domain_alloc and .domain_free. > > Therefore, domain-specific resources shouldn't be tied to > the device life, but instead to its domain. > > Signed-off-by: Ezequiel Garci

[PATCH] iommu: rockchip: Free domain on .domain_free

2019-10-02 Thread Ezequiel Garcia
IOMMU domain resource life is well-defined, managed by .domain_alloc and .domain_free. Therefore, domain-specific resources shouldn't be tied to the device life, but instead to its domain. Signed-off-by: Ezequiel Garcia --- drivers/iommu/rockchip-iommu.c | 7 +-- 1 file changed, 5 insertion