iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
To: iommu@lists.linux-foundation.org, kvm@vger.kernel.org,
	virtualization@lists.linux-foundation.org,
	virtio-dev@lists.oasis-open.org
Cc: will.deacon@arm.com, robin.murphy@arm.com,
	lorenzo.pieralisi@arm.com, mst@redhat.com, jasowang@redhat.com,
	marc.zyngier@arm.com, eric.auger@redhat.com,
	eric.auger.pro@gmail.com, bharat.bhushan@nxp.com,
	peterx@redhat.com, kevin.tian@intel.com
Subject: Re: [RFC] virtio-iommu version 0.4
Date: Wed, 23 Aug 2017 11:01:11 +0100	[thread overview]
Message-ID: <5be484ff-6a1a-6c9b-947c-f64ea23f58cc@arm.com> (raw)
In-Reply-To: <20170804181927.12148-1-jean-philippe.brucker@arm.com>

On 04/08/17 19:19, Jean-Philippe Brucker wrote:
> Other extensions are in preparation. I won't detail them here because v0.4
> already is a lot to digest, but in short, building on top of PROBE:
> 
> * First, since the IOMMU is paravirtualized, the device can expose some
>   properties of the physical topology to the guest, and let it allocate
>   resources more efficiently. For example, when the virtio-iommu manages
>   both physical and emulated endpoints, with different underlying IOMMUs,
>   we now have a way to describe multiple page and block granularities,
>   instead of forcing the guest to use the most restricted one for all
>   endpoints. This will most likely be in v0.5.

In order to extend requests with PASIDs and (later) nested mode, I intend
to rename "address_space" field to "domain", since it is a lot more
precise about what the field is referring to and the current name would
make these extensions confusing. Please find the rationale at [1].
"ioasid_bits" will be "domain_bits" and "VIRTIO_IOMMU_F_IOASID_BITS" will
be "VIRTIO_IOMMU_F_DOMAIN_BITS".

For those that had time to read this version, do you have other comments
and suggestions about v0.4? Otherwise it is the only update I have for
v0.5 (along with fine-grained address range and page size properties from
the quoted text) and I will send it soon.

In particular, please tell me now if you see the need for other
destructive changes like this one. They will be impossible to introduce
once a driver or device is upstream.

Thanks,
Jean

[1] https://www.spinics.net/lists/kvm/msg154573.html

  parent reply	other threads:[~2017-08-23 10:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-04 18:19 [RFC] virtio-iommu version 0.4 Jean-Philippe Brucker
2017-08-04 18:19 ` [RFC] virtio-iommu v0.4 - IOMMU Device Jean-Philippe Brucker
2017-08-04 18:19 ` [RFC] virtio-iommu v0.4 - Implementation notes Jean-Philippe Brucker
2017-08-14  8:27 ` [RFC] virtio-iommu version 0.4 Tian, Kevin
     [not found]   ` <AADFC41AFE54684AB9EE6CBC0274A5D190D7173C-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2017-08-14  9:38     ` Jean-Philippe Brucker
2017-08-16  4:08 ` [virtio-dev] " Adam Tao
2017-08-17 10:12   ` Jean-Philippe Brucker
     [not found]     ` <a2e573f3-bdfb-b5e5-7835-a7597abd48f5-5wv7dgnIgG8@public.gmane.org>
2017-08-17 11:27       ` Bharat Bhushan
2017-08-23 10:01 ` Jean-Philippe Brucker [this message]
2017-08-28  7:39   ` Tian, Kevin
2017-09-06 11:54     ` Jean-Philippe Brucker
2017-09-21  6:27       ` Tian, Kevin
2017-09-25 13:32         ` [virtio-dev] " Jean-Philippe Brucker
2017-08-23 13:55 ` Auger Eric
     [not found]   ` <f9b02ce1-057f-df4f-90d7-52616ad60b88-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-09-06 11:48     ` [virtio-dev] " Jean-Philippe Brucker
2017-09-21  6:41       ` Tian, Kevin
     [not found]         ` <AADFC41AFE54684AB9EE6CBC0274A5D190DDD022-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2017-09-25 13:47           ` [virtio-dev] " Jean-Philippe Brucker
2017-09-12 17:13 ` Auger Eric
     [not found]   ` <072f5a14-baae-57a9-9c5b-b93163c67075-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-09-13  3:47     ` Bharat Bhushan
2017-09-19 10:47   ` Jean-Philippe Brucker
2017-09-20  9:37     ` Auger Eric
2017-09-21 10:29       ` Jean-Philippe Brucker
2017-10-03 13:04 ` Auger Eric
     [not found]   ` <0e0db2c0-86bc-a76a-05bd-0b41e00ba926-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-10-09 19:46     ` [virtio-dev] " Jean-Philippe Brucker

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=5be484ff-6a1a-6c9b-947c-f64ea23f58cc@arm.com \
    --to=jean-philippe.brucker@arm.com \
    --cc=bharat.bhushan@nxp.com \
    --cc=eric.auger.pro@gmail.com \
    --cc=eric.auger@redhat.com \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jasowang@redhat.com \
    --cc=kevin.tian@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=marc.zyngier@arm.com \
    --cc=mst@redhat.com \
    --cc=peterx@redhat.com \
    --cc=robin.murphy@arm.com \
    --cc=virtio-dev@lists.oasis-open.org \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=will.deacon@arm.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).