Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758780AbbFAESk (ORCPT ); Mon, 1 Jun 2015 00:18:40 -0400 Received: from ozlabs.org ([103.22.144.67]:54746 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753151AbbFAERz (ORCPT ); Mon, 1 Jun 2015 00:17:55 -0400 Date: Mon, 1 Jun 2015 13:40:11 +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 01/34] powerpc/eeh/ioda2: Use device::iommu_group to check IOMMU group Message-ID: <20150601034011.GC22789@voom.redhat.com> References: <1432889098-22924-1-git-send-email-aik@ozlabs.ru> <1432889098-22924-2-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <1432889098-22924-2-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: 2088 Lines: 53 --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 29, 2015 at 06:44:25PM +1000, Alexey Kardashevskiy wrote: > This relies on the fact that a PCI device always has an IOMMU table > which may not be the case when we get dynamic DMA windows so > let's use more reliable check for IOMMU group here. >=20 > As we do not rely on the table presence here, remove the workaround > from pnv_pci_ioda2_set_bypass(); also remove the @add_to_iommu_group > parameter from pnv_ioda_setup_bus_dma(). >=20 > Signed-off-by: Alexey Kardashevskiy > Acked-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 --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVa9QbAAoJEGw4ysog2bOSTpUQAJ6NA6yYXR4xY5xunMuxQuFa IpqJM9NxHWzNhMVNFxajzG7SOrOMzAN341fRE4/bmQAWDwdJC3bNEb8m7pTjwR+Y m/+qNz6r1YrOrGZK7XYkPQkBZF46RBjET9oQ6BIdTYCwNQBKmHQNTmHXgyuGsLnL LHsqpJdJpNqz37NYzr1WRnEu5ulZkXX3qbY6l8aSfwOqbht5f3IYOaeRyq/NF/Ur ueka4Mj9BEcMPzoC5PotF8eHhSN9Vquxp2QMSh5YAjN1Su/N71R3F6ePMtedvdJz /G7b6zQ8sAQWm/JsSsJElwEN39melWrd2P+mCIUbaUroThmOkQDXJX5ECHunpt0r iVYwIV1fgUS4NwQk5FOR7+BqDzjIWKvN6Kk0/L7zIoNkuQjEQq0DUtCoVDld9ce7 rvq2IHOw0qcEkBPKxNKrD0teolgyzX/EYi6gZ4cnH7OyXCWfO78dTFKkZBM7iOXs EbYDF3sZQS65EkpTCCw7Qzeo83HpOh+w9psUxWFVtbp+KTsX5mS8MpwPpUfaj2MZ xcqotlyl7hHXoxgYaXd3/q+/CNKYdl7z89N4OS0HPKyLzqFP7xa7Uya9HRXyiPqN /D3dWXBqUgDNlJ/hOuLRTSjvdDZvlIktlHY/2aAPEpiEenJB6Ys6SBUBLcgWZQip rBFwS19HND8GiqFpBl/v =jtpU -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS-- -- 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/