Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757847AbbFQHZQ (ORCPT ); Wed, 17 Jun 2015 03:25:16 -0400 Received: from ozlabs.org ([103.22.144.67]:58155 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753489AbbFQHZL (ORCPT ); Wed, 17 Jun 2015 03:25:11 -0400 Date: Wed, 17 Jun 2015 17:05:18 +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: <20150617070518.GW13352@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="2NVUe83uzBILE3UT" 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: 2044 Lines: 53 --2NVUe83uzBILE3UT 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 --2NVUe83uzBILE3UT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVgRwuAAoJEGw4ysog2bOSMlwQAM/57KFPz2c/RTWmEm7IVbsw 9pyHU11tGbjfkpXz5qhhn8NWlGGscM89rQYtMrmDbnE8jxUq0TcDucW3ie3s2eUo qf4J8aGZ9zlOga/xon4nCKSZs3MSfPUkdTfWm/68jUy6cwQCAt0PplHCgCpBRhtW C1KFYma7Q/977JZJ09Z+Tytfq4YMbAN0qfI9gLxVs9A9wp/oS6SVbPd9SkJTnWLR gdU6MhwOoE53ChFIoqnM3sB71v+fxQZM6dliIaR4EOQ/WIWgk+eQ5zF4Le1vA3QT xiZMWj7KYWLXxARrRFbTqwvHCmSKjOr4vMsbHOY+ZiOrRDQ93ao7ikoWuQcsgUYb fXG4smSngw07pEResaRd5ok5l43Cei3uv8BX3Gs9fXk/RYYk2fP4dbHKkgqqzsCA FqI/CSRa4ZK/33UR4QeF+mytWX3Z9sQPSbRm907lRGZGkZyQzq+YMNqQCyeCYcnx zcSkH/y7ElGNRX9NoeaSfaijmzOSwwwYcDxh/6g4N6ZN/sLix6OIxy04D8/6WWsb HXgbTA1NBoSSHmEaV0wh8tDztpbh77bc9HkkOmid72W1CqSeAkPJnIOdiV14mqXy ZvGv+4Kk4MgvvEWozMElePcHYuDlgIzM0xG7mRXs9hdIB6hbmS485LSTcSfUCdMR 64ZuIB0wR+mPnCCENcLU =Lp7z -----END PGP SIGNATURE----- --2NVUe83uzBILE3UT-- -- 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/