[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150601035848.GF22789@voom.redhat.com>
Date: Mon, 1 Jun 2015 13:58:48 +1000
From: David Gibson <david@...son.dropbear.id.au>
To: Alexey Kardashevskiy <aik@...abs.ru>
Cc: linuxppc-dev@...ts.ozlabs.org,
Alex Williamson <alex.williamson@...hat.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Gavin Shan <gwshan@...ux.vnet.ibm.com>,
Paul Mackerras <paulus@...ba.org>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH kernel v11 04/34] powerpc/iommu: Put IOMMU group
explicitly
On Fri, May 29, 2015 at 06:44:28PM +1000, Alexey Kardashevskiy wrote:
> So far an iommu_table lifetime was the same as PE. Dynamic DMA windows
> will change this and iommu_free_table() will not always require
> the group to be released.
>
> This moves iommu_group_put() out of iommu_free_table().
>
> This adds a iommu_pseries_free_table() helper which does
> iommu_group_put() and iommu_free_table(). Later it will be
> changed to receive a table_group and we will have to change less
> lines then.
>
> This should cause no behavioural change.
>
> Signed-off-by: Alexey Kardashevskiy <aik@...abs.ru>
> Reviewed-by: Gavin Shan <gwshan@...ux.vnet.ibm.com>
Reviewed-by: David Gibson <david@...son.dropbear.id.au>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists