From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh8pX-0006Kh-8s for qemu-devel@nongnu.org; Tue, 06 Sep 2016 01:21:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bh8pT-00008k-T6 for qemu-devel@nongnu.org; Tue, 06 Sep 2016 01:21:55 -0400 Received: from ozlabs.org ([103.22.144.67]:40256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bh8pT-00007l-Hq for qemu-devel@nongnu.org; Tue, 06 Sep 2016 01:21:51 -0400 Date: Tue, 6 Sep 2016 15:06:17 +1000 From: David Gibson Message-ID: <20160906050617.GB16479@voom.fritz.box> References: <1473060081-17835-1-git-send-email-peterx@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kORqDWCi7qDJ0mEj" Content-Disposition: inline In-Reply-To: <1473060081-17835-1-git-send-email-peterx@redhat.com> Subject: Re: [Qemu-devel] [PATCH 0/3] memory: add IOMMU notifier type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Xu Cc: qemu-devel@nongnu.org, mst@redhat.com, jasowang@redhat.com, vkaplans@redhat.com, alex.williamson@redhat.com, wexu@redhat.com, pbonzini@redhat.com, cornelia.huck@de.ibm.com, dgibson@redhat.com --kORqDWCi7qDJ0mEj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 05, 2016 at 03:21:18PM +0800, Peter Xu wrote: > In the thread: >=20 > https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg00254.html >=20 > Alex proposed a way for vhost DMAR to be enabled without breaking > existing protections on vIOMMU and device assignments. This series > tried to implement the idea, by introducing a IOMMU notifier type for > each IOMMU memory region. Hrm, I'm pretty dubious about this concept, since it's basically just an interim hack for an incomplete notifier implementation on x86. What makes just fixing the notifier so difficult? >=20 > Thanks, >=20 > Peter Xu (3): > memory: add one flag for IOMMU notifier > memory: add iommu_notify_flag > intel_iommu: allow IOMMU_NONE typed notifiers >=20 > hw/i386/intel_iommu.c | 13 ++++++++----- > hw/ppc/spapr_iommu.c | 5 +++-- > hw/s390x/s390-pci-inst.c | 2 +- > hw/vfio/common.c | 3 ++- > include/exec/memory.h | 14 +++++++++++--- > memory.c | 12 +++++++++--- > 6 files changed, 34 insertions(+), 15 deletions(-) >=20 --=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 --kORqDWCi7qDJ0mEj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJXzk7JAAoJEGw4ysog2bOSQlUP/RNRs82TwDHnofhsPjicqwp9 LYGcro+16TvsdxxE6bemjvPE2ZFPcQAp0qvz4bPOyLXIPfGL4jPb/1Ewxl1IWaLJ uGVrjYrgCGgLWmurEhGZ7Fb0TrJQ8OYCQAP2r8LchEWTItbfmPPj2YBkp+E3/g0X Dx+lirPZBA0qNmin6f6yTrG8xh8XqHDkWWmst2gnvvDopTppEYmRz0cL1t/l90Nl u9Bg8ebb0XZDrbnNpg01OwpnSicTDdJEoTqhhl2f4WHIC8xZakWgiWHKREhaa4lI IZ5CjTCi8ZSKwYueHBmDJ/QQeBW8MXuMtyYaDloTGJwwwGPBW3Hgm5F1ISUL9Lnb R+Ie5K9s8vva4xwh1ceszlYWHxO0LoH87s/k/DsDUwG5otaHjCUHJncgb8a7+Qgx cBMmvBt0Wz1MwDwpu196X0gfjdP0wDxgo6teqJ5ErJUaFMIkgqn0D3ED0RfCrtD1 RbKnGEk5emoLOnHjJ8PztSMBSDv7wCK+nqcW/gj+M1UFTUFCFtNttW3juD1yARxD wYCiWDMTkGlaGMltSsBnf4Z5Xnq9desS8+AbgWGwg7olgFrbESpXkRaPJmKj9E6F 6wtmJo03cqGtQb28WcKCCfYcOO2CNX8Pso619WtZiyOR/H6EJ/eOyCf7J25DvRRH QknbjrI2qeHND+xKjrt1 =VKn0 -----END PGP SIGNATURE----- --kORqDWCi7qDJ0mEj--