Re: [PATCH] iommu: rockchip: Free domain on .domain_free
From: Joerg Roedel
Date: Wed Oct 16 2019 - 03:43:46 EST
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 Garcia <ezequiel@xxxxxxxxxxxxx>
> drivers/iommu/rockchip-iommu.c | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)