From: "joro@8bytes.org" <joro@8bytes.org> To: "Tian, Kevin" <kevin.tian@intel.com> Cc: Jason Wang <jasowang@redhat.com>, "Liu, Yi L" <yi.l.liu@intel.com>, "alex.williamson@redhat.com" <alex.williamson@redhat.com>, "eric.auger@redhat.com" <eric.auger@redhat.com>, "baolu.lu@linux.intel.com" <baolu.lu@linux.intel.com>, "jacob.jun.pan@linux.intel.com" <jacob.jun.pan@linux.intel.com>, "Raj, Ashok" <ashok.raj@intel.com>, "Tian, Jun J" <jun.j.tian@intel.com>, "Sun, Yi Y" <yi.y.sun@intel.com>, "jean-philippe@linaro.org" <jean-philippe@linaro.org>, "peterx@redhat.com" <peterx@redhat.com>, "Wu, Hao" <hao.wu@intel.com>, "stefanha@gmail.com" <stefanha@gmail.com>, "iommu@lists.linux-foundation.org" <iommu@lists.linux-foundation.org>, "kvm@vger.kernel.org" <kvm@vger.kernel.org>, Jason Gunthorpe <jgg@nvidia.com>, "Michael S. Tsirkin" <mst@redhat.com> Subject: Re: (proposal) RE: [PATCH v7 00/16] vfio: expose virtual Shared Virtual Addressing to VMs Date: Tue, 3 Nov 2020 10:52:09 +0100 [thread overview] Message-ID: <20201103095208.GA22888@8bytes.org> (raw) In-Reply-To: <MWHPR11MB1645CFB0C594933E92A844AC8C070@MWHPR11MB1645.namprd11.prod.outlook.com> On Mon, Oct 12, 2020 at 08:38:54AM +0000, Tian, Kevin wrote: > > From: Jason Wang <jasowang@redhat.com> > > Jason suggest something like /dev/sva. There will be a lot of other > > subsystems that could benefit from this (e.g vDPA). Honestly, I fail to see the benefit of offloading these IOMMU specific setup tasks to user-space. The ways PASID and the device partitioning it allows are used are very device specific. A GPU will be partitioned completly different than a network card. So the device drivers should use the (v)SVA APIs to setup the partitioning in a way which makes sense for the device. And VFIO is of course a user by itself, as it allows assigning device partitions to guests. Or even allow assigning complete devices and allow the guests to partition it themselfes. So having said this, what is the benefit of exposing those SVA internals to user-space? Regards, Joerg
WARNING: multiple messages have this Message-ID (diff)
From: "joro@8bytes.org" <joro@8bytes.org> To: "Tian, Kevin" <kevin.tian@intel.com> Cc: "jean-philippe@linaro.org" <jean-philippe@linaro.org>, "Raj, Ashok" <ashok.raj@intel.com>, "kvm@vger.kernel.org" <kvm@vger.kernel.org>, "iommu@lists.linux-foundation.org" <iommu@lists.linux-foundation.org>, "stefanha@gmail.com" <stefanha@gmail.com>, Jason Wang <jasowang@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, "Sun, Yi Y" <yi.y.sun@intel.com>, "alex.williamson@redhat.com" <alex.williamson@redhat.com>, Jason Gunthorpe <jgg@nvidia.com>, "Wu, Hao" <hao.wu@intel.com>, "Tian, Jun J" <jun.j.tian@intel.com> Subject: Re: (proposal) RE: [PATCH v7 00/16] vfio: expose virtual Shared Virtual Addressing to VMs Date: Tue, 3 Nov 2020 10:52:09 +0100 [thread overview] Message-ID: <20201103095208.GA22888@8bytes.org> (raw) In-Reply-To: <MWHPR11MB1645CFB0C594933E92A844AC8C070@MWHPR11MB1645.namprd11.prod.outlook.com> On Mon, Oct 12, 2020 at 08:38:54AM +0000, Tian, Kevin wrote: > > From: Jason Wang <jasowang@redhat.com> > > Jason suggest something like /dev/sva. There will be a lot of other > > subsystems that could benefit from this (e.g vDPA). Honestly, I fail to see the benefit of offloading these IOMMU specific setup tasks to user-space. The ways PASID and the device partitioning it allows are used are very device specific. A GPU will be partitioned completly different than a network card. So the device drivers should use the (v)SVA APIs to setup the partitioning in a way which makes sense for the device. And VFIO is of course a user by itself, as it allows assigning device partitions to guests. Or even allow assigning complete devices and allow the guests to partition it themselfes. So having said this, what is the benefit of exposing those SVA internals to user-space? Regards, Joerg _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu
next prev parent reply other threads:[~2020-11-03 9:52 UTC|newest] Thread overview: 110+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-10-12 8:38 (proposal) RE: [PATCH v7 00/16] vfio: expose virtual Shared Virtual Addressing to VMs Tian, Kevin 2020-10-12 8:38 ` Tian, Kevin 2020-10-13 6:22 ` Jason Wang 2020-10-13 6:22 ` Jason Wang 2020-10-14 3:08 ` Tian, Kevin 2020-10-14 3:08 ` Tian, Kevin 2020-10-14 23:10 ` Alex Williamson 2020-10-14 23:10 ` Alex Williamson 2020-10-15 7:02 ` Jason Wang 2020-10-15 7:02 ` Jason Wang 2020-10-15 6:52 ` Jason Wang 2020-10-15 6:52 ` Jason Wang 2020-10-15 7:58 ` Tian, Kevin 2020-10-15 7:58 ` Tian, Kevin 2020-10-15 8:40 ` Jason Wang 2020-10-15 8:40 ` Jason Wang 2020-10-15 10:14 ` Liu, Yi L 2020-10-15 10:14 ` Liu, Yi L 2020-10-20 6:18 ` Jason Wang 2020-10-20 6:18 ` Jason Wang 2020-10-20 8:19 ` Liu, Yi L 2020-10-20 8:19 ` Liu, Yi L 2020-10-20 9:19 ` Jason Wang 2020-10-20 9:19 ` Jason Wang 2020-10-20 9:40 ` Liu, Yi L 2020-10-20 9:40 ` Liu, Yi L 2020-10-20 13:54 ` Jason Gunthorpe 2020-10-20 13:54 ` Jason Gunthorpe 2020-10-20 14:00 ` Liu, Yi L 2020-10-20 14:00 ` Liu, Yi L 2020-10-20 14:05 ` Jason Gunthorpe 2020-10-20 14:05 ` Jason Gunthorpe 2020-10-20 14:09 ` Liu, Yi L 2020-10-20 14:09 ` Liu, Yi L 2020-10-13 10:27 ` Jean-Philippe Brucker 2020-10-13 10:27 ` Jean-Philippe Brucker 2020-10-14 2:11 ` Tian, Kevin 2020-10-14 2:11 ` Tian, Kevin 2020-10-14 3:16 ` Tian, Kevin 2020-10-14 3:16 ` Tian, Kevin 2020-10-16 15:36 ` Jason Gunthorpe 2020-10-16 15:36 ` Jason Gunthorpe 2020-10-19 8:39 ` Liu, Yi L 2020-10-19 8:39 ` Liu, Yi L 2020-10-19 14:25 ` Jason Gunthorpe 2020-10-19 14:25 ` Jason Gunthorpe 2020-10-20 10:21 ` Liu, Yi L 2020-10-20 10:21 ` Liu, Yi L 2020-10-20 14:02 ` Jason Gunthorpe 2020-10-20 14:02 ` Jason Gunthorpe 2020-10-20 14:19 ` Liu, Yi L 2020-10-20 14:19 ` Liu, Yi L 2020-10-21 2:21 ` Jason Wang 2020-10-21 2:21 ` Jason Wang 2020-10-20 16:24 ` Raj, Ashok 2020-10-20 16:24 ` Raj, Ashok 2020-10-20 17:03 ` Jason Gunthorpe 2020-10-20 17:03 ` Jason Gunthorpe 2020-10-20 19:51 ` Raj, Ashok 2020-10-20 19:51 ` Raj, Ashok 2020-10-20 19:55 ` Jason Gunthorpe 2020-10-20 19:55 ` Jason Gunthorpe 2020-10-20 20:08 ` Raj, Ashok 2020-10-20 20:08 ` Raj, Ashok 2020-10-20 20:14 ` Jason Gunthorpe 2020-10-20 20:14 ` Jason Gunthorpe 2020-10-20 20:27 ` Raj, Ashok 2020-10-20 20:27 ` Raj, Ashok 2020-10-21 11:48 ` Jason Gunthorpe 2020-10-21 11:48 ` Jason Gunthorpe 2020-10-21 17:51 ` Raj, Ashok 2020-10-21 17:51 ` Raj, Ashok 2020-10-21 18:24 ` Jason Gunthorpe 2020-10-21 18:24 ` Jason Gunthorpe 2020-10-21 20:03 ` Raj, Ashok 2020-10-21 20:03 ` Raj, Ashok 2020-10-21 23:32 ` Jason Gunthorpe 2020-10-21 23:32 ` Jason Gunthorpe 2020-10-21 23:53 ` Raj, Ashok 2020-10-21 23:53 ` Raj, Ashok 2020-10-22 2:55 ` Jason Wang 2020-10-22 2:55 ` Jason Wang 2020-10-22 3:54 ` Liu, Yi L 2020-10-22 3:54 ` Liu, Yi L 2020-10-22 4:38 ` Jason Wang 2020-10-22 4:38 ` Jason Wang 2020-11-03 9:52 ` joro [this message] 2020-11-03 9:52 ` joro 2020-11-03 12:56 ` Jason Gunthorpe 2020-11-03 12:56 ` Jason Gunthorpe 2020-11-03 13:18 ` joro 2020-11-03 13:18 ` joro 2020-11-03 13:23 ` Jason Gunthorpe 2020-11-03 13:23 ` Jason Gunthorpe 2020-11-03 14:03 ` joro 2020-11-03 14:03 ` joro 2020-11-03 14:06 ` Jason Gunthorpe 2020-11-03 14:06 ` Jason Gunthorpe 2020-11-03 14:35 ` joro 2020-11-03 14:35 ` joro 2020-11-03 15:22 ` Jason Gunthorpe 2020-11-03 15:22 ` Jason Gunthorpe 2020-11-03 16:55 ` joro 2020-11-03 16:55 ` joro 2020-11-03 17:48 ` Jason Gunthorpe 2020-11-03 17:48 ` Jason Gunthorpe 2020-11-03 19:14 ` joro 2020-11-03 19:14 ` joro 2020-11-04 19:29 ` Jason Gunthorpe 2020-11-04 19:29 ` Jason Gunthorpe
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20201103095208.GA22888@8bytes.org \ --to=joro@8bytes.org \ --cc=alex.williamson@redhat.com \ --cc=ashok.raj@intel.com \ --cc=baolu.lu@linux.intel.com \ --cc=eric.auger@redhat.com \ --cc=hao.wu@intel.com \ --cc=iommu@lists.linux-foundation.org \ --cc=jacob.jun.pan@linux.intel.com \ --cc=jasowang@redhat.com \ --cc=jean-philippe@linaro.org \ --cc=jgg@nvidia.com \ --cc=jun.j.tian@intel.com \ --cc=kevin.tian@intel.com \ --cc=kvm@vger.kernel.org \ --cc=mst@redhat.com \ --cc=peterx@redhat.com \ --cc=stefanha@gmail.com \ --cc=yi.l.liu@intel.com \ --cc=yi.y.sun@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.