2015-06-01 04:18:18

by David Gibson

[permalink] [raw]
Subject: Re: [PATCH kernel v11 03/34] powerpc/powernv/ioda: Clean up IOMMU group registration

On Fri, May 29, 2015 at 06:44:27PM +1000, Alexey Kardashevskiy wrote:
> The existing code has 3 calls to iommu_register_group() and
> all 3 branches actually cover all possible cases.
>
> This replaces 3 calls with one and moves the registration earlier;
> the latter will make more sense when we add TCE table sharing.
>
> Signed-off-by: Alexey Kardashevskiy <[email protected]>
> Reviewed-by: Gavin Shan <[email protected]>

Reviewed-by: David Gibson <[email protected]>

--
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


Attachments:
(No filename) (679.00 B)
(No filename) (819.00 B)
Download all attachments