From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH] iommu: rockchip: Free domain on .domain_free Date: Tue, 15 Oct 2019 13:16:38 +0200 Message-ID: <20191015111638.GH14518@8bytes.org> References: <20191002172923.22430-1-ezequiel@collabora.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20191002172923.22430-1-ezequiel@collabora.com> Sender: linux-kernel-owner@vger.kernel.org To: Ezequiel Garcia Cc: Heiko Stuebner , iommu@lists.linux-foundation.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com List-Id: linux-rockchip.vger.kernel.org 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 Looks good to me, if Heiko Acks it I apply it for v5.5.