From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z6t3o-00020d-5k for qemu-devel@nongnu.org; Mon, 22 Jun 2015 00:10:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z6t3n-000835-2T for qemu-devel@nongnu.org; Mon, 22 Jun 2015 00:10:16 -0400 Date: Mon, 22 Jun 2015 13:51:28 +1000 From: David Gibson Message-ID: <20150622035128.GR13352@voom.redhat.com> References: <1434627456-13745-1-git-send-email-aik@ozlabs.ru> <1434627456-13745-8-git-send-email-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gvMLM4USzlj3SVKc" Content-Disposition: inline In-Reply-To: <1434627456-13745-8-git-send-email-aik@ozlabs.ru> Subject: Re: [Qemu-devel] [PATCH qemu v8 07/14] spapr_iommu: Remove vfio_accel flag from sPAPRTCETable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: Alex Williamson , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Gavin Shan , Alexander Graf --gvMLM4USzlj3SVKc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 18, 2015 at 09:37:29PM +1000, Alexey Kardashevskiy wrote: > sPAPRTCETable has a vfio_accel flag which is passed to > kvmppc_create_spapr_tce() and controls whether to create a guest view > table in KVM as this depends on the host kernel ability to accelerate > H_PUT_TCE for VFIO devices. We would set this flag at the moment > when sPAPRTCETable is created in spapr_tce_new_table() and > use when the table is allocated in spapr_tce_table_realize(). >=20 > Now we explicitly enable/disable DMA windows via spapr_tce_table_enable() > and spapr_tce_table_disable() and can pass this flag directly without > caching it in sPAPRTCETable. >=20 > This removes the flag. This should cause no behavioural change. >=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 --gvMLM4USzlj3SVKc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVh4ZAAAoJEGw4ysog2bOSpQ8QAJxcy3RHYdM5L0IB9KraMSyE ejDvmF/vwvT6TWWPLg3xkLiSk0ENviVKJAZesO6lLy002jh9x/SzfPFb7i4+HMis D5hTwA9Ap+17J2vF+TreMz+50qxnGlnnU6jHvq54QWa3SiQZqvZvM7Q0kkZlwg3q WhbBgFtdJ8SV+WluAuq4/DjEawOkPnFXtDGAz6FkWyTQcilR3KV8nXPmeCi/2Uuh CgypD/yTvgisQzMCKKk9WwIx5tIMMN9qo0AJejWDVhy6YjAtrv0VmmUGs6O6Z+3c Ma+r9blnZNkwlZqZ44FwpZut99JMEZReiGqU80y9Lj4gviflFudxWRxdZlC2ypq5 lj65vJpO1PcT9K8gzUvEeEzRv9+7o7R27HFwO+LTG+8P9k5O5DhBJCjo/gKZkV8J w06CkNH7zknNXYvtC84Mza2fOW//IkfSY9TbSpp6wRfQ6ynhKncG3wtJaB817Vtc Q/lDqti3vY++VedRGZCvy9vYhJ3IFJ7BVw2QjFFjQNhcvvHWFo10wX6Z+oP4hkqa 9Gpy3z5bUIrp+jsNl5yzjBh9u3QCDqPg1JFH+hkU9zz/f+4/tqMgfuIOVuLZkrt/ BJDaFTFc5cSdzNd5173EdsInG3dsvsZCYrBOlSUmBQM4DW4puXmk7QpdQw4K8se4 CF7gFH5yHzjDK7mjpPy2 =hLHo -----END PGP SIGNATURE----- --gvMLM4USzlj3SVKc--