Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758734AbbFAESS (ORCPT ); Mon, 1 Jun 2015 00:18:18 -0400 Received: from ozlabs.org ([103.22.144.67]:50664 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758153AbbFAERz (ORCPT ); Mon, 1 Jun 2015 00:17:55 -0400 Date: Mon, 1 Jun 2015 13:55:42 +1000 From: David Gibson To: Alexey Kardashevskiy Cc: linuxppc-dev@lists.ozlabs.org, Alex Williamson , Benjamin Herrenschmidt , Gavin Shan , Paul Mackerras , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH kernel v11 03/34] powerpc/powernv/ioda: Clean up IOMMU group registration Message-ID: <20150601035542.GE22789@voom.redhat.com> References: <1432889098-22924-1-git-send-email-aik@ozlabs.ru> <1432889098-22924-4-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oj4kGyHlBMXGt3Le" Content-Disposition: inline In-Reply-To: <1432889098-22924-4-git-send-email-aik@ozlabs.ru> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1968 Lines: 51 --oj4kGyHlBMXGt3Le Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > This replaces 3 calls with one and moves the registration earlier; > the latter will make more sense when we add TCE table sharing. >=20 > Signed-off-by: Alexey Kardashevskiy > Reviewed-by: Gavin Shan Reviewed-by: David Gibson --=20 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 --oj4kGyHlBMXGt3Le Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVa9e+AAoJEGw4ysog2bOSrJkQAL77wrzcbbsCQYFTMzclG+qw T6UzhRb4HKugp/idWExuH/+8LgsdDxseKQOg7R0z4YDxNcQMEFCq1yxfycmbD+dc i2MY8zW342puzjKhTunozYKhzSYokMEiRUTxvPLPe2sKb0EMvh58RC3tsqclQEPV H5/mRsgOnq5z73EZUySitJ9fVayRVl3Ia52RlOCrUvTj2/XPYvAyEh+styNUCGC3 gZAVkrRgf/DChimtWVyOggD22HfHUDtbv0acbW3Irwgy7ml6NkV0yPrtfubF7Mom vAum6UiX23TFq8BesySIJ6q+uRZkh5VNdV8NXZiq33gGLIt42zzA0B7j//NTjpfg QP8mvKr3TqgmaAUe7V3H7QaEteV02lTaNqNEtMVH1pb8fxQqNSoUBO9WNkTNBak9 H/QBD2w0MiEAYkNgU2c4skimK/MmVC+aAvuYn/N1SX+3XNpexJNkQEi82LOaGFfY 7wG5M2tQUm7m+I5NoYWFL2tdiUpVeN0gQzNwXXvSnXWoBdSloYduLvuyoLzo4SEn WtYC0V/XBdaeFJtFIqsBvYNM3XYCNE/uKMCgJBd+NdGg4M1ZHrY36hohPS92heJi yOHavhSQ4XAMWAqzIVnmpn5AqaWlhR2R7HoiT4WJ6pTodmvxL4GOdeVQg1sodYUt wpGZAW0MWiZWe0lONBSr =w4x/ -----END PGP SIGNATURE----- --oj4kGyHlBMXGt3Le-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/