Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751529AbbFPEDl (ORCPT ); Tue, 16 Jun 2015 00:03:41 -0400 Received: from ozlabs.org ([103.22.144.67]:36316 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbbFPEDc (ORCPT ); Tue, 16 Jun 2015 00:03:32 -0400 Date: Tue, 16 Jun 2015 13:40:34 +1000 From: David Gibson To: Alexey Kardashevskiy Cc: linuxppc-dev@lists.ozlabs.org, Gavin Shan , Michael Ellerman , Paul Mackerras , linux-kernel@vger.kernel.org Subject: Re: [PATCH kernel] powerpc/iommu/ioda2: Enable compile with IOV=on and IOMMU_API=off Message-ID: <20150616034034.GM13352@voom.redhat.com> References: <1434354599-22659-1-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RXc6EO4W1yUvSQ0X" Content-Disposition: inline In-Reply-To: <1434354599-22659-1-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: 2043 Lines: 52 --RXc6EO4W1yUvSQ0X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 15, 2015 at 05:49:59PM +1000, Alexey Kardashevskiy wrote: > The pnv_pci_ioda2_unset_window() function is used to do the final > cleanup of a DMA window being released: > - via VFIO ioctl by the guest request; > - via unplugging a virtual PCI function. > However the function was under #ifdef CONFIG_IOMMU_API and was missing. >=20 > This moves the helper outside of IOMMU_API block and enables it > for either or both IOMMU_API and PCI_IOV. >=20 > Signed-off-by: Alexey Kardashevskiy 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 --RXc6EO4W1yUvSQ0X Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVf5qyAAoJEGw4ysog2bOSh7YP/0QOuhCoRbC+7PflbluizBcY ubMm9Ty1/2hruKAwf+qZ4FTAlyJDNgeRcD4TfrsiGgdpZ88L9CT1WyiOvtIHDUvt FJflDtDuCrkDIhs9Mb+todeoHD7QPySl0ztRJWOu+jqBEWyM+xcoJJgCtJMssUyw op1ds9g4K1CuTUuDDzIBsR4sYlfWnHlI6YLal4CDMVYkmAg94kM2r2zQ8T+Eszwc GtbiHvjMWk2MVKgCbJVigWlxTUvqThn5vWWPOWPbu1WquVBFYnDDXwOFlKdDGy9x evgD6vbSfm8/aVqORxLV4ClUWFhKIKzOHLczSVLejaRRsmmXzgj2MzS1JbrKRzod fOaluLqcDcGI3gQ0P/6wn3EO4Z6iYYrI3ZKm8lgK/wWyvz97QTnKpNmorCVav6Vd oH8wXskkwbnDN7q2owG7bjoU7Pyz2CBjw75Jl5GudilgI+fl8Ei0d2vXM9irM3Hg DK1yfwu2vPTkT7d3LUcz2SLL9i7BWPIMsSD6zlYh1haBNA2kzgETHkCEqAiObHkf +jCdOZtdynCHsIlX/ToaL/f1sxoPmKK/INaAl2xJZcGjUyXs6nXelnMBdkpmSMxM VsO3CdtLU8OHPdSO6XnfIlRcaB6/OE30sA+y/7bH0pzX29M5ACsycBVJEaGbNwpd Lg7ANVUF3haWPo8TBpx/ =db1u -----END PGP SIGNATURE----- --RXc6EO4W1yUvSQ0X-- -- 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/